Commit message:
"planemo upload for repository https://github.com/smirarab/ASTRAL commit 0f93f327c49e93d6af057973d68ba772ba5715dc-dirty" |
added:
astral.xml test-data/README test-data/bs-files test-data/freqQuad.csv test-data/freqQuadVisualization.R test-data/out.log test-data/out_primates.log test-data/song_mammals.424.gene.tre test-data/song_mammals.424genes.bs-trees.zip test-data/song_mammals.tre test-data/song_primates.424.gene.tre test-data/song_primates.tre |
b |
diff -r 000000000000 -r 66ebc4b19d6c astral.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/astral.xml Wed Apr 13 15:03:31 2022 +0000 |
[ |
b'@@ -0,0 +1,130 @@\n+<tool id="astral" name="ASTRAL-III. Tool for estimating an unrooted species tree given a set of unrooted gene trees." version="0.1.0" python_template_version="3.5">\n+ <requirements>\n+ <requirement type="package" version="5.7.8">astral-tree</requirement>\n+ </requirements>\n+ <command detect_errors="exit_code"><![CDATA[ \n+ astral -i $input1 -t ${branch_annotation_level_selector} -o ./output.tre -c $lambda 2> $log_output\n+ &&\n+ mv ./output.tre $output\n+ #if $branch_annotation_level_selector == "16" or $branch_annotation_level_selector == "32"\n+ &&\n+ mv freqQuad.csv $branch_annotations\n+ #end if;\n+ ]]></command>\n+ <inputs>\n+ <param name="input1" type="data" format="newick" multiple="false" label="Tree file" optional="false" />\n+ <param name="branch_annotation_level_selector" type="select" label="How much annotations should be added to each branch: 0, 1, or 2.">\n+ <option value="3">3 (default): only the posterior probability for the main resolution.</option>\n+ <option value="0">0: no annotations.</option>\n+ <option value="1">1: only the quartet support for the main resolution.</option>\n+ <option value="2">2: full annotation.</option>\n+ <option value="4">4: three alternative posterior probabilities.</option>\n+ <option value="8">8: three alternative quartet scores.</option>\n+ <option value="16">16: for file export of branch annotations to freqQuad.csv (see below).</option>\n+ <option value="32">32: for file export of branch annotations to freqQuad.csv (see below).</option>\n+ <option value="10">10: p-values of a polytomy null hypothesis test. (default: 3)</option>\n+ </param>\n+ <param name="lambda" type="float" optional="true" value="0.5" min="0.0" max="10.0" label="lambda" help="lambda parameter for the Yule prior used in the calculations of\n+ branch lengths and posterior probabilities. Default: 0.5" multiple="false"/>\n+ </inputs>\n+ <outputs>\n+ <data name="output" format="newick" label="Output tree file"/>\n+ <data name="log_output" format="txt" label="Astral log."/>\n+ <data name="branch_annotations" format="tabular" label="Branch annotations file.">\n+ <filter>branch_annotation_level_selector == \'16\' or branch_annotation_level_selector == \'32\'</filter>\n+ </data>\n+ </outputs>\n+ <tests>\n+ <test>\n+ <param name="input1" value="song_mammals.424.gene.tre"/>\n+ <param name="branch_annotation_level_selector" value="16" />\n+ <param name="lambda" value="2" />\n+ <output name="output" file="song_mammals.tre" ftype="newick"/>\n+ <output name="log_output">\n+ <assert_contents>\n+ <has_line line="Number of taxa: 37 (37 species)" />\n+ <has_line line="gradient0: 1933" />\n+ <has_line line="Number of Clusters after addition by distance: 1933" />\n+ <has_line line="Final quartet score is: 25526915" />\n+ </assert_contents>\n+ </output>\n+ <output name="branch_annotations" file="freqQuad.csv" ftype="tabular"/>\n+ </test>\n+ <test>\n+ <param name="input1" value="song_primates.424.gene.tre"/>\n+ <param name="branch_annotation_level_selector" value="0" />\n+ <param name="lambda" value="2" />\n+ <output name="output" file="song_primates.tre" ftype="newick"/>\n+ <output name="log_output">\n+ <assert_contents>\n+ <has_line line="Number of taxa: 14 (14 species)" />\n+ <has_line line="gradient0: 339" />\n+ <has_line line="Number of Clusters after addition by distance: 339" />\n+ <has_line line="Final quartet score is: 389734" />\n+ </assert_conten'..b'v outputs, you can use -t 16 and -t 32.\n+ .csv output has the following format.\n+ The output file is always called freqQuad.csv and is written to the same directory as the input file (sorry for the ugliness!)\n+ The file is tab-delimited.\n+ 1st column: a dummy name for the node. Note that each three lines in a row have the same node number. Around each node, we have three possible unrooted toplogies (NNI rearrangements). We show stats for these three rearrangements.\n+ 2nd column: the topology name for which we are giving the scores. Here, t1 is always the main topology (observed in your species tree) and t2 and t3 are the two alternatives.\n+ 3rd column: Gives the actual topology with the format: {A}|{B}#{C}|{D}. This means that the quartet topology being scored is putting groups A and B together on one side, and groups C and D on the other side. Please remember that quartets are unrooted trees. Each of the groups is a comma-separate list of species.\n+ 5th column: number of gene trees that match the the topology in this line.\n+ You will note that this number is not always an integer number. The reason is that in each gene tree, groups A, B, C, and D may not be together. Those gene trees still count as 1 unit, but they can contribute a fraction of that total of 1 to each of the tree topologies. So a gene tree may count as 0.7 for one topology, 0.2 for another, and 0.1 for the third.\n+ 6th column: This is the total number of gene trees that had any useful information about this branch.\n+ If you have no missing data, this should equal the total number of gene trees.\n+ If you have missing data, some genes may be missing one of groups A, B, C, or D entirely. Those genes will be agnostic about this branch. This column gives the number of genes that have at least one species from each of A, B, C, and D.\n+ 4th column is likely you are interested in and it depends on whether you used -t 16 or -t 32.\n+ -t 16: This column is the local posterior for the topology given in this line. Note that the local posterior probability is different from normalized quartet score. See Figure 2 of this paper.\n+ -t 32: This column is simply 5th column divided by 6 column. Thus, it gives the normalized quartet score for that topology. Note that the three lines with the same node name (1st column) will add up to one in their 4th column.\n+\n+Prior hyper-parameter\n+ Our calculations of the local posterior probabilities and branch lengths use a Yule prior model for the branch lengths of the species tree. \n+ The speciation rate (in coalescent units) of the Yule process (lambda) is by default set to 0.5, which results in a flat prior for the quartet frequencies in the [1/3,1] range. \n+ Using -c option one can adjust the hyper-parameter for the prior. \n+ For example, you might want to estimate lambda from the data after one run and plug the estimate prior in a subsequent run. \n+ We have not yet fully explored the impact of lambda on the posterior. \n+ For branch lengths, lambda acts as a pseudocount and can have a substantial impact on the estimated branch length for very long branches. \n+ More specifically, if there is no, or very little discordance around a branch, \n+ the MAP lengths of the branch (which is what we report) is almost fully determined by the prior.\n+\n+ Note that setting lambda to 0 results in reporting ML estimates of the branch lengths instead of MAP. \n+ However, for branches with no discordance, we cannot compute a branch lengths. \n+ For these, we currently arbitrarily set ML to 10 coalescent units (we might change this in future versions).\n+\n+ ]]></help>\n+ <citations>\n+ <citation type="bibtex">\n+@misc{githubASTRAL,\n+ author = {LastTODO, FirstTODO},\n+ year = {TODO},\n+ title = {ASTRAL},\n+ publisher = {GitHub},\n+ journal = {GitHub repository},\n+ url = {https://github.com/smirarab/ASTRAL},\n+}</citation>\n+ </citations>\n+</tool>\n\\ No newline at end of file\n' |
b |
diff -r 000000000000 -r 66ebc4b19d6c test-data/README --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/README Wed Apr 13 15:03:31 2022 +0000 |
[ |
@@ -0,0 +1,17 @@ +**Song et al**: +We include here sample input files based on the [Song et al.](http://www.pnas.org/content/109/37/14942.short) dataset of 37 mammalian species and 442 genes. +We have removed 23 problematic genes (21 mislabeled genes and 2 genes we classified as outliers) and +we have also re-estimated gene trees using RAxML on the alignments that authors of that paper kindly provided to us. +We have also included 200 replicates of bootstrapped gene trees for the gene trees we estimated on the Song et al. dataset. + +**Simulation**: +We have included simulations based on the Song et al. dataset with increases rates of ILS. + +**primates:** +We have also created a reduced version of the Song et al. dataset with 9 primates, tree shrews, and 4 other mammalian taxa. This dataset is provided for testing the exact version. + +**14 taxon simulation:** +Simulated used SimPhy with extreme levels of ILS + +**100-taxon simulations:** +A simulated dataset with 100 taxa and 2500 bootstrap replicate gene trees is also provided for testing large datasets. |
b |
diff -r 000000000000 -r 66ebc4b19d6c test-data/bs-files --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/bs-files Wed Apr 13 15:03:31 2022 +0000 |
b |
b'@@ -0,0 +1,424 @@\n+424genes/100/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/101/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/102/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/103/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/104/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/105/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/106/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/107/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/108/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/109/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/10/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/110/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/111/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/112/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/113/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/114/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/115/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/116/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/117/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/118/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/120/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/121/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/122/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/123/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/124/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/125/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/126/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/127/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/128/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/129/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/12/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/130/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/131/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/132/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/133/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/134/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/135/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/136/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/137/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/138/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/139/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/13/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/140/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/141/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/142/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/143/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/144/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/145/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/146/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/147/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/148/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/149/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/14/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/151/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/152/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/153/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/154/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/155/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/156/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/157/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/158/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/159/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/15/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/160/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/161/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/162/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/163/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/164/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/165/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/166/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/167/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/169/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/16/raxmlboot.gtr'..b'/430/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/431/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/432/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/433/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/435/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/436/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/437/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/438/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/439/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/43/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/440/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/441/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/442/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/443/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/444/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/445/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/446/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/447/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/44/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/45/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/46/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/48/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/4/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/50/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/51/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/52/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/53/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/54/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/55/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/56/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/57/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/58/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/59/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/61/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/62/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/63/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/64/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/65/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/66/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/67/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/68/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/69/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/6/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/70/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/71/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/72/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/73/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/74/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/76/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/77/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/78/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/79/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/7/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/80/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/81/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/82/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/83/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/84/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/85/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/86/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/87/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/88/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/89/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/8/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/91/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/92/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/93/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/94/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/95/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/96/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/97/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/98/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/99/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n+424genes/9/raxmlboot.gtrgamma/RAxML_bootstrap.allbs\n' |
b |
diff -r 000000000000 -r 66ebc4b19d6c test-data/freqQuad.csv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/freqQuad.csv Wed Apr 13 15:03:31 2022 +0000 |
b |
b'@@ -0,0 +1,102 @@\n+N0\tt1\t{Chicken, Platypus}|{Marmoset, Orangutan, Human, Chimpanzee, Gorilla, Macaque, Galagos, Mouse_Lemur, Tree_Shrew, Mouse, Rat, Kangaroo_Rat, Guinea_Pig, Squirrel, Tarsier, Rabbit, Pika, Microbat, Megabat, Horse, Dolphin, Cow, Alpaca, Pig, Dog, Cat, Shrew, Hedgehog, Lesser_Hedgehog_Tenrec, Hyrax, Elephant, Sloth, Armadillos}#{Opossum}|{Wallaby}\t1.0\t423.0\t424.0\n+N0\tt2\t{Chicken, Platypus}|{Opossum}#{Marmoset, Orangutan, Human, Chimpanzee, Gorilla, Macaque, Galagos, Mouse_Lemur, Tree_Shrew, Mouse, Rat, Kangaroo_Rat, Guinea_Pig, Squirrel, Tarsier, Rabbit, Pika, Microbat, Megabat, Horse, Dolphin, Cow, Alpaca, Pig, Dog, Cat, Shrew, Hedgehog, Lesser_Hedgehog_Tenrec, Hyrax, Elephant, Sloth, Armadillos}|{Wallaby}\t0.0\t0.0\t424.0\n+N0\tt3\t{Chicken, Platypus}|{Wallaby}#{Marmoset, Orangutan, Human, Chimpanzee, Gorilla, Macaque, Galagos, Mouse_Lemur, Tree_Shrew, Mouse, Rat, Kangaroo_Rat, Guinea_Pig, Squirrel, Tarsier, Rabbit, Pika, Microbat, Megabat, Horse, Dolphin, Cow, Alpaca, Pig, Dog, Cat, Shrew, Hedgehog, Lesser_Hedgehog_Tenrec, Hyrax, Elephant, Sloth, Armadillos}|{Opossum}\t0.0\t1.0\t424.0\n+N1\tt1\t{Chicken, Marmoset, Orangutan, Human, Chimpanzee, Gorilla, Macaque, Galagos, Mouse_Lemur, Tree_Shrew, Mouse, Rat, Kangaroo_Rat, Guinea_Pig, Squirrel, Tarsier, Rabbit, Pika, Microbat, Megabat, Horse, Dolphin, Cow, Alpaca, Pig, Dog, Cat, Shrew, Hedgehog, Platypus, Opossum, Wallaby}|{Lesser_Hedgehog_Tenrec, Hyrax, Elephant}#{Sloth}|{Armadillos}\t1.0\t421.28125\t424.0\n+N1\tt2\t{Chicken, Marmoset, Orangutan, Human, Chimpanzee, Gorilla, Macaque, Galagos, Mouse_Lemur, Tree_Shrew, Mouse, Rat, Kangaroo_Rat, Guinea_Pig, Squirrel, Tarsier, Rabbit, Pika, Microbat, Megabat, Horse, Dolphin, Cow, Alpaca, Pig, Dog, Cat, Shrew, Hedgehog, Platypus, Opossum, Wallaby}|{Sloth}#{Lesser_Hedgehog_Tenrec, Hyrax, Elephant}|{Armadillos}\t0.0\t1.75\t424.0\n+N1\tt3\t{Chicken, Marmoset, Orangutan, Human, Chimpanzee, Gorilla, Macaque, Galagos, Mouse_Lemur, Tree_Shrew, Mouse, Rat, Kangaroo_Rat, Guinea_Pig, Squirrel, Tarsier, Rabbit, Pika, Microbat, Megabat, Horse, Dolphin, Cow, Alpaca, Pig, Dog, Cat, Shrew, Hedgehog, Platypus, Opossum, Wallaby}|{Armadillos}#{Lesser_Hedgehog_Tenrec, Hyrax, Elephant}|{Sloth}\t0.0\t0.96875\t424.0\n+N2\tt1\t{Chicken, Marmoset, Orangutan, Human, Chimpanzee, Gorilla, Macaque, Galagos, Mouse_Lemur, Tree_Shrew, Mouse, Rat, Kangaroo_Rat, Guinea_Pig, Squirrel, Tarsier, Rabbit, Pika, Microbat, Megabat, Horse, Dolphin, Cow, Alpaca, Pig, Dog, Cat, Shrew, Hedgehog, Sloth, Armadillos, Platypus, Opossum, Wallaby}|{Lesser_Hedgehog_Tenrec}#{Hyrax}|{Elephant}\t1.0\t362.2352941176471\t424.0\n+N2\tt2\t{Chicken, Marmoset, Orangutan, Human, Chimpanzee, Gorilla, Macaque, Galagos, Mouse_Lemur, Tree_Shrew, Mouse, Rat, Kangaroo_Rat, Guinea_Pig, Squirrel, Tarsier, Rabbit, Pika, Microbat, Megabat, Horse, Dolphin, Cow, Alpaca, Pig, Dog, Cat, Shrew, Hedgehog, Sloth, Armadillos, Platypus, Opossum, Wallaby}|{Hyrax}#{Lesser_Hedgehog_Tenrec}|{Elephant}\t0.0\t23.88235294117647\t424.0\n+N2\tt3\t{Chicken, Marmoset, Orangutan, Human, Chimpanzee, Gorilla, Macaque, Galagos, Mouse_Lemur, Tree_Shrew, Mouse, Rat, Kangaroo_Rat, Guinea_Pig, Squirrel, Tarsier, Rabbit, Pika, Microbat, Megabat, Horse, Dolphin, Cow, Alpaca, Pig, Dog, Cat, Shrew, Hedgehog, Sloth, Armadillos, Platypus, Opossum, Wallaby}|{Elephant}#{Lesser_Hedgehog_Tenrec}|{Hyrax}\t0.0\t37.88235294117647\t424.0\n+N3\tt1\t{Chicken, Marmoset, Orangutan, Human, Chimpanzee, Gorilla, Macaque, Galagos, Mouse_Lemur, Tree_Shrew, Mouse, Rat, Kangaroo_Rat, Guinea_Pig, Squirrel, Tarsier, Rabbit, Pika, Microbat, Megabat, Horse, Dolphin, Cow, Alpaca, Pig, Dog, Cat, Shrew, Hedgehog, Platypus, Opossum, Wallaby}|{Sloth, Armadillos}#{Lesser_Hedgehog_Tenrec}|{Hyrax, Elephant}\t1.0\t411.34375\t424.0\n+N3\tt2\t{Chicken, Marmoset, Orangutan, Human, Chimpanzee, Gorilla, Macaque, Galagos, Mouse_Lemur, Tree_Shrew, Mouse, Rat, Kangaroo_Rat, Guinea_Pig, Squirrel, Tarsier, Rabbit, Pika, Microbat, Megabat, Horse, Dolphin, Cow, Alpaca, Pig, Dog, Cat, Shrew, Hedgehog, Platypus, '..b'set, Orangutan, Human, Chimpanzee, Gorilla, Macaque, Galagos, Mouse_Lemur, Tarsier}|{Microbat, Megabat, Horse, Dolphin, Cow, Alpaca, Pig, Dog, Cat, Shrew, Hedgehog}\t0.0\t12.360549943883278\t424.0\n+N30\tt3\t{Chicken, Lesser_Hedgehog_Tenrec, Hyrax, Elephant, Sloth, Armadillos, Platypus, Opossum, Wallaby}|{Marmoset, Orangutan, Human, Chimpanzee, Gorilla, Macaque, Galagos, Mouse_Lemur, Tarsier}#{Tree_Shrew, Mouse, Rat, Kangaroo_Rat, Guinea_Pig, Squirrel, Rabbit, Pika}|{Microbat, Megabat, Horse, Dolphin, Cow, Alpaca, Pig, Dog, Cat, Shrew, Hedgehog}\t0.0\t14.031425364758695\t424.0\n+N31\tt1\t{Chicken, Platypus, Opossum, Wallaby}|{Lesser_Hedgehog_Tenrec, Hyrax, Elephant, Sloth, Armadillos}#{Marmoset, Orangutan, Human, Chimpanzee, Gorilla, Macaque, Galagos, Mouse_Lemur, Tree_Shrew, Mouse, Rat, Kangaroo_Rat, Guinea_Pig, Squirrel, Tarsier, Rabbit, Pika}|{Microbat, Megabat, Horse, Dolphin, Cow, Alpaca, Pig, Dog, Cat, Shrew, Hedgehog}\t1.0\t365.6483957219252\t424.0\n+N31\tt2\t{Chicken, Platypus, Opossum, Wallaby}|{Microbat, Megabat, Horse, Dolphin, Cow, Alpaca, Pig, Dog, Cat, Shrew, Hedgehog}#{Marmoset, Orangutan, Human, Chimpanzee, Gorilla, Macaque, Galagos, Mouse_Lemur, Tree_Shrew, Mouse, Rat, Kangaroo_Rat, Guinea_Pig, Squirrel, Tarsier, Rabbit, Pika}|{Lesser_Hedgehog_Tenrec, Hyrax, Elephant, Sloth, Armadillos}\t0.0\t23.886363636363637\t424.0\n+N31\tt3\t{Chicken, Platypus, Opossum, Wallaby}|{Marmoset, Orangutan, Human, Chimpanzee, Gorilla, Macaque, Galagos, Mouse_Lemur, Tree_Shrew, Mouse, Rat, Kangaroo_Rat, Guinea_Pig, Squirrel, Tarsier, Rabbit, Pika}#{Microbat, Megabat, Horse, Dolphin, Cow, Alpaca, Pig, Dog, Cat, Shrew, Hedgehog}|{Lesser_Hedgehog_Tenrec, Hyrax, Elephant, Sloth, Armadillos}\t0.0\t34.46524064171123\t424.0\n+N32\tt1\t{Chicken, Platypus}|{Opossum, Wallaby}#{Marmoset, Orangutan, Human, Chimpanzee, Gorilla, Macaque, Galagos, Mouse_Lemur, Tree_Shrew, Mouse, Rat, Kangaroo_Rat, Guinea_Pig, Squirrel, Tarsier, Rabbit, Pika, Microbat, Megabat, Horse, Dolphin, Cow, Alpaca, Pig, Dog, Cat, Shrew, Hedgehog}|{Lesser_Hedgehog_Tenrec, Hyrax, Elephant, Sloth, Armadillos}\t1.0\t415.10357142857146\t424.0\n+N32\tt2\t{Chicken, Platypus}|{Lesser_Hedgehog_Tenrec, Hyrax, Elephant, Sloth, Armadillos}#{Marmoset, Orangutan, Human, Chimpanzee, Gorilla, Macaque, Galagos, Mouse_Lemur, Tree_Shrew, Mouse, Rat, Kangaroo_Rat, Guinea_Pig, Squirrel, Tarsier, Rabbit, Pika, Microbat, Megabat, Horse, Dolphin, Cow, Alpaca, Pig, Dog, Cat, Shrew, Hedgehog}|{Opossum, Wallaby}\t0.0\t2.7928571428571427\t424.0\n+N32\tt3\t{Chicken, Platypus}|{Marmoset, Orangutan, Human, Chimpanzee, Gorilla, Macaque, Galagos, Mouse_Lemur, Tree_Shrew, Mouse, Rat, Kangaroo_Rat, Guinea_Pig, Squirrel, Tarsier, Rabbit, Pika, Microbat, Megabat, Horse, Dolphin, Cow, Alpaca, Pig, Dog, Cat, Shrew, Hedgehog}#{Lesser_Hedgehog_Tenrec, Hyrax, Elephant, Sloth, Armadillos}|{Opossum, Wallaby}\t0.0\t6.103571428571429\t424.0\n+N33\tt1\t{Chicken}|{Platypus}#{Marmoset, Orangutan, Human, Chimpanzee, Gorilla, Macaque, Galagos, Mouse_Lemur, Tree_Shrew, Mouse, Rat, Kangaroo_Rat, Guinea_Pig, Squirrel, Tarsier, Rabbit, Pika, Microbat, Megabat, Horse, Dolphin, Cow, Alpaca, Pig, Dog, Cat, Shrew, Hedgehog, Lesser_Hedgehog_Tenrec, Hyrax, Elephant, Sloth, Armadillos}|{Opossum, Wallaby}\t1.0\t312.7878787878788\t424.0\n+N33\tt2\t{Chicken}|{Opossum, Wallaby}#{Marmoset, Orangutan, Human, Chimpanzee, Gorilla, Macaque, Galagos, Mouse_Lemur, Tree_Shrew, Mouse, Rat, Kangaroo_Rat, Guinea_Pig, Squirrel, Tarsier, Rabbit, Pika, Microbat, Megabat, Horse, Dolphin, Cow, Alpaca, Pig, Dog, Cat, Shrew, Hedgehog, Lesser_Hedgehog_Tenrec, Hyrax, Elephant, Sloth, Armadillos}|{Platypus}\t0.0\t59.151515151515156\t424.0\n+N33\tt3\t{Chicken}|{Marmoset, Orangutan, Human, Chimpanzee, Gorilla, Macaque, Galagos, Mouse_Lemur, Tree_Shrew, Mouse, Rat, Kangaroo_Rat, Guinea_Pig, Squirrel, Tarsier, Rabbit, Pika, Microbat, Megabat, Horse, Dolphin, Cow, Alpaca, Pig, Dog, Cat, Shrew, Hedgehog, Lesser_Hedgehog_Tenrec, Hyrax, Elephant, Sloth, Armadillos}#{Platypus}|{Opossum, Wallaby}\t0.0\t52.06060606060606\t424.0\n' |
b |
diff -r 000000000000 -r 66ebc4b19d6c test-data/freqQuadVisualization.R --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/freqQuadVisualization.R Wed Apr 13 15:03:31 2022 +0000 |
[ |
@@ -0,0 +1,8 @@ +#!/usr/bin/env Rscript +red='#d53e4f';orange='#1d91c0';blue='#41b6c4';colormap = c(red,orange,blue) +require(reshape2);require(ggplot2); +dirPath = '.'; filePath = paste(dirPath,'/freqQuadCorrected.csv',sep=''); md<-read.csv(filePath,header=F,sep='\t'); md$value = md$V5/md$V6; +a<-length(levels(as.factor(md$V7)))*3.7; b<-4; sizes <- c(a,b); +md$V8<-reorder(md$V8,-md$value) +ggplot(data=md)+aes(x=V8,y=value,fill=V9)+geom_bar(stat='identity',color=1,width=0.8,position='dodge')+theme_bw()+theme(axis.text.x=element_text(angle=90))+scale_fill_manual(values=colormap,name='Topology')+geom_hline(yintercept=1/3,size=0.4,linetype=2)+ylab('relative freq.')+facet_wrap(~V7,scales='free_x')+xlab('') +pdfFile = paste(dirPath,'/relativeFreq.pdf',sep=''); ggsave(pdfFile,width = sizes[1], height= sizes[2]); |
b |
diff -r 000000000000 -r 66ebc4b19d6c test-data/out.log --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/out.log Wed Apr 13 15:03:31 2022 +0000 |
[ |
@@ -0,0 +1,62 @@ + +================== ASTRAL ===================== + +This is ASTRAL version 5.7.8 +Gene trees are treated as unrooted +424 trees read from test-data/song_mammals.424.gene.tre +index0 +All output trees will be *arbitrarily* rooted at Chicken + +======== Running the main analysis +Number of taxa: 37 (37 species) +Taxa: [Chicken, Marmoset, Orangutan, Human, Chimpanzee, Gorilla, Macaque, Galagos, Mouse_Lemur, Tree_Shrew, Mouse, Rat, Kangaroo_Rat, Guinea_Pig, Squirrel, Tarsier, Rabbit, Pika, Microbat, Megabat, Horse, Dolphin, Cow, Alpaca, Pig, Dog, Cat, Shrew, Hedgehog, Lesser_Hedgehog_Tenrec, Hyrax, Elephant, Sloth, Armadillos, Platypus, Opossum, Wallaby] +Taxon occupancy: {Rat=424, Tarsier=424, Dolphin=424, Rabbit=424, Macaque=424, Pika=424, Alpaca=424, Shrew=424, Sloth=424, Tree_Shrew=424, Kangaroo_Rat=424, Armadillos=424, Chimpanzee=424, Horse=424, Dog=424, Human=424, Lesser_Hedgehog_Tenrec=424, Microbat=424, Platypus=424, Wallaby=424, Cow=424, Pig=424, Marmoset=424, Megabat=424, Hedgehog=424, Mouse=424, Guinea_Pig=424, Mouse_Lemur=424, Cat=424, Hyrax=424, Elephant=424, Chicken=424, Orangutan=424, Opossum=424, Galagos=424, Squirrel=424, Gorilla=424} +Number of gene trees: 424 +0 trees have missing taxa +Calculating quartet distance matrix (for completion of X) +Species tree distances calculated ... +Building set of clusters (X) from gene trees +------------------------------ +gradient0: 1933 +Number of Clusters after addition by distance: 1933 +calculating extra bipartitions to be added at level 1 ... +Adding to X using resolutions of greedy consensus ... +Limit for sigma of degrees:975 +polytomy size limit : 4 +discarded polytomies: [3, 3, 4, 4] +Threshold 0.0: +Threshold 0.01: +Threshold 0.02: +Threshold 0.05: +Threshold 0.1: +Threshold 0.2: +polytomy of size 4; rounds with additions with at least 5 support: 0; clusters: 1933 +Threshold 0.3333333333333333: +polytomy of size 3; rounds with additions with at least 5 support: 0; clusters: 1933 +polytomy of size 3; rounds with additions with at least 5 support: 0; clusters: 1933 +polytomy of size 4; rounds with additions with at least 5 support: 0; clusters: 1933 +max k is :0 +Number of Clusters after addition by greedy: 1933 +gradient0 in heuristiic: 1933 +partitions formed in 0.638 secs +Dynamic Programming starting after 0.638 secs +Using tree-based weight calculation. +Using polytree-based weight calculation. +Polytree max score: 28003080 +Polytree building time: 0.191 seconds. +Number of quartet trees in the gene trees: 28003080 +Size of largest cluster: 37 +Greedy score: 24862814 +estimationFactor: 1.1263037241078182 +Sub-optimal score: 25489533 +Total Number of elements weighted: 3372 +Normalized score (portion of input quartet trees satisfied before correcting for multiple individuals): 0.9115752624354179 +Optimization score: 25526915 +Optimal tree inferred in 1.287 secs. +(Chimpanzee,(Human,(Gorilla,(Orangutan,(Macaque,(Marmoset,(Tarsier,((Galagos,Mouse_Lemur),((Tree_Shrew,((Rabbit,Pika),(Squirrel,(Guinea_Pig,(Kangaroo_Rat,(Mouse,Rat)))))),((((Chicken,Platypus),(Opossum,Wallaby)),((Sloth,Armadillos),(Lesser_Hedgehog_Tenrec,(Hyrax,Elephant)))),((Shrew,Hedgehog),((Microbat,Megabat),((Horse,(Dog,Cat)),(Alpaca,(Pig,(Dolphin,Cow)))))))))))))))); +Final quartet score is: 25526915 +Final normalized quartet score is: 0.9115752624354179 +Extended species tree: +(Chicken,(Platypus,((Opossum,Wallaby)N0'[pp1=1;pp2=0;pp3=0]':4.04422017503953,(((Sloth,Armadillos)N1'[pp1=1;pp2=0;pp3=0]':3.748755962145693,(Lesser_Hedgehog_Tenrec,(Hyrax,Elephant)N2'[pp1=1;pp2=0;pp3=0]':1.4675747778148045)N3'[pp1=1;pp2=0;pp3=0]':2.8408725661075143)N4'[pp1=1;pp2=0;pp3=0]':0.11272139311072937,(((Shrew,Hedgehog)N5'[pp1=1;pp2=0;pp3=0]':0.9911063406548961,((Microbat,Megabat)N6'[pp1=1;pp2=0;pp3=0]':1.5111714492447694,((Horse,(Dog,Cat)N7'[pp1=1;pp2=0;pp3=0]':2.7358873553893504)N8'[pp1=0.89;pp2=0.06;pp3=0.05]':0.05992302074136598,(Alpaca,(Pig,(Dolphin,Cow)N9'[pp1=1;pp2=0;pp3=0]':1.3217644299037643)N10'[pp1=1;pp2=0;pp3=0]':0.6263941421637529)N11'[pp1=1;pp2=0;pp3=0]':3.259811403201244)N12'[pp1=1;pp2=0;pp3=0]':0.11044150209434113)N13'[pp1=1;pp2=0;pp3=0]':0.42171242314482726)N14'[pp1=1;pp2=0;pp3=0]':1.9051712317138048,((Tree_Shrew,((Rabbit,Pika)N15'[pp1=1;pp2=0;pp3=0]':3.168751437685628,(Squirrel,(Guinea_Pig,(Kangaroo_Rat,(Mouse,Rat)N16'[pp1=1;pp2=0;pp3=0]':4.080152184265601)N17'[pp1=1;pp2=0;pp3=0]':0.6030253811559223)N18'[pp1=1;pp2=0;pp3=0]':0.14397458523452245)N19'[pp1=1;pp2=0;pp3=0]':1.61126493088363)N20'[pp1=1;pp2=0;pp3=0]':0.8259790342993206)N21'[pp1=0.9;pp2=0.01;pp3=0.1]':0.08166400531937129,((Galagos,Mouse_Lemur)N22'[pp1=1;pp2=0;pp3=0]':2.3122034886710434,(Tarsier,(Marmoset,(Macaque,(Orangutan,(Gorilla,(Human,Chimpanzee)N23'[pp1=1;pp2=0;pp3=0]':0.6305518601232605)N24'[pp1=1;pp2=0;pp3=0]':2.2394148609781763)N25'[pp1=1;pp2=0;pp3=0]':2.457113083090445)N26'[pp1=1;pp2=0;pp3=0]':2.550229319109434)N27'[pp1=1;pp2=0;pp3=0]':3.756538102587758)N28'[pp1=1;pp2=0;pp3=0]':0.6381142252128742)N29'[pp1=1;pp2=0;pp3=0]':2.0440320320838024)N30'[pp1=1;pp2=0;pp3=0]':2.239479484018153)N31'[pp1=1;pp2=0;pp3=0]':1.5208686854769229)N32'[pp1=1;pp2=0;pp3=0]':3.0967076693654274)N33'[pp1=1;pp2=0;pp3=0]':0.9068831258917384)N34)N35; +Weight calculation took 0.332760708 secs +ASTRAL finished in 1.713 secs |
b |
diff -r 000000000000 -r 66ebc4b19d6c test-data/out_primates.log --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/out_primates.log Wed Apr 13 15:03:31 2022 +0000 |
[ |
@@ -0,0 +1,57 @@ + +================== ASTRAL ===================== + +This is ASTRAL version 5.7.8 +Gene trees are treated as unrooted +424 trees read from test-data/song_primates.424.gene.tre +index0 +All output trees will be *arbitrarily* rooted at Marmoset + +======== Running the main analysis +Number of taxa: 14 (14 species) +Taxa: [Marmoset, Orangutan, Human, Chimpanzee, Gorilla, Macaque, Galago, Mouse_Lemur, Tree_Shrew, Rat, Tarsier, Rabbit, Horse, Sloth] +Taxon occupancy: {Human=424, Rat=424, Tarsier=424, Galago=424, Rabbit=424, Macaque=424, Sloth=424, Marmoset=424, Tree_Shrew=424, Chimpanzee=424, Mouse_Lemur=424, Horse=424, Orangutan=424, Gorilla=424} +Number of gene trees: 424 +0 trees have missing taxa +Calculating quartet distance matrix (for completion of X) +Species tree distances calculated ... +Building set of clusters (X) from gene trees +------------------------------ +gradient0: 339 +Number of Clusters after addition by distance: 339 +calculating extra bipartitions to be added at level 1 ... +Adding to X using resolutions of greedy consensus ... +Limit for sigma of degrees:400 +polytomy size limit : 3 +discarded polytomies: [3] +Threshold 0.0: +Threshold 0.01: +Threshold 0.02: +Threshold 0.05: +Threshold 0.1: +Threshold 0.2: +Threshold 0.3333333333333333: +polytomy of size 3; rounds with additions with at least 5 support: 0; clusters: 339 +max k is :0 +Number of Clusters after addition by greedy: 339 +gradient0 in heuristiic: 339 +partitions formed in 0.192 secs +Dynamic Programming starting after 0.192 secs +Using tree-based weight calculation. +Using polytree-based weight calculation. +Polytree max score: 424424 +Polytree building time: 0.052 seconds. +Number of quartet trees in the gene trees: 424424 +Size of largest cluster: 14 +Greedy score: 389226 +estimationFactor: 1.090430752313566 +Sub-optimal score: 389226 +Total Number of elements weighted: 452 +Normalized score (portion of input quartet trees satisfied before correcting for multiple individuals): 0.9182656965675834 +Optimization score: 389734 +Optimal tree inferred in 0.319 secs. +(Gorilla,((Human,Chimpanzee),(Orangutan,(Macaque,(Marmoset,(Tarsier,((Galago,Mouse_Lemur),((Horse,Sloth),(Tree_Shrew,(Rat,Rabbit)))))))))); +Final quartet score is: 389734 +Final normalized quartet score is: 0.9182656965675834 +Weight calculation took 0.027776492 secs +ASTRAL finished in 0.438 secs |
b |
diff -r 000000000000 -r 66ebc4b19d6c test-data/song_mammals.424.gene.tre --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/song_mammals.424.gene.tre Wed Apr 13 15:03:31 2022 +0000 |
b |
b'@@ -0,0 +1,424 @@\n+(Chicken:0.131279775345,(((((((Marmoset:0.0204923957271,((Orangutan:0.00584046083478,((Human:0.00233080025572,Chimpanzee:0.00254878680241):0.000769089390244,Gorilla:0.00176992228314):0.00288531375061):0.00467903448512,Macaque:0.00908469530327):0.00734594094106):0.0296837843809,(Galagos:0.0600055740335,Mouse_Lemur:0.0694590103929):0.0196895108756):0.0085007567437,(Tree_Shrew:0.0534460635684,((((Mouse:0.0349199386903,Rat:0.0345660857178):0.0897288064714,Kangaroo_Rat:0.0649361322722):0.00930431451076,(Guinea_Pig:0.0711517239764,Squirrel:0.0481034437826):0.00498901022113):0.00991061551553,(Tarsier:0.217182450829,(Rabbit:0.0631257980439,Pika:0.087313728905):0.0291647109858):0.0339406584933):0.0030207288372):0.00372275015446):0.00872816165234,((((Microbat:0.0696356706177,Megabat:0.0390727680795):0.0086854921458,(Horse:0.0461656721413,((Dolphin:0.0272954336484,Cow:0.0443204506945):0.0116990944027,(Alpaca:0.051306106068,Pig:0.046407562946):0.00563985340054):0.0247170466469):0.00304339918494):0.00358264486119,(Dog:0.0580489915606,Cat:0.0519621580488):0.0244766206527):0.00494622940371,(Shrew:0.0804342808451,Hedgehog:0.139409366682):0.0210030742124):0.0130522958142):0.00809030960191,((Lesser_Hedgehog_Tenrec:0.156305507638,(Hyrax:0.064198126165,Elephant:0.0292820820713):0.00798950914849):0.0213905471889,(Sloth:0.0383674324752,Armadillos:0.0398080414024):0.0192051567243):0.00316664009477):0.054936328385,Platypus:0.599083136441):0.0419332947834,(Opossum:0.0426931845392,Wallaby:0.0489905851887):0.0753994602564):0.131279775345);\n+(Chicken:0.13184348409,(((Wallaby:0.0403884889125,Opossum:0.0424549058291):0.0623712854935,Platypus:0.106934421683):0.0265468149082,(((Lesser_Hedgehog_Tenrec:0.0763243234611,(Hyrax:0.0439837309698,Elephant:0.0154182537039):0.00814539614046):0.00927252801896,(((((Cow:0.0253768995556,(Dolphin:0.0137381500408,Pig:0.0515071568701):0.00214247375384):0.00369849062439,Alpaca:0.0327041327444):0.0129939134522,((Microbat:0.0488318249748,(Dog:0.0251914464999,Cat:0.019077962803):0.0156030468259):0.00191908404652,Horse:0.031403746682):0.00190573500035):0.000789098343179,(Megabat:0.0306925352959,(Hedgehog:0.0955938274852,Shrew:0.109121497038):0.0170079661056):0.00357223557112):0.00782417078979,(((Pika:0.0525511270699,Rabbit:0.0390937774654):0.0249464279599,(((Rat:0.0415344954862,Mouse:0.0399640478488):0.0965731665767,Guinea_Pig:0.07749120868):0.0148299066203,(Squirrel:0.0502430198655,Kangaroo_Rat:0.0753162798415):0.00416568798231):0.00545532042101):0.00328679821596,(Tree_Shrew:0.0426560599163,((Tarsier:0.0395620026083,((Macaque:0.00608570187988,(Gorilla:0.00224422775399,(Orangutan:0.00178158136896,(Human:0.00113846667515,Chimpanzee:0.000802993594136):0.000483490555002):2.51049141848e-06):0.00347997654954):0.00821095330186,Marmoset:0.0174481410002):0.0135122407118):0.00305192625139,(Mouse_Lemur:0.0161443473009,Galagos:0.0451624040731):0.0145777943743):0.00233717476908):0.00310699260183):0.00188081676512):0.00884283494833):0.00800323823718,(Sloth:0.0286313631651,Armadillos:0.0298203979513):0.00653477704791):0.100297249941):0.13184348409);\n+(Chicken:0.200683834898,((((((Hyrax:0.116256868083,Elephant:0.0380072794168):0.0136744583945,Lesser_Hedgehog_Tenrec:0.0757357089314):0.0152092268668,(Armadillos:0.0330496450788,Sloth:0.0390897018537):0.0223747307328):0.00255549065834,((((Dog:0.0380707200472,Cat:0.0219888008619):0.0146010837503,((Megabat:0.026849094959,(Shrew:0.0812377176667,Microbat:0.0385531787149):0.0207936007114):0.0074741804449,(Dolphin:0.0235088724544,(Pig:0.0346116329606,(Cow:0.0431980682584,Alpaca:0.0323155644264):0.00294880915206):0.00313415983936):0.00994396974098):0.00246798483566):0.00165823867717,(Horse:0.037894764365,Hedgehog:0.137100615862):0.00546346949291):0.0118186651971,((((Guinea_Pig:0.0495811955458,Kangaroo_Rat:0.0678327630112):0.00709683048706,(Squirrel:0.0377275552318,(Mouse:0.0291923462182,Rat:0.0305524733839):0.116284752903):0.00823842575795):0.00774685443388,(Pika:0.0595468891827,Rabbit'..b'ur:0.0143009427359):0.0122740716064,(Tarsier:0.0487236203224,(Marmoset:0.00931839259838,(Macaque:0.00657274446811,(Orangutan:0.00272345109117,(Human:0.000876180194829,(Gorilla:0.00303496351018,Chimpanzee:0.00218686128628):1.45144985082e-06):0.00344567774396):0.0020590421516):0.0018044227029):0.0109403495379):0.00186022209471):0.00343206872584):0.0014525457196,((Rabbit:0.0177456676244,Pika:0.031730570875):0.0129783167803,((Squirrel:0.0150366110036,(Kangaroo_Rat:0.130840317826,Guinea_Pig:0.045939523631):0.00342779812727):0.00261286734834,(Mouse:0.0134034366008,Rat:0.00859132631949):0.0381909643743):0.00375866378088):0.00163710050999):0.002081418538):0.00446737234699,((Armadillos:0.0408900779583,Sloth:0.0412940725425):0.0052924222822,((Lesser_Hedgehog_Tenrec:0.0583388654079,Hyrax:0.0227813474707):0.00155845272596,Elephant:0.01485135371):0.01157395639):0.00336252076823):0.10015814881):0.0378988763057):0.117532213747);\n+(Chicken:0.137962740933,(Platypus:0.177809513443,(((Sloth:0.0323381470184,Armadillos:0.0865877137279):0.0283762885566,((((Squirrel:0.0704338346596,(((Tree_Shrew:0.230874990073,(Rat:0.039022956563,Mouse:0.0358292422797):0.0803663665511):0.0566163161072,(Kangaroo_Rat:0.0936266109658,Guinea_Pig:0.163195929402):0.0227361154732):0.0182973838314,(Rabbit:0.0584700450863,Pika:0.104463976458):0.0218622852271):0.0184593117161):0.00422402618639,((Galagos:0.0843958434341,Mouse_Lemur:0.0461439744758):0.0125970324997,(Tarsier:0.0496464763473,(Macaque:0.0143561254929,(Marmoset:0.0259411310432,((Chimpanzee:0.0030428987466,(Human:0.00509022913336,Gorilla:0.00301752493918):1.74869770661e-06):0.00194977381956,Orangutan:0.00377973538591):0.00597688951944):1.74869770661e-06):0.0211718893978):0.00369882307243):0.00344791218187):0.00411369564899,((Microbat:0.0957535302149,Megabat:0.0377289273071):0.0148254683741,((Alpaca:0.113156053174,((Dolphin:0.0361817187919,Cow:0.0496853182551):0.0106410404197,Pig:0.0659606929081):0.00900411662441):0.0207054982851,((Hedgehog:0.101476006897,Shrew:0.133708670784):0.0302825973263,(Horse:0.062539068985,(Cat:0.0476100223034,Dog:0.0498227088824):0.0130228898555):0.00278901532217):0.00390182270007):0.00260097646987):0.00963789520957):0.0102220321896,(Lesser_Hedgehog_Tenrec:0.182867653427,(Hyrax:0.0597967575586,Elephant:0.0317940802436):0.00671854440323):0.0220820393433):1.74869770661e-06):0.123742617496,(Opossum:0.101566440874,Wallaby:0.035621423061):0.108356593189):0.0564344412965):0.137962740933);\n+(Chicken:0.289023887024,(((Lesser_Hedgehog_Tenrec:0.103531267576,(Hyrax:0.0792624845054,Elephant:0.020035551689):0.00468107876592):0.0115203055775,((Sloth:0.0546908367613,Armadillos:0.0435820460598):0.014936126763,((((Rabbit:0.0611633656291,Pika:0.0883951857937):0.0268930036276,((Guinea_Pig:0.108266959197,Squirrel:0.0580511095049):0.00335118624726,(Kangaroo_Rat:0.0850891887225,(Mouse:0.0458865804504,Rat:0.0418252280081):0.104719034471):0.0104378399677):0.0110759707082):0.00205282141473,(Tree_Shrew:0.0919420463253,((Galagos:0.0514585331292,Mouse_Lemur:0.0376430579639):0.0163821833577,(Tarsier:0.0684952306242,(Marmoset:0.0333490248292,(Macaque:0.0137891148455,(Orangutan:0.00783070385544,(Gorilla:0.00423907029111,(Human:0.00248727616726,Chimpanzee:0.00249326917031):0.00129804031806):0.00342111996439):0.00646601996604):0.0121335869221):0.0239813250219):0.00576175661043):0.004873960298):0.000386603023615):0.00766577100868,(((Cat:0.0509840238334,Dog:0.0448142812541):0.0200313518373,(Hedgehog:0.0931647574269,(Microbat:0.0475885255423,Megabat:0.0471158905292):0.00722244931429):0.00276470180983):0.00155787609823,(Shrew:0.13251091939,(Horse:0.0487172423218,(Alpaca:0.0504046061614,((Dolphin:0.0251958974666,Cow:0.06107331406):0.00922581045341,Pig:0.0647819580094):0.00586466583704):0.0233469767943):0.00164427684472):0.00098198676194):0.00638008103306):0.0130234957148):0.00380224791207):0.0746400406408,(Platypus:0.229085549777,(Opossum:0.063613744113,Wallaby:0.0602515788323):0.110862946673):0.0396644362515):0.289023887024);\n' |
b |
diff -r 000000000000 -r 66ebc4b19d6c test-data/song_mammals.424genes.bs-trees.zip |
b |
Binary file test-data/song_mammals.424genes.bs-trees.zip has changed |
b |
diff -r 000000000000 -r 66ebc4b19d6c test-data/song_mammals.tre --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/song_mammals.tre Wed Apr 13 15:03:31 2022 +0000 |
[ |
@@ -0,0 +1,1 @@ +(Chicken,(Platypus,((Opossum,Wallaby)N0'[pp1=1;pp2=0;pp3=0]':4.04422017503953,(((Sloth,Armadillos)N1'[pp1=1;pp2=0;pp3=0]':3.748755962145693,(Lesser_Hedgehog_Tenrec,(Hyrax,Elephant)N2'[pp1=1;pp2=0;pp3=0]':1.4675747778148045)N3'[pp1=1;pp2=0;pp3=0]':2.8408725661075143)N4'[pp1=1;pp2=0;pp3=0]':0.11272139311072937,(((Shrew,Hedgehog)N5'[pp1=1;pp2=0;pp3=0]':0.9911063406548961,((Microbat,Megabat)N6'[pp1=1;pp2=0;pp3=0]':1.5111714492447694,((Horse,(Dog,Cat)N7'[pp1=1;pp2=0;pp3=0]':2.7358873553893504)N8'[pp1=0.89;pp2=0.06;pp3=0.05]':0.05992302074136598,(Alpaca,(Pig,(Dolphin,Cow)N9'[pp1=1;pp2=0;pp3=0]':1.3217644299037643)N10'[pp1=1;pp2=0;pp3=0]':0.6263941421637529)N11'[pp1=1;pp2=0;pp3=0]':3.259811403201244)N12'[pp1=1;pp2=0;pp3=0]':0.11044150209434113)N13'[pp1=1;pp2=0;pp3=0]':0.42171242314482726)N14'[pp1=1;pp2=0;pp3=0]':1.9051712317138048,((Tree_Shrew,((Rabbit,Pika)N15'[pp1=1;pp2=0;pp3=0]':3.168751437685628,(Squirrel,(Guinea_Pig,(Kangaroo_Rat,(Mouse,Rat)N16'[pp1=1;pp2=0;pp3=0]':4.080152184265601)N17'[pp1=1;pp2=0;pp3=0]':0.6030253811559223)N18'[pp1=1;pp2=0;pp3=0]':0.14397458523452245)N19'[pp1=1;pp2=0;pp3=0]':1.61126493088363)N20'[pp1=1;pp2=0;pp3=0]':0.8259790342993206)N21'[pp1=0.9;pp2=0.01;pp3=0.1]':0.08166400531937129,((Galagos,Mouse_Lemur)N22'[pp1=1;pp2=0;pp3=0]':2.3122034886710434,(Tarsier,(Marmoset,(Macaque,(Orangutan,(Gorilla,(Human,Chimpanzee)N23'[pp1=1;pp2=0;pp3=0]':0.6305518601232605)N24'[pp1=1;pp2=0;pp3=0]':2.2394148609781763)N25'[pp1=1;pp2=0;pp3=0]':2.457113083090445)N26'[pp1=1;pp2=0;pp3=0]':2.550229319109434)N27'[pp1=1;pp2=0;pp3=0]':3.756538102587758)N28'[pp1=1;pp2=0;pp3=0]':0.6381142252128742)N29'[pp1=1;pp2=0;pp3=0]':2.0440320320838024)N30'[pp1=1;pp2=0;pp3=0]':2.239479484018153)N31'[pp1=1;pp2=0;pp3=0]':1.5208686854769229)N32'[pp1=1;pp2=0;pp3=0]':3.0967076693654274)N33'[pp1=1;pp2=0;pp3=0]':0.9068831258917384)N34:0.0)N35; |
b |
diff -r 000000000000 -r 66ebc4b19d6c test-data/song_primates.424.gene.tre --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/song_primates.424.gene.tre Wed Apr 13 15:03:31 2022 +0000 |
b |
b'@@ -0,0 +1,424 @@\n+(((((Marmoset:0.0204923957271,((Orangutan:0.00584046083478,((Human:0.00233080025572,Chimpanzee:0.00254878680241):0.000769089390244,Gorilla:0.00176992228314):0.00288531375061):0.00467903448512,Macaque:0.00908469530327):0.00734594094106):0.0296837843809,(Galago:0.0600055740335,Mouse_Lemur:0.0694590103929):0.0196895108756):0.0085007567437,(Tree_Shrew:0.0534460635684,(Rat:0.143509822215,(Tarsier:0.217182450829,Rabbit:0.0922905090297):0.0339406584933):0.0030207288372):0.00372275015446):0.00872816165234,Horse:0.0707902414053):0.00809030960191,Sloth:0.0607392292943):0.228149398513;\n+((Horse:0.0419227508153,((Rabbit:0.0640402054253,Rat:0.158392889104):0.00328679821596,(Tree_Shrew:0.0426560599163,((Tarsier:0.0395620026083,((Macaque:0.00608570187988,(Gorilla:0.00224422775399,(Orangutan:0.00178158136896,(Human:0.00113846667515,Chimpanzee:0.000802993594136):0.000483490555002):2.51049141848e-06):0.00347997654954):0.00821095330186,Marmoset:0.0174481410002):0.0135122407118):0.00305192625139,(Mouse_Lemur:0.0161443473009,Galago:0.0451624040731):0.0145777943743):0.00233717476908):0.00310699260183):0.00188081676512):0.0168460731855,Sloth:0.035166140213):0.232140734031;\n+(Sloth:0.0640199232448,(Horse:0.055176899055,((Rat:0.162822506479,Rabbit:0.0693241747787):0.0038912895723,(Tarsier:0.0516873435361,((Marmoset:0.0311370484253,((Orangutan:0.0152083457523,(Gorilla:0.00129651459821,(Human:0.00245267408963,Chimpanzee:0.0030493338097):0.00121090801175):0.00248508181011):0.00382150588066,Macaque:0.0111332008693):0.00577878387711):0.0137031584176,((Galago:0.0612751243277,Mouse_Lemur:0.0229549694479):0.0047800435683,Tree_Shrew:0.183791419534):0.00190591845589):0.00370001159991):0.0016619546699):0.00626408623059):0.00747947925016):0.339265772737;\n+(Rat:0.142638795984,((Rabbit:0.0719759891363,(((Tarsier:0.0556802134764,((((Gorilla:1.85580720032e-06,(Chimpanzee:0.00352263735379,Human:0.00210876209409):1.85580720032e-06):0.00195715763511,Orangutan:0.0456676117485):0.00894974100682,Macaque:0.0174908800859):0.00817949575529,Marmoset:0.021105563553):0.0124318568927):0.00509050125734,(Mouse_Lemur:0.0382624798616,Galago:0.0510280610378):0.00679236389045):0.00332142940613,Horse:0.0953601862462):0.00231005504781):0.00188518271632,(Sloth:0.0648346717,Tree_Shrew:0.0606139860793):1.85580720032e-06):0.00486065707291):0.517900137038;\n+(Sloth:0.0328088924127,(Horse:0.0337559851297,((Rabbit:0.0424386864614,Rat:0.100689894952):0.000835398494625,((Tree_Shrew:0.0552870969104,(Marmoset:0.0152446328987,(Macaque:0.00417253367676,(Orangutan:0.00199286961427,((Gorilla:0.00198804193292,Chimpanzee:0.000543933950245):0.00200862822564,Human:0.00394477113939):0.00489498205984):0.00274365141538):0.00235501951006):0.00743395447991):0.00516839205442,((Galago:0.0310090103588,Mouse_Lemur:0.0177229801708):0.00580934445442,Tarsier:0.0270569479657):0.00108522165996):0.00230590785071):0.00382110603812):0.00637691037928):0.176580161508;\n+(Sloth:0.0328093857642,(((Rabbit:0.0424394070896,Rat:0.100691522196):0.000835422642716,(((Marmoset:0.0152448737567,(Macaque:0.00417259735364,(Orangutan:0.00199289871858,(Human:0.00394484509718,(Gorilla:0.00198807233434,Chimpanzee:0.000543942780207):0.00200862237432):0.00489509096801):0.00274370255366):0.00235505447377):0.00743408515979,Tree_Shrew:0.0552879989092):0.00516849444974,(Tarsier:0.0270573707338,(Galago:0.0310095302094,Mouse_Lemur:0.017723279285):0.00580940192562):0.0010852573422):0.0023059247951):0.00382112890082,Horse:0.0337564792306):0.00637700958682):0.176582913577;\n+(Sloth:0.0455883734152,(((Rat:0.155666331417,(Rabbit:0.157433917998,Tree_Shrew:0.103886397388):0.0235443949706):0.00722020890642,(Tarsier:0.0427092341119,((Marmoset:0.0283861371785,(Macaque:0.0102085121417,(Orangutan:0.00575016333401,(Gorilla:0.00143134576028,(Chimpanzee:0.00658928262202,Human:0.00182469940144):0.000171146114819):0.00603167067159):0.00319899297089):0.00809430176493):0.0234798973117,(Mouse_Lemur:0.0266103355474,Galago:0.0456978386923):0.0164229849235'..b'23463211452,((Tarsier:0.0479376152214,((Macaque:0.0104160341777,(Orangutan:0.00446089240965,((Human:0.00282936234848,Chimpanzee:0.00425943590393):0.000354384209951,Gorilla:0.00296498543117):0.00305281532302):0.00531254333111):0.00695208503097,Marmoset:0.0328428215105):0.0149640570866):0.00309500547118,(Galago:0.0417995697542,Mouse_Lemur:0.0272872045369):0.013731562824):0.00243356209847):0.00113226532065):0.00862474791584,Horse:0.0384515728163):0.00419667118381,Sloth:0.0496732668121):0.343193885708;\n+((((Rat:0.134210255972,Rabbit:0.0848432216909):0.00804404664073,(Mouse_Lemur:0.0327111286586,((Tarsier:0.0421232613836,((Macaque:0.0118691548401,((Chimpanzee:0.00479413295061,(Gorilla:0.00872707071945,Human:0.00283916721936):2.10695608655e-06):0.00195130317428,Orangutan:0.00576903890097):0.0037662993549):0.0071264647414,Marmoset:0.0254824349051):0.012786127479):0.00657569020723,(Tree_Shrew:0.0643377371024,Galago:0.074523234124):0.00936882221996):0.00090401832703):0.00583208790532):0.0109015278218,Sloth:0.0455925476002):0.00411352715752,Horse:0.0462425914563):0.322686237562;\n+((Horse:0.0608653630458,((Rabbit:0.0686252128888,(Tree_Shrew:0.0549275492345,(((Galago:0.0495900728448,Mouse_Lemur:0.0288336645422):0.00996735007499,Tarsier:0.0419618826023):0.00557517601797,(Marmoset:0.231138912743,(Macaque:0.0123870542334,(Orangutan:0.150210713917,(Human:0.00413476018248,(Gorilla:0.000466816955265,Chimpanzee:0.0032694212905):0.000719308835703):0.00116045686463):0.00416240416886):0.0056204684139):0.0249153124289):0.00491220011938):0.00231597705285):0.00236548017446,Rat:0.116798921898):0.0104871252004):0.0057759170317,Sloth:0.0468278393659):0.411694388245;\n+(Sloth:0.0537937710623,(Horse:0.0428744705336,((Rabbit:0.0772775835651,Rat:0.115252785335):0.00270405799019,((Tree_Shrew:0.0477824336542,(Mouse_Lemur:0.0249481687121,Galago:0.0424850897456):0.00955536459769):0.00268107958192,(Tarsier:0.120629721666,(Marmoset:0.0242345791805,(Macaque:0.0261552227758,((Gorilla:0.0011643454065,(Chimpanzee:0.00168213409555,Human:0.00168249888454):0.000418729180342):0.00267357757687,Orangutan:0.00230894255287):0.00773576010794):0.00736902764998):0.0210422776716):0.00816188584259):0.00178364599182):0.00920827021518):0.00618451327655):0.637079834117;\n+((Horse:0.016393630209,((Tree_Shrew:0.0465339407832,((Galago:0.0137053218286,Mouse_Lemur:0.0143009427359):0.0122740716064,(Tarsier:0.0487236203224,(Marmoset:0.00931839259838,(Macaque:0.00657274446811,(Orangutan:0.00272345109117,(Human:0.000876180194829,(Gorilla:0.00303496351018,Chimpanzee:0.00218686128628):1.45144985082e-06):0.00344567774396):0.0020590421516):0.0018044227029):0.0109403495379):0.00186022209471):0.00343206872584):0.0014525457196,(Rabbit:0.0307239844047,Rat:0.0505409544747):0.00163710050999):0.002081418538):0.00446737234699,Sloth:0.0499490155929):0.255589238863;\n+(Sloth:0.060714435575,((((Tree_Shrew:0.230874990073,Rat:0.119389323114):0.0749136999386,Rabbit:0.0803323303134):0.0226833379025,((Galago:0.0843958434341,Mouse_Lemur:0.0461439744758):0.0125970324997,(Tarsier:0.0496464763473,(Macaque:0.0143561254929,(Marmoset:0.0259411310432,((Chimpanzee:0.0030428987466,(Human:0.00509022913336,Gorilla:0.00301752493918):1.74869770661e-06):0.00194977381956,Orangutan:0.00377973538591):0.00597688951944):1.74869770661e-06):0.0211718893978):0.00369882307243):0.00344791218187):0.00411369564899,Horse:0.0814687786867):0.0102237808873):0.318139799725;\n+(Sloth:0.0696269635243,(((Rabbit:0.0880563692567,Rat:0.168058073155):0.00205282141473,(Tree_Shrew:0.0919420463253,((Galago:0.0514585331292,Mouse_Lemur:0.0376430579639):0.0163821833577,(Tarsier:0.0684952306242,(Marmoset:0.0333490248292,(Macaque:0.0137891148455,(Orangutan:0.00783070385544,(Gorilla:0.00423907029111,(Human:0.00248727616726,Chimpanzee:0.00249326917031):0.00129804031806):0.00342111996439):0.00646601996604):0.0121335869221):0.0239813250219):0.00576175661043):0.004873960298):0.000386603023615):0.00766577100868,Horse:0.0577235869615):0.0130234957148):0.367466175577;\n' |
b |
diff -r 000000000000 -r 66ebc4b19d6c test-data/song_primates.tre --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/song_primates.tre Wed Apr 13 15:03:31 2022 +0000 |
b |
@@ -0,0 +1,1 @@ +(Marmoset,((Tarsier,((Galago,Mouse_Lemur),((Horse,Sloth),(Tree_Shrew,(Rat,Rabbit))))),(Macaque,(Orangutan,((Human,Chimpanzee),Gorilla)))):0.0); |