 Research
 Open Access
 Published:
BAMSE: Bayesian model selection for tumor phylogeny inference among multiple samples
BMC Bioinformatics volume 20, Article number: 282 (2019)
Abstract
Background
Intratumor heterogeneity is known to contribute to cancer complexity and drug resistance. Understanding the number of distinct subclones and the evolutionary relationships between them is scientifically and clinically very important and still a challenging problem.
Results
In this paper, we present BAMSE (BAyesian Model Selection for tumor Evolution), a new probabilistic method for inferring subclonal history and lineage tree reconstruction of heterogeneous tumor samples. BAMSE uses somatic mutation read counts as input and can leverage multiple tumor samples accurately and efficiently. In the first step, possible clusterings of mutations into subclones are scored and a user defined number are selected for further analysis. In the next step, for each of these candidates, a list of trees describing the evolutionary relationships between the subclones is generated. These trees are sorted by their posterior probability. The posterior probability is calculated using a Bayesian model that integrates prior belief about the number of subclones, the composition of the tumor and the process of subclonal evolution. BAMSE also takes the sequencing error into account. We benchmarked BAMSE against state of the art software using simulated datasets.
Conclusions
In this work we developed a flexible and fast software to reconstruct the history of a tumor’s subclonal evolution using somatic mutation read counts across multiple samples. BAMSE software is implemented in Python and is available open source under GNU GLPv3 at https://github.com/HoseinT/BAMSE.
Background
In his seminal paper, Peter Nowell [1] proposed the clonal evolution theorem. He hypothesized that single tumors consist of subclones with distinct genetic makeup, all descending from an initiating cancerous founder cell. These subclones are subject to Darwinian evolution in their environment. i.e. they may expand with rapid cell divisions, new subclones appear as mutations accumulate in earlier ones and subclones may vanish as a result of competition with each other. With the advent of costeffective and massively parallel DNA sequencing technologies, tumor genomes and often their matched normal genomes are now being sequenced routinely. Quantifying distinct subclones in a tumor and their genetic composition has been shown to be of clinical value in several recent studies. (e.g. [2, 3]). Having robust, fast and scalable automated methods for inferring clonality in tumor samples is, thus, extremely valuable.
Although singlecell sequencing (SCS) is gaining popularity in recent years, the vast majority of cancer sequencing experiments are still performed on bulk samples which are indeed mixtures of a large number of cells. This is because (a) SCS experiments are expensive and still not feasible for large scale highthroughput screenings, and (b) SCS library preparation is complex and often introduces a highlevel of noise and missing signals.
Bulk tumor DNA sequencing and subsequent downstream analyses (e.g. variant calling) help us measure somatic variations in tumor samples. These somatic variations can be in the form of single nucleotide variants (SNV), insertions or deletions (Indels), copy number variations (CNVs) or complex structural variations (SVs). Similar to several recent studies that aim to quantify tumor evolution [4–9], we also focus on SNVs, primarily because it is the class of somatic variants that can be measured relatively in a robust way, using the current technology. Using standard shortread sequencing, the number of reads supporting the reference allele and the number of those supporting the variant allele at each somatic variant locus, gives us an estimate on the variant allele fraction (VAF) of each somatic SNV. Given these measurements (i.e. the variant allele fraction of each somatic SNV in each of the given samples), the intratumor heterogeneity deconvolution problem is to infer the normal contamination, number of subclones and mutations falling in each of them, and reconstructing the tumor phylogeny relating these subclones.
Practically, a large number of possible combinations of valid tree topologies, along with the sequencing noise make this problem impossible to solve exactly and several variations of this problem have been computationally proven to be indeed NPhard [5, 10]. Several assumptions are often made to limit the solution space with biologically relevant constraints. The most popular constraint is the Infinite Site Assumption (ISA), where it is assumed that when a nucleotide (cite) is mutated, it will be extremely unlikely to mutate again. Thus, somatic mutations that are shared among different subclones must share a common ancestor in the underlying tumor phylogeney tree. This also means that an SNV in a subclone is present only in that subclone and the subclones descending from it. Other common assumptions are sparsity and shallowness [11]. Sparsity means favoring solutions that have unobserved subclones and shallowness is favoring the trees with lower depth. In this paper, we assume the ISA and use parameters in our model to control sparsity.
Existing computational tools proposed to solve the intratumor heterogeneity problem may output the most likely solution or a set of solutions. An overview of existing tools is available in [12, 13]. The procedure for these software packages usually includes these steps:

1.
The percentage of cells having each mutation is estimated: in the simplest form, assuming diploid genomes, twice the variant allele fraction (VAF) is used. If reliable copy number data from sequencing or microarray experiments are available, these data are used along with the read counts to estimate the fraction of cells having each of the mutation.

2.
The mutations are clustered based on similarities of their cellular prevalence, each cluster representing a subclone. Various clustering methods have been used in literature [4, 6, 9, 14].

3.
Normal contamination and evolutionary relationships are inferred using the estimated percentage of cells in each subclone: The highest prevalence in the subclones is considered to be the tumor content. Tree reconstruction algorithms are used to output possible trees topologies.
In this paper we propose a novel Bayesian model selection based tool, BAMSE, as a new powerful alternative to reconstruct tumor phylogenies and find the more probable tumor phylogeny when multiple heterogeneous samples are given.
We compared the performance of BAMSE with three stateofthearts software, LICHeE [4], Ancestree [10] and PASTRI [15] that are capable of handling multiple samples. LICHeE first groups subsets of somatic SNVs that have similar patterns of presence/absence as well as similar variant allele fractions (VAF) across samples. Then, it constructs a network, named as constrained network, which embeds all ancestral relationships among clusters of somatic SNVs. Finally, using a variation of spanning tree search algorithms, LICHeE identifies tumor phylogeny trees. Ancestree [10] formalizes the tumor phylogeny reconstruction problem as a matrix factorization problem (i.e. variant allele frequency factorization) and gives an ILP solution for it. Ancestree also uses a spanning tree search algorithm to make the method scalable and capable of handling noise. A very recent tool to address this problem, PASTRI [15] uses integration by importance sampling and also does not require an MCMC sampling. PASTRI marginalizes over cluster assignments but then has to use costlier integrations via importance sampling than our approach. PASTRI also depends on other clustering tools to obtain the number of subclones and the proposal distribution for importance sampling. While BAMSE goes for a builtin costlier clustering approach, it has an easier integration and is completely independent from other software.
Two other notable methods that deal with multiple samples are PhyloSub [6] and CITUP [7]. PhyloSub [6] uses a Bayesian nonparametric model and a Markov chain Monte Carlo (MCMC) sampling to solve this problem. The MCMC sampling part in PhyloSub makes the method slower than a combinatorial method such as LICHeE [4]. CITUP [7] uses an elegant exact Quadratic Integer Programming formulation to solve this problem, but does not leverage the read counts information. Similar to PhyloSub, our method BAMSE is probabilistic but does not require a computationally expensive MCMC sample. BAMSE can perform the MCMC sampling with much fewer parameters and converge faster, or alternatively BAMSE can just use a Kmeans based approach with no need of a computationally expensive MCMC sampling.
Our paper is organized as follows: the methods section describes our proposed model and method in detail. In the “” section, we test our method on synthetic and real tumor data sets and highlight why our method is superior to the existing tools. Finally, in the last section, we discuss the results and the advantage of our approach over existing tools.
Implementation
The Bayesian Model
We first explain the details of our model for the single sample scenario. We then show how to extend it for multiple samples.
Given N observed mutations in one tumor sample, we aim to score any given model for subclonal evolution of the tumor. A model \(\mathcal M\) first clusters the observed mutations into \(K_{\mathcal M}\) subclones labeled \(1,2,\dots, K_{\mathcal M}\) and then places each subclone on a corresponding node of a rooted labeled tree \(T_{\mathcal M}\). This tree describes the evolutionary relationships among subclones; if a node i is a child of another node j, it implies that the subclone i has evolved directly from the subclone j.
We use an integer vector \(\mathbf {c}_{\mathcal M}\) to denote the clustering for model \(\mathcal M\): \(c_{\mathcal M_{n}} = k\) simply means that the nth mutation is assigned to the kth subclone.
For model \(\mathcal M\) with K subclones, there are K parameters that define the fraction of cells for each subclone. Let u_{k} be the fraction of cells in subclone k and let f_{k} be the fraction of cells carrying mutations of subclone k. Because of ISA constraints, we have:
if we make a K×K binary matrix B where B_{i,j}=1 iff j is a descendant of i or is equal to i. we have:
Note that the above observation is equivalent to the formula derived in [10] to describe the relation between the subclone frequency F and subclone usage U. To place a prior over model parameters, we suppose that the subclone fractions u_{k} are drawn from a prior over inside the unit simplex (it is obvious that the sum \(\sum \nolimits _{k=1}^{K} u_{k}\) cannot exceed 1). The distribution may not necessarily be uniform as BAMSE can handle any prior whose distribution function is a multiplicatively separable function of u_{k}s. This is a small constraint as Dirichlet distribution, the only popular distribution over inside the unit simplex, is among the allowed priors. So the prior for subclone cellular fractions is:
As mentioned above, a model is a clustering of mutations followed by an arrangement of these clusters in a rooted tree. For Bayesian analysis, we need to define a prior distribution for such models. Here we use an extension of the Hierarchical Uniform Prior (HUP) of [16] for the purpose of clustering mutations into subclones. HUP places equal priors for each configuration of clustering N objects into K clusters. For example, with 5 objects and 3 clusters, there are two configurations: {3,1,1} and {2,2,1}. Of 25 ways to cluster five objects in three clusters, 10 are from the first configuration and 15 are from the second one. With HUP the priors are assigned such that the sum of prior probability for all clusterings of each configuration is indeed the same.
We use a similar approach for priors over trees. We design a prior over the set of labeled trees that assigns equal prior to unlabeled trees with the same number of nodes. For example with K=3, there are 9 labeled trees: 6 of them are linear and 3 are branching. As unlabeled configurations are to get equal priors, the prior probability for the 6 linear trees will be \(\frac {1}{12}\) and for the remaining tree it will be \(\frac {1}{6}\). If we had defined a uniform prior over the labeled trees, then the linear configuration would get twice as much probability as the branching topology.
Tree Structured Stick Breaking (TSSB) [17] is an extension of Dirichlet process prior into two dimensions (i.e. depth and breadth of the tree) and has been successfully used by Phylosub[6], PhyloWGS[14] and BitPhylogeny [18] for study of intratumor heterogeneity. While BAMSE can also work with TSSB, we avoid it here because we would not have equal prior over tree topologies.
For Bayesian model selection, we also need to compute the probability of observed data under each model. BAMSE just requires an explicit formula for the probability of observed data for each mutation n, given f_{n}, its cellular frequency. There are several model based formulas to compute this probability, each using the available information about read counts, sequencing error and copy number variations at the variant locus. For example, in a diploid genome without copy number variations, we can use the following formula for the probability of observing d total reads and v variant reads for a mutation present in fraction f of the cells:
Note that, there are more complex formulas that can also take copy number variations and overdispersion into account, while there are simpler methods that do not explicitly use the sequencing error. As long as there is an explicit formula for Pr(D_{n}f_{n}) relating data for each mutation n to its cellular frequency, BAMSE is easily applicable. With clustering mutations into subclones, we assume that the mutations in each subclone have the same frequency. Thus, given f_{k}, the probability of data for the mutations falling in subclone k is:
We can compute the model posterior as follows:
\(S_{\mathcal {M}}\) is the region where f_{1},f_{2},…,f_{k} are consistent with ISA constraints for model \(\mathcal {M}\), that is \(f_{k} \geq \sum \nolimits _{i \in children(k)} f_{i}\). Equation 1 was used to write the prior over u_{k}s as a function of f_{k}s. We noticed that the integrals in Eq. 6 can be calculated with a series of convolution and multiplication operations over the functions s_{k} ans p_{k}. This is because the integrand is a multiplication of univarate factors, and we can start with factors associated with leaf nodes and compute the integral working up the tree. An example is shown in Fig. 1. If function \(s_{k}^{*}\) is defined over [0,1] for each node k of the tree as:
where cumconv stands for cumulative convolution of elements in a set of functions, it is easily shown that \(\int _{0}^{1} I_{r}(f) df\) where r is the index of root node equals the integral in Eq. 6, as also shown in the example in Fig. 1.
BAMSE can take copy number variations (CNVs) into account by incorporating copy number information in the frequency probability distribution for mutations that fall within a CNV region. However, when CNVs are not present, we can make assumptions and approximations to make a faster inference. For example, if the logarithm of both s_{k} and p_{k} functions are concave, the logarithm of the likelihood function (the integrand in Eq. 6) is also concave and we use convex optimization to find the values for subclone fractions that maximize the likelihood function over the convex simplex defined by each tree. With formulas used here for s_{k}s and p_{k}s, it is easy to show that the logarithm of s_{k}s are always concave and the logarithm of the prior is concave when all the Dirichlet parameters are larger than one. CVXPY [19] is used for convex optimization in our implementation.
Multiple samples
Our analysis is easily extended to include multiple samples. For each model, the integral in Eq. 6 is computed for each sample separately, their cumulative product multiplied by the model prior is proportional to the multisamples posterior for that model.
Absencepresence of subclones in samples
With real tumor data, especially data including distant metastasis, each sample includes a subset of the subclones, and theres is a good chance that several subclones are absent in each sample. To account for this, we can use priors that allow sparsity for subclone fractions. A Dirichlet distribution with parameters smaller than one, or a modification of the Dirichlet distribution [20] can be used for this purpose.
Searching for good models
When N and K are small, we can indeed test all the models (i.e. combinations of partitioning N into K clusters and rooted labeled trees with K nodes). However, this is often impractical for real data sets. When there is no copy number variants (CNVs) along with Eq. 4, we propose a fast algorithm to find high probability models. We note that when there is no CNV, s_{k}(f) are unimodal and we can use Kmeans to find candidate high probability clusters. For each clustering of the mutations with K clusters, there are K^{K−1} models, and we can approximate average model posterior probability with \(I\frac {\text {\# unlabeled trees with K nodes}}{K^{K1}}\) where I is the integral of \(\prod s_{k}\) over the unit hypercube. BAMSE uses Kmeans clustering for a range of K (user defined, between 1 and 15 by default) and computes the approximate average probability for each one, then selects the three K with best average scores for the next step. In the next step, for each candidate k, Kmeans is ran multiple times and for each clustering, the posterior probability is computed. if K<6 we calculate the posterior for all trees, but for K≥6 we use Algorithm 1 to filter out high probability trees. The top models from this step are returned as output.
BAMSE uses the Algorithm 1 to find the trees with minimal violation of ISA constraints. Algorithm 1 takes the mean VAF for the clusters across samples, E_{k,m} and a threshold δ and finds all trees that the sum of ISA violations defined as \(\sum \nolimits _{m=1}^{M} \sum \nolimits _{k=1}^{K} min(0,E_{k,m}\sum \nolimits _{\mathrm {i} \in \textrm {children of k}} E_{i,m})\) is not less than δ. The algorithm starts with each cluster as the root node and generates all possible trees node by node. If no tree is found, the threshold is reduced.
Note that Kmeans with a range of values for K is used to propose starting points for Algorithm 1, so there are usually trees with different K present in the output.
Results
In this section, we used simulated and real data sets to highlight the performance of BAMSE.
Simulated data
BAMSE was benchmarked with Ancestree [10], LICHeE [4] and PASTRI [15]. The following three sets of simulations were considered:

1.
Varying number of subclones: 80 mutations in 3 samples with sequencing depth 500, varying the number of subclones between 6 and 10

2.
Varying number of samples: 80 mutations in 8 subclones with sequencing depth 500, varying the number of samples between 2 and 6

3.
Varying sequencing depth: 80 mutations in 8 subclones across 5 samples with sequencing depth in {300,500,700,900,1100}
Fifty simulations were run for each parameter setting. Four measures were used for the purpose of comparison:

1.
Subclone Fraction Squared Error: Sum elementwise squared error between the matrices U for ground truth and the solution.

2.
Correctly Inferred Relationships: The percentage correctly inferred evolutionary relationships between all pairs of mutations (coclustered, parentchild, ancestordescendant).

3.
Do Tree Structure Match?: Binary indicator for whether the tree in the solution is the same tree that was used to generate simulated data.

4.
Runtime Algorithm time to finish in seconds.
To generate simulated data, tree typology and clustering configuration were selected uniformly at random, cell fractions drawn from a uniform Dirichlet distribution and then read counts for each mutation were generated using Eq. 4. BAMSE was run with default parameters and without the absentpresent pattern. For LICHeE runs, parameters MaxVAFabsent and MinVAFpresent were set depending the coverage and error rate as outlined in the documentation. Ancestree was run with default settings and time limit of 1500s. Ancestree finished running or had a solution before that limit in all simulations. Sciclone [21] was used to generate proposal distributions for PASTRI. As Ancestree and LICHeE may drop some mutations in the solution, the mutations present in the output of all methods were used for benchmarking. The results are shown in Fig. 2.
LICHeE first clusters mutations based on their absentpresent pattern in the samples, so it best performs when there are more samples. Ancestree runs fast and accurately with a few samples, however the running time increases drastically when the number of samples increases, which makes it less scalable than BAMSE. For M=2 Ancestree runs in less than one second, while for just M=6, the algorithm is often terminated with the imposed time limit. As highlighted in the figures, BAMSE consistently performs best among other methods.
For the third measure (Do Tree Structure Match?) the results for BAMSE and PASTRI are shown. The results for the other tools were excluded because they are combinatorial and do not assume a uniform prior over unlabeled tree, and thus had much lower exact mach rate. In particular, LICHeE reports every single lineage tree that satisfy its evolutionary constraint and it would be hard to compare its results according to this measure.
The results show that BAMSE’s performance is not affected by the number of samples and is consistently very good. Another clear advantage of BAMSE is that it always gives better estimates of subclone fractions. This is because BAMSE solves an exact optimization problem in order to find the fractions, while Ancestree solves a linear approximation of the problem.
ccRCC Data
We also ran BAMSE on a real data set obtained from a study on clear cell renal cell carcinoma [22]. In this study, multiregion deep exome sequencing is used to detect somatic mutations and build the tumor phylogeny tree leveraging parsimony principles and extensive manual work. BAMSE could easily detect high probability models on this data. The results for patient EV005 of the study are shown in Fig. 3, while results of other patients are presented in the Supplemental Materials (see our GitHub repository). As can be seen in Fig. 3, the output of BAMSE and the tree reported in [22] are almost identical. The samples that are neighbors in the phylogenetic tree on left have more subclones in common. There are, however, a few notable differences. The tree reconstruction approach used in [22] considers samples as a whole or breaks them down into dominant and minor fractions and builds a tree, while BAMSE models the samples as sparse collections of subclones in the tumor that comply with ISA constraints. A visible difference in this case (EV005) is that BAMSE breaks the R6_{d}om subclone into two additional subclones with 18 and 63 percent cell fractions. When we checked the input read counts, the VAF for mutations observed only in R6 are 23,30,14,26,34,39,36,29,27,15,59,15,28,29,40,9,34,31 percent respectively. Using beta mixture regression analysis, These numbers further support the solution obtained by BAMSE, which clustered them into two distinct subclones (pvalue:0.046). Besides BAMSE has detected a subclone (F) with zero subclone utilization u.
Discussion
In this paper we introduced BAMSE, a novel method that uses Bayesian model selection to infer the evolutionary history of somatic mutations using single or multiple tumor samples form the same cancer patient.
BAMSE has advantages over current existing tools for deconvolution of tumor subclones. It directly uses read counts for the computations, where tools like LICHeE [4] or CITUP [7] just use the precomputed VAFs. BAMSE is indeed more scalable than methods such as [10, 14], whose running time substantially increases when the number of samples grows. PASTRI [15] is similar to BAMSE in the sense that it also uses integration over simplices and tests unlabeled trees. In contrast with our approach, PASTRI marginalizes over cluster assignments and then has to use costlier integrations via importance sampling. PASTRI also depends on other clustering tools and software, while BAMSE handles all procedures internally.
While in this paper we did not involve copy number variations for the sake of a fast approximate algorithm, in the presence of copy number variations, an MCMC based inference can be indeed used along with BAMSE. We plan to explore this in a feature work. For handling copy number variants, there are two key differences between potential additions to BAMSE and PhyloWGS: a) the prior used in these two methods and b) the variables they use for inference. BAMSE uses an extension of Hierarchical Uniform Prior assigning a uniform prior for all clustering and tree configurations with the same number of components, which is not the case with TSSB. Since usually we are looking for the topology of the infered trees, BAMSE’s prior is more suitable. Each Markov chain state in PhyloWGS includes variables for subclone frequency and these are updated using MetropolisHastings iterations with a Dirichlet distribution proposal. With BAMSE, these variables are integrated out and, thus, will lead to much faster convergence.
Conclusions
BAMSE considers all popular assumptions for solving the intratumor heterogeneity problem, and can also involve copy number variations in principal. We demonstrated that BAMSE is robust and performs very accurately when tested on both simulated and real data. We highlighted that BAMSE performs better than several stateofthearts tools. In addition to CNVs, natural future work is to consider other forms of somatic mutations such as complex structural variants in our model.
Abbreviations
 ISA:

Infinite sites assumption
References
 1
Nowell PC. The clonal evolution of tumor cell populations. Science (New York, NY). 1976; 194(4260):23–8. http://www.ncbi.nlm.nih.gov/pubmed/959840.
 2
McGranahan N, Swanton C, Srinivas R, Creixell P, Pritchard JR, Tidor B, et al.Clonal Heterogeneity and Tumor Evolution: Past, Present, and the Future. Cell. 2017; 168(4):613–28. http://www.ncbi.nlm.nih.gov/pubmed/28187284 http://linkinghub.elsevier.com/retrieve/pii/S0092867417300661.
 3
Mroz EA, Rocco JW. Intratumor heterogeneity in head and neck cancer and its clinical implications. World J OtorhinolaryngolHead Neck Surg. 2016; 2(2):60–7. http://linkinghub.elsevier.com/retrieve/pii/S2095881116300191.
 4
Popic V, Salari R, Hajirasouliha I, KashefHaghighi D, West RB, Batzoglou S. Fast and scalable inference of multisample cancer lineages. Genome Biol. 2015; 16(1):91. http://www.ncbi.nlm.nih.gov/pubmed/25944252 http://www.pubmedcentral.nih.gov/articlerender.fcgi?artid=PMC4501097 http://genomebiology.com/2015/16/1/91.
 5
Hajirasouliha I, Mahmoody A, Raphael BJ. A combinatorial approach for analyzing intratumor heterogeneity from highthroughput sequencing data. Bioinformatics. 2014;30. http://dx.doi.org/10.1093/bioinformatics/btu284.
 6
Jiao W, Vembu S, Deshwar AG, Stein L, Morris Q. Inferring clonal evolution of tumors from single nucleotide somatic mutations. BMC bioinformatics. 2014; 15:35. http://www.pubmedcentral.nih.gov/articlerender.fcgi?artid=3922638,%7B%&%7Dtool=pmcentrez%7B&%7Drendertype=abstract.
 7
Malikic S, McPherson AW, Donmez N, Sahinalp CS. Clonality inference in multiple tumor samples using phylogeny. Bioinformatics (Oxford, England). 2015; 31(9):1349–56.
 8
Zare H, Wang J, Hu A, Weber K, Smith J, Nickerson D, et al.Inferring Clonal Composition from Multiple Sections of a Breast Cancer. PLOS Comput Biol. 1; 10(7). https://doi.org/10.1371/journal.pcbi.1003703.
 9
Hajirasouliha I, Raphael BJ. Reconstructing Mutational History in Multiply Sampled Tumors Using Perfect Phylogeny Mixtures. In: Algorithms in Bioinformatics: 14th International Workshop, WABI 2014, Wroclaw, Poland, September 810, 2014 Proceedings: 2014. p. 354–67. https://doi.org/10.1007/9783662447536_27.
 10
ElKebir M, Oesper L, AchesonField H, Raphael BJ. Reconstruction of clonal trees and tumor composition from multisample sequencing data. Bioinformatics (Oxford, England). 2015; 31(12):i62–70. http://bioinformatics.oxfordjournals.org/content/31/12/i62.short?rss=1.
 11
Strino F, Parisi F, Micsinai M, Kluger Y. TrAp: a tree approach for fingerprinting subclonal tumor composition. Nucleic Acids Res. 2013; 41(17):e165. http://www.pubmedcentral.nih.gov/articlerender.fcgi?artid=3783191&to%ol=pmcentrez&rendertype=abstract.
 12
Beerenwinkel N, Schwarz RF, Gerstung M, Markowetz F. Cancer evolution : mathematical models and computational inference. Syst Biol. 2014; 64(1):e1–e25.
 13
Schwartz R, Schäffer AA. The evolution of tumour phylogenetics: principles and practice. Nat Rev Genet. 2017; 18(4):213–29. http://www.ncbi.nlm.nih.gov/pubmed/28190876 http://www.nature.com/doifinder/10.1038/nrg.2016.170.
 14
Deshwar AG, Vembu S, Yung CK, Jang GH, Stein L, Morris Q. Reconstructing subclonal composition and evolution from whole genome sequencing of tumors. Genome Biol. 2015; 16(1):35.
 15
Satas G, Raphael B. Tumor phylogeny inference using treeconstrained importance sampling. Bioinformatics. 2017; 33(14):i520–160.
 16
Casella G, Moreno E, Giron FJ. Cluster Analysis, Model Selection, and Prior Distributions on Models. Bayesian Anal. 2014; 9(3):613–58.
 17
Ghahramani Z, Jordan MI, Adams RP. TreeStructured Stick Breaking for Hierarchical Data In: Lafferty JD, Williams CKI, ShaweTaylor J, Zemel RS, Culotta A, editors. Advances in Neural Information Processing Systems 23. Curran Associates, Inc.: 2010. p. 19–27. http://papers.nips.cc/paper/4108treestructuredstickbreakingforhie%rarchicaldata.pdf.
 18
Yuan K, Sakoparnig T, Markowetz F, Beerenwinkel N. BitPhylogeny: a probabilistic framework for reconstructing intratumor phylogenies. Genome Biol. 2015; 16(1):36. https://doi.org/10.1186/s1305901505926.
 19
Diamond S, Boyd S. CVXPY: A PythonEmbedded Modeling Language for Convex Optimization. J Mach Learn Res. 2016; 17:1–5. http://www.jmlr.org/papers/volume17/15408/15408.pdf.
 20
Tu K. Modified dirichlet distribution: Allowing negative parameters to induce stronger sparsity. In: Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing: 2016. p. 1986–91.
 21
Miller CA, White BS, Dees ND, Griffith M, Welch JS, Griffith OL, et al.SciClone : Inferring Clonal Architecture and Tracking the Spatial and Temporal Patterns of Tumor Evolution. PLoS Comput Biol. 2014;10:(8) e1003665.
 22
Gerlinger M, Horswell S, Larkin J, Rowan AJ, Salm MP, Varela I, et al.Genomic architecture and evolution of clear cell renal cell carcinomas defined by multiregion sequencing. Nat Genet. 2014; 46(3):225–33. http://www.ncbi.nlm.nih.gov/pubmed/24487277 http://www.pubmedcentral.nih.gov/articlerender.fcgi?artid=PMC4636053 http://www.nature.com/doifinder/10.1038/ng.2891.
Acknowledgements
We would like to thank Dr. Charles Swanton for sharing and assisting with their dataset.
Funding
This work was supported by startup funds (Weill Cornell Medicine) and a US National Science Foundation (NSF) grant under award number IIS1840275 to IH.
Availability of data and materials
The renal cancer dataset is available in the EGA database under accession number EGAS00001000667. The code used for generating simulated data is available on our GitHub page.
About this supplement
This article has been published as part of BMC Bioinformatics Volume 20 Supplement 11, 2019: Selected articles from the 7th IEEE International Conference on Computational Advances in Bio and Medical Sciences (ICCABS 2017): bioinformatics. The full contents of the supplement are available online at https://bmcbioinformatics.biomedcentral.com/articles/supplements/volume20supplement11.
Availability and requirements
Project name: BAMSE
Project home page: https://github.com/HoseE/BAMSE
Operating system(s): Platform independent.
Programming language: Python.
Other requirements: Python 2.7 or higher.
License: GNU GPLv3.
Author information
Affiliations
Contributions
HT and IH conceived of the study and designed the algorithms and experiments. HT wrote the code, ran the simulations and performed analysis. All authors contributed in devising the method. HT and IH wrote the manuscript. All authors read and approved the final manuscript.
Corresponding authors
Ethics declarations
Ethics approval and consent to participate
Not applicable.
Consent for publication
Not applicable.
Competing interests
The authors declare that they have no competing interests.
Publisher’s Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated.
About this article
Cite this article
Toosi, H., Moeini, A. & Hajirasouliha, I. BAMSE: Bayesian model selection for tumor phylogeny inference among multiple samples. BMC Bioinformatics 20, 282 (2019). https://doi.org/10.1186/s1285901928243
Published:
Keywords
 Bayesian model selection
 DNA sequencing
 Tumor phylogeny
 Computational cancer genomics
 Next generation sequencing
 Tumor heterogeneity
 Clonal evolution