diff --git a/config/datatypes_conf.xml.sample b/config/datatypes_conf.xml.sample index c726ff23fb34..9036614f49fa 100644 --- a/config/datatypes_conf.xml.sample +++ b/config/datatypes_conf.xml.sample @@ -341,6 +341,8 @@ + + @@ -744,6 +746,7 @@ + diff --git a/lib/galaxy/datatypes/test/example.iqtree b/lib/galaxy/datatypes/test/example.iqtree new file mode 100644 index 000000000000..a2a620ac65a8 --- /dev/null +++ b/lib/galaxy/datatypes/test/example.iqtree @@ -0,0 +1,308 @@ +IQ-TREE 1.5.5 built Jun 2 2017 + +Input file name: ../example.phy +Type of analysis: ModelFinder + tree reconstruction +Random seed number: 174902 + +REFERENCES +---------- + +To cite ModelFinder please use: + +Subha Kalyaanamoorthy, Bui Quang Minh, Thomas KF Wong, Arndt von Haeseler, +and Lars S Jermiin (2017) ModelFinder: Fast model selection for +accurate phylogenetic estimates. Nature Methods, 14:587–589. +http://dx.doi.org/10.1038/nmeth.4285 + +To cite IQ-TREE please use: + +Lam-Tung Nguyen, Heiko A. Schmidt, Arndt von Haeseler, and Bui Quang Minh +(2015) IQ-TREE: A fast and effective stochastic algorithm for estimating +maximum likelihood phylogenies. Mol Biol Evol, 32:268-274. +http://dx.doi.org/10.1093/molbev/msu300 + +SEQUENCE ALIGNMENT +------------------ + +Input data: 17 sequences with 1998 nucleotide sites +Number of constant sites: 686 (= 34.3343% of all sites) +Number of invariant (constant or ambiguous constant) sites: 686 (= 34.3343% of all sites) +Number of distinct site patterns: 1152 + +ModelFinder +----------- + +Best-fit model according to BIC: TIM2+I+G4 + +List of models sorted by BIC scores: + +Model LogL AIC w-AIC AICc w-AICc BIC w-BIC +TIM2+I+G4 -21160.1253 42398.2506 + 0.3225 42399.8440 + 0.3374 42616.6467 + 0.9823 +TIM2+G4 -21168.2626 42412.5252 - 0.0003 42414.0382 - 0.0003 42625.3215 - 0.0128 +TIM2+R3 -21157.8348 42397.6695 + 0.4312 42399.4302 + 0.4149 42627.2655 - 0.0049 +TIM2+R4 -21156.3954 42398.7908 + 0.2461 42400.7274 + 0.2169 42639.5866 - 0.0000 +GTR+I+G4 -21174.7916 42431.5832 - 0.0000 42433.3440 - 0.0000 42661.1792 - 0.0000 +GTR+G4 -21184.8617 42449.7235 - 0.0000 42451.3995 - 0.0000 42673.7196 - 0.0000 +GTR+R3 -21173.6240 42433.2480 - 0.0000 42435.1846 - 0.0000 42674.0438 - 0.0000 +GTR+R4 -21172.0821 42434.1643 - 0.0000 42436.2852 - 0.0000 42686.1599 - 0.0000 +TPM2+R3 -21216.5176 42513.0352 - 0.0000 42514.7112 - 0.0000 42737.0313 - 0.0000 +TPM2u+R3 -21216.5766 42513.1532 - 0.0000 42514.8292 - 0.0000 42737.1493 - 0.0000 +TPM2u+I+G4 -21225.9616 42527.9233 - 0.0000 42529.4363 - 0.0000 42740.7196 - 0.0000 +TPM2+I+G4 -21226.0508 42528.1016 - 0.0000 42529.6146 - 0.0000 42740.8979 - 0.0000 +TPM2u+R4 -21212.0657 42508.1315 - 0.0000 42509.9790 - 0.0000 42743.3273 - 0.0000 +TPM2+R4 -21212.1029 42508.2058 - 0.0000 42510.0534 - 0.0000 42743.4017 - 0.0000 +TPM2u+G4 -21239.3645 42552.7290 - 0.0000 42554.1637 - 0.0000 42759.9254 - 0.0000 +TPM2+G4 -21239.6371 42553.2741 - 0.0000 42554.7088 - 0.0000 42760.4705 - 0.0000 +TIM2+R2 -21248.6390 42575.2780 - 0.0000 42576.8715 - 0.0000 42793.6742 - 0.0000 +TVM+R3 -21248.0410 42580.0820 - 0.0000 42581.9296 - 0.0000 42815.2779 - 0.0000 +TVM+I+G4 -21255.7149 42591.4298 - 0.0000 42593.1059 - 0.0000 42815.4259 - 0.0000 +TN+R4 -21252.6214 42589.2428 - 0.0000 42591.0904 - 0.0000 42824.4387 - 0.0000 +TVM+R4 -21245.7485 42579.4970 - 0.0000 42581.5246 - 0.0000 42825.8926 - 0.0000 +TIM3+R4 -21251.4315 42588.8629 - 0.0000 42590.7994 - 0.0000 42829.6587 - 0.0000 +TIM+R4 -21252.9349 42591.8698 - 0.0000 42593.8064 - 0.0000 42832.6656 - 0.0000 +TN+I+G4 -21272.1342 42620.2683 - 0.0000 42621.7813 - 0.0000 42833.0646 - 0.0000 +TN+R3 -21265.6069 42611.2138 - 0.0000 42612.8898 - 0.0000 42835.2099 - 0.0000 +TVM+G4 -21269.6678 42617.3356 - 0.0000 42618.9291 - 0.0000 42835.7318 - 0.0000 +TIM3+I+G4 -21270.6942 42619.3884 - 0.0000 42620.9819 - 0.0000 42837.7846 - 0.0000 +TIM+I+G4 -21270.7857 42619.5714 - 0.0000 42621.1649 - 0.0000 42837.9676 - 0.0000 +TN+R5 -21252.2589 42592.5178 - 0.0000 42594.5454 - 0.0000 42838.9135 - 0.0000 +TIM+R3 -21264.1506 42610.3012 - 0.0000 42612.0619 - 0.0000 42839.8972 - 0.0000 +TIM3+R3 -21264.9130 42611.8261 - 0.0000 42613.5868 - 0.0000 42841.4221 - 0.0000 +TIM3+R5 -21251.1260 42592.2519 - 0.0000 42594.3728 - 0.0000 42844.2475 - 0.0000 +TIM+R5 -21251.4376 42592.8753 - 0.0000 42594.9962 - 0.0000 42844.8709 - 0.0000 +TN+G4 -21283.4705 42640.9411 - 0.0000 42642.3757 - 0.0000 42848.1374 - 0.0000 +GTR+R2 -21269.2403 42620.4807 - 0.0000 42622.2414 - 0.0000 42850.0766 - 0.0000 +HKY+R4 -21270.2530 42622.5060 - 0.0000 42624.2667 - 0.0000 42852.1020 - 0.0000 +TIM3+G4 -21282.2371 42640.4743 - 0.0000 42641.9873 - 0.0000 42853.2706 - 0.0000 +TIM+G4 -21282.5232 42641.0463 - 0.0000 42642.5593 - 0.0000 42853.8426 - 0.0000 +TPM3u+R4 -21268.7055 42621.4110 - 0.0000 42623.2586 - 0.0000 42856.6069 - 0.0000 +TPM3+R4 -21268.8116 42621.6232 - 0.0000 42623.4707 - 0.0000 42856.8190 - 0.0000 +K3Pu+R4 -21270.0948 42624.1897 - 0.0000 42626.0373 - 0.0000 42859.3856 - 0.0000 +HKY+R3 -21283.3172 42644.6344 - 0.0000 42646.2278 - 0.0000 42863.0306 - 0.0000 +HKY+R5 -21270.2807 42626.5614 - 0.0000 42628.4980 - 0.0000 42867.3572 - 0.0000 +K3Pu+R3 -21282.5057 42645.0114 - 0.0000 42646.6874 - 0.0000 42869.0075 - 0.0000 +TPM3u+R3 -21282.5247 42645.0494 - 0.0000 42646.7255 - 0.0000 42869.0455 - 0.0000 +TPM3+R3 -21282.6247 42645.2495 - 0.0000 42646.9255 - 0.0000 42869.2455 - 0.0000 +HKY+I+G4 -21295.2814 42664.5628 - 0.0000 42665.9975 - 0.0000 42871.7592 - 0.0000 +TPM3+R5 -21268.7115 42625.4230 - 0.0000 42627.4507 - 0.0000 42871.8187 - 0.0000 +TPM3u+R5 -21268.7733 42625.5466 - 0.0000 42627.5742 - 0.0000 42871.9423 - 0.0000 +K3Pu+R5 -21270.0712 42628.1424 - 0.0000 42630.1700 - 0.0000 42874.5381 - 0.0000 +TPM3u+I+G4 -21293.9744 42663.9487 - 0.0000 42665.4617 - 0.0000 42876.7450 - 0.0000 +TPM3+I+G4 -21294.0867 42664.1733 - 0.0000 42665.6863 - 0.0000 42876.9696 - 0.0000 +K3Pu+I+G4 -21294.6396 42665.2792 - 0.0000 42666.7922 - 0.0000 42878.0755 - 0.0000 +TPM2u+R2 -21301.6963 42679.3927 - 0.0000 42680.9057 - 0.0000 42892.1889 - 0.0000 +TPM2+R2 -21301.7364 42679.4728 - 0.0000 42680.9859 - 0.0000 42892.2691 - 0.0000 +HKY+G4 -21310.5839 42693.1677 - 0.0000 42694.5262 - 0.0000 42894.7642 - 0.0000 +TPM3+G4 -21308.9371 42691.8741 - 0.0000 42693.3088 - 0.0000 42899.0705 - 0.0000 +TPM3u+G4 -21309.1899 42692.3798 - 0.0000 42693.8145 - 0.0000 42899.5761 - 0.0000 +K3Pu+G4 -21309.5407 42693.0815 - 0.0000 42694.5162 - 0.0000 42900.2778 - 0.0000 +TIM2e+I+G4 -21318.2065 42708.4130 - 0.0000 42709.7715 - 0.0000 42910.0095 - 0.0000 +TIM2e+R3 -21312.1718 42700.3436 - 0.0000 42701.8566 - 0.0000 42913.1399 - 0.0000 +TIM2e+R4 -21309.4879 42698.9757 - 0.0000 42700.6517 - 0.0000 42922.9718 - 0.0000 +TIM2e+G4 -21331.0862 42732.1724 - 0.0000 42733.4568 - 0.0000 42928.1690 - 0.0000 +SYM+R3 -21316.8611 42713.7221 - 0.0000 42715.3981 - 0.0000 42937.7182 - 0.0000 +SYM+I+G4 -21326.2855 42728.5709 - 0.0000 42730.0839 - 0.0000 42941.3672 - 0.0000 +SYM+R4 -21313.5465 42711.0930 - 0.0000 42712.9406 - 0.0000 42946.2889 - 0.0000 +SYM+G4 -21339.9460 42753.8921 - 0.0000 42755.3268 - 0.0000 42961.0884 - 0.0000 +TVM+R2 -21336.1347 42752.2693 - 0.0000 42753.9454 - 0.0000 42976.2654 - 0.0000 +TIM2e+R2 -21385.6777 42843.3554 - 0.0000 42844.7139 - 0.0000 43044.9519 - 0.0000 +TN+R2 -21396.7259 42869.4518 - 0.0000 42870.9649 - 0.0000 43082.2481 - 0.0000 +TIM+R2 -21394.6497 42867.2995 - 0.0000 42868.8930 - 0.0000 43085.6957 - 0.0000 +SYM+R2 -21398.7546 42873.5091 - 0.0000 42875.0222 - 0.0000 43086.3054 - 0.0000 +TIM3+R2 -21396.5735 42871.1470 - 0.0000 42872.7405 - 0.0000 43089.5432 - 0.0000 +TVMe+I+G4 -21421.0595 42916.1191 - 0.0000 42917.5538 - 0.0000 43123.3154 - 0.0000 +TVMe+R3 -21414.4064 42906.8129 - 0.0000 42908.4063 - 0.0000 43125.2091 - 0.0000 +TVMe+R4 -21411.4473 42904.8945 - 0.0000 42906.6553 - 0.0000 43134.4905 - 0.0000 +TVMe+G4 -21437.3106 42946.6211 - 0.0000 42947.9796 - 0.0000 43148.2176 - 0.0000 +HKY+R2 -21433.5467 42941.0935 - 0.0000 42942.5282 - 0.0000 43148.2899 - 0.0000 +K3Pu+R2 -21431.5935 42939.1870 - 0.0000 42940.7000 - 0.0000 43151.9833 - 0.0000 +TPM3+R2 -21433.4684 42942.9369 - 0.0000 42944.4499 - 0.0000 43155.7332 - 0.0000 +TPM3u+R2 -21433.5522 42943.1043 - 0.0000 42944.6173 - 0.0000 43155.9006 - 0.0000 +TVMe+R2 -21495.7253 43065.4506 - 0.0000 43066.8853 - 0.0000 43272.6470 - 0.0000 +TIM2+I -21619.2778 43314.5556 - 0.0000 43316.0687 - 0.0000 43527.3519 - 0.0000 +TPM2+I -21648.0293 43370.0586 - 0.0000 43371.4933 - 0.0000 43577.2550 - 0.0000 +TPM2u+I -21648.0936 43370.1872 - 0.0000 43371.6219 - 0.0000 43577.3836 - 0.0000 +GTR+I -21649.4981 43378.9963 - 0.0000 43380.6723 - 0.0000 43602.9923 - 0.0000 +TVM+I -21688.2211 43454.4422 - 0.0000 43456.0357 - 0.0000 43672.8384 - 0.0000 +TNe+I+G4 -21717.3490 43504.6981 - 0.0000 43505.9825 - 0.0000 43700.6946 - 0.0000 +TNe+R3 -21712.1818 43498.3635 - 0.0000 43499.7982 - 0.0000 43705.5599 - 0.0000 +TIM3e+I+G4 -21716.7031 43505.4062 - 0.0000 43506.7647 - 0.0000 43707.0027 - 0.0000 +TIM2e+I -21720.6166 43511.2332 - 0.0000 43512.5176 - 0.0000 43707.2298 - 0.0000 +TIMe+I+G4 -21717.2615 43506.5230 - 0.0000 43507.8815 - 0.0000 43708.1194 - 0.0000 +TIM3e+R3 -21711.7420 43499.4840 - 0.0000 43500.9970 - 0.0000 43712.2803 - 0.0000 +TNe+G4 -21727.2976 43522.5952 - 0.0000 43523.8076 - 0.0000 43712.9919 - 0.0000 +TIMe+R3 -21712.1230 43500.2459 - 0.0000 43501.7590 - 0.0000 43713.0422 - 0.0000 +TIM3e+G4 -21726.6481 43523.2963 - 0.0000 43524.5807 - 0.0000 43719.2928 - 0.0000 +TNe+R4 -21711.6536 43501.3072 - 0.0000 43502.9007 - 0.0000 43719.7034 - 0.0000 +TIMe+G4 -21727.3651 43524.7303 - 0.0000 43526.0147 - 0.0000 43720.7268 - 0.0000 +TIM3e+R4 -21711.1174 43502.2347 - 0.0000 43503.9108 - 0.0000 43726.2308 - 0.0000 +TIMe+R4 -21711.5310 43503.0619 - 0.0000 43504.7379 - 0.0000 43727.0580 - 0.0000 +SYM+I -21750.4106 43574.8212 - 0.0000 43576.2559 - 0.0000 43782.0176 - 0.0000 +TNe+R2 -21782.5752 43635.1504 - 0.0000 43636.4348 - 0.0000 43831.1469 - 0.0000 +TIMe+R2 -21782.2788 43636.5576 - 0.0000 43637.9161 - 0.0000 43838.1541 - 0.0000 +TIM3e+R2 -21782.5245 43637.0491 - 0.0000 43638.4076 - 0.0000 43838.6455 - 0.0000 +TN+I -21814.0083 43702.0165 - 0.0000 43703.4512 - 0.0000 43909.2129 - 0.0000 +TIM+I -21813.1376 43702.2752 - 0.0000 43703.7883 - 0.0000 43915.0715 - 0.0000 +TIM3+I -21813.3323 43702.6646 - 0.0000 43704.1777 - 0.0000 43915.4609 - 0.0000 +K2P+R3 -21827.4048 43726.8095 - 0.0000 43728.1680 - 0.0000 43928.4060 - 0.0000 +TVMe+I -21828.3907 43728.7813 - 0.0000 43730.1398 - 0.0000 43930.3778 - 0.0000 +K2P+I+G4 -21837.9445 43743.8890 - 0.0000 43745.1014 - 0.0000 43934.2857 - 0.0000 +K3P+R3 -21827.2606 43728.5212 - 0.0000 43729.9559 - 0.0000 43935.7176 - 0.0000 +K3P+R4 -21822.3297 43722.6594 - 0.0000 43724.2529 - 0.0000 43941.0556 - 0.0000 +K3P+I+G4 -21837.7993 43745.5986 - 0.0000 43746.8830 - 0.0000 43941.5952 - 0.0000 +K2P+R4 -21827.4745 43730.9489 - 0.0000 43732.4620 - 0.0000 43943.7452 - 0.0000 +HKY+I -21840.1775 43752.3550 - 0.0000 43753.7135 - 0.0000 43953.9514 - 0.0000 +K2P+G4 -21852.7274 43771.4549 - 0.0000 43772.5974 - 0.0000 43956.2516 - 0.0000 +TPM3u+I -21839.3120 43752.6240 - 0.0000 43754.0587 - 0.0000 43959.8204 - 0.0000 +TPM3+I -21839.3170 43752.6341 - 0.0000 43754.0688 - 0.0000 43959.8305 - 0.0000 +K3Pu+I -21839.4056 43752.8112 - 0.0000 43754.2459 - 0.0000 43960.0075 - 0.0000 +K3P+G4 -21852.5197 43773.0394 - 0.0000 43774.2518 - 0.0000 43963.4360 - 0.0000 +K2P+R2 -21897.0328 43862.0655 - 0.0000 43863.2779 - 0.0000 44052.4622 - 0.0000 +K3P+R2 -21896.6592 43863.3185 - 0.0000 43864.6029 - 0.0000 44059.3150 - 0.0000 +F81+R3 -21923.8055 43923.6111 - 0.0000 43925.1241 - 0.0000 44136.4073 - 0.0000 +F81+I+G4 -21932.2623 43936.5246 - 0.0000 43937.8831 - 0.0000 44138.1211 - 0.0000 +F81+R4 -21923.8832 43927.7664 - 0.0000 43929.4425 - 0.0000 44151.7625 - 0.0000 +F81+G4 -21946.3161 43962.6321 - 0.0000 43963.9165 - 0.0000 44158.6287 - 0.0000 +F81+R2 -21990.9405 44053.8809 - 0.0000 44055.2394 - 0.0000 44255.4774 - 0.0000 +TNe+I -22133.5315 44335.0630 - 0.0000 44336.2754 - 0.0000 44525.4597 - 0.0000 +TIM3e+I -22132.9502 44335.9003 - 0.0000 44337.1848 - 0.0000 44531.8969 - 0.0000 +TIMe+I -22133.0420 44336.0841 - 0.0000 44337.3685 - 0.0000 44532.0806 - 0.0000 +K2P+I -22218.5084 44503.0168 - 0.0000 44504.1593 - 0.0000 44687.8135 - 0.0000 +K3P+I -22218.0958 44504.1916 - 0.0000 44505.4041 - 0.0000 44694.5883 - 0.0000 +JC+R3 -22236.8456 44543.6913 - 0.0000 44544.9757 - 0.0000 44739.6878 - 0.0000 +JC+I+G4 -22247.3755 44560.7510 - 0.0000 44561.8936 - 0.0000 44745.5478 - 0.0000 +JC+R4 -22236.8966 44547.7932 - 0.0000 44549.2279 - 0.0000 44754.9896 - 0.0000 +JC+G4 -22261.2541 44586.5082 - 0.0000 44587.5830 - 0.0000 44765.7051 - 0.0000 +JC+R2 -22284.4447 44634.8894 - 0.0000 44636.0319 - 0.0000 44819.6861 - 0.0000 +F81+I -22325.0568 44720.1136 - 0.0000 44721.3980 - 0.0000 44916.1102 - 0.0000 +JC+I -22582.9446 45229.8891 - 0.0000 45230.9640 - 0.0000 45409.0860 - 0.0000 +TIM2 -22689.9958 45453.9915 - 0.0000 45455.4262 - 0.0000 45661.1879 - 0.0000 +TPM2u -22733.3970 45538.7939 - 0.0000 45540.1524 - 0.0000 45740.3904 - 0.0000 +TPM2 -22733.4453 45538.8906 - 0.0000 45540.2491 - 0.0000 45740.4870 - 0.0000 +TIM2e -22744.7034 45557.4068 - 0.0000 45558.6192 - 0.0000 45747.8035 - 0.0000 +GTR -22735.2867 45548.5733 - 0.0000 45550.1668 - 0.0000 45766.9695 - 0.0000 +SYM -22802.2120 45676.4241 - 0.0000 45677.7826 - 0.0000 45878.0205 - 0.0000 +TVM -22795.7682 45667.5363 - 0.0000 45669.0493 - 0.0000 45880.3326 - 0.0000 +TVMe -22874.9771 45819.9543 - 0.0000 45821.2387 - 0.0000 46015.9509 - 0.0000 +TN -22972.5515 46017.1029 - 0.0000 46018.4614 - 0.0000 46218.6994 - 0.0000 +TIM3 -22968.8888 46011.7775 - 0.0000 46013.2122 - 0.0000 46218.9739 - 0.0000 +TIM -22972.2449 46018.4898 - 0.0000 46019.9245 - 0.0000 46225.6861 - 0.0000 +TPM3u -23014.1858 46100.3716 - 0.0000 46101.7301 - 0.0000 46301.9680 - 0.0000 +TPM3 -23014.2004 46100.4008 - 0.0000 46101.7593 - 0.0000 46301.9973 - 0.0000 +HKY -23018.1182 46106.2364 - 0.0000 46107.5208 - 0.0000 46302.2330 - 0.0000 +K3Pu -23017.8428 46107.6855 - 0.0000 46109.0440 - 0.0000 46309.2820 - 0.0000 +TNe -23212.9145 46491.8289 - 0.0000 46492.9715 - 0.0000 46676.6257 - 0.0000 +TIM3e -23211.5407 46491.0814 - 0.0000 46492.2938 - 0.0000 46681.4781 - 0.0000 +TIMe -23212.4744 46492.9488 - 0.0000 46494.1612 - 0.0000 46683.3455 - 0.0000 +K2P -23306.0536 46676.1072 - 0.0000 46677.1820 - 0.0000 46855.3040 - 0.0000 +K3P -23305.5581 46677.1162 - 0.0000 46678.2588 - 0.0000 46861.9130 - 0.0000 +F81 -23444.4253 46956.8506 - 0.0000 46958.0630 - 0.0000 47147.2472 - 0.0000 +JC -23650.0899 47362.1799 - 0.0000 47363.1890 - 0.0000 47535.7768 - 0.0000 + +AIC, w-AIC : Akaike information criterion scores and weights. +AICc, w-AICc : Corrected AIC scores and weights. +BIC, w-BIC : Bayesian information criterion scores and weights. + +Plus signs denote the 95% confidence sets. +Minus signs denote significant exclusion. + +SUBSTITUTION PROCESS +-------------------- + +Model of substitution: TIM2+F+I+G4 + +Rate parameter R: + + A-C: 5.5798 + A-G: 7.6446 + A-T: 5.5798 + C-G: 1.0000 + C-T: 22.6217 + G-T: 1.0000 + +State frequencies: (empirical counts from alignment) + + pi(A) = 0.3547 + pi(C) = 0.2282 + pi(G) = 0.1919 + pi(T) = 0.2252 + +Rate matrix Q: + + A -0.7493 0.2387 0.275 0.2355 + C 0.371 -1.362 0.03598 0.9549 + G 0.5083 0.04278 -0.5933 0.04221 + T 0.371 0.9679 0.03598 -1.375 + +Model of rate heterogeneity: Invar+Gamma with 4 categories +Proportion of invariable sites: 0.1569 +Gamma shape alpha: 0.7355 + + Category Relative_rate Proportion + 0 0 0.1569 + 1 0.09699 0.2108 + 2 0.4505 0.2108 + 3 1.112 0.2108 + 4 3.085 0.2108 +Relative rates are computed as MEAN of the portion of the Gamma distribution falling in the category. + +MAXIMUM LIKELIHOOD TREE +----------------------- + +Log-likelihood of the tree: -21152.5230 (s.e. 336.3215) +Unconstrained log-likelihood (without tree): -11402.5956 +Number of free parameters (#branches + #model parameters): 39 +Akaike information criterion (AIC) score: 42383.0459 +Corrected Akaike information criterion (AICc) score: 42384.6394 +Bayesian information criterion (BIC) score: 42601.4421 + +Total tree length (sum of branch lengths): 4.2181 +Sum of internal branch lengths: 0.9937 (23.5571% of tree length) + +NOTE: Tree is UNROOTED although outgroup taxon 'LngfishAu' is drawn at root + ++-------------LngfishAu +| +| +--------------LngfishSA ++-------| +| +------------LngfishAf +| +| +--------------------Frog ++------| + | +-----------------Turtle + | +--| + | | | +------------------------Crocodile + | | +----| + | | +------------------Bird + | +--| + | | +---------------------------Sphenodon + | +-----| + | | +-------------------------------Lizard + +---------| + | +--------------Human + | +--| + | | | +------Seal + | | +--| + | | | +-----Cow + | | +--| + | | +-------Whale + | +----| + | | | +---Mouse + | | +---------| + | | +------Rat + +-----------| + | +--------------Platypus + +--| + +-----------Opossum + +Tree in newick format: + +(LngfishAu:0.1709519888,(LngfishSA:0.1883579142,LngfishAf:0.1648474816):0.107332,(Frog:0.2562149228,((((Turtle:0.2215191137,(Crocodile:0.3056550970,Bird:0.2310048894):0.065125):0.036481,Sphenodon:0.3446565270):0.020436,Lizard:0.3860316284):0.074012,(((Human:0.1851770633,(Seal:0.0944375198,(Cow:0.0822961848,Whale:0.1013001060):0.040436):0.025251):0.034057,(Mouse:0.0584154004,Rat:0.0905565155):0.121811):0.060725,(Platypus:0.1920225418,Opossum:0.1510208553):0.037321):0.149062):0.127567):0.094053); + +TIME STAMP +---------- + +Date and time: Thu Oct 26 15:24:23 2017 +Total CPU time used: 94.9507 seconds (0h:1m:34s) +Total wall-clock time used: 34.2452 seconds (0h:0m:34s) + diff --git a/lib/galaxy/datatypes/text.py b/lib/galaxy/datatypes/text.py index aca40c5e358e..33bdec723060 100644 --- a/lib/galaxy/datatypes/text.py +++ b/lib/galaxy/datatypes/text.py @@ -549,3 +549,33 @@ def set_peek(self, dataset, is_multi_byte=False): else: dataset.peek = 'file does not exist' dataset.blurb = 'file purged from disc' + + +class IQTree(Text): + """IQ-TREE format""" + file_ext = 'iqtree' + + def sniff(self, filename): + """ + Detect the IQTree file + + Scattered text file containing various headers and data + types. + + >>> from galaxy.datatypes.sniff import get_test_fname + >>> fname = get_test_fname('example.iqtree') + >>> IQTree().sniff(fname) + True + + >>> fname = get_test_fname('temp.txt') + >>> IQTree().sniff(fname) + False + + >>> fname = get_test_fname('test_tab1.tabular') + >>> IQTree().sniff(fname) + False + """ + with open(filename, 'r') as fio: + return fio.read(7) == "IQ-TREE" + + return False