Repository 'phyml'
hg clone https://toolshed.g2.bx.psu.edu/repos/iuc/phyml

Changeset 1:034f76ead49a (2020-01-20)
Previous changeset 0:850e213bee26 (2019-05-28) Next changeset 2:2bf47d57ebb5 (2020-06-22)
Commit message:
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/phyml commit 7262445f852345ec93762ff94642507a2b63f0cd"
modified:
phyml.xml
removed:
test-data/phylip_phyml_tree.txt
b
diff -r 850e213bee26 -r 034f76ead49a phyml.xml
--- a/phyml.xml Tue May 28 13:53:56 2019 -0400
+++ b/phyml.xml Mon Jan 20 12:45:54 2020 -0500
[
b'@@ -1,193 +1,200 @@\n-<tool id="phyml" name="PhyML" version="3.3.20190321">\r\n-    <description>Phylogeny software based on the maximum-likelihood</description>\r\n-    <requirements>\r\n-        <requirement type="package" version="3.3.20190321">phyml</requirement>\r\n-    </requirements>\r\n-    <version_command>\r\n-        <![CDATA[ phyml --version ]]>\r\n-    </version_command>\r\n-    <command detect_errors="default">\r\n-        <![CDATA[\r\n-          ##PhyML outputs are based on input path and we need to create outputs in working_dir.\r\n-          ln -sf \'$input\' \'${input.name}\' &&\r\n-          #if $userInputTree:\r\n-          ln -sf \'${$userInputTree}\' \'${$userInputTree.name}\' && \r\n-          #end if\r\n-\r\n-          phyml --input \'${input.name}\'\r\n-                \'${phylip_format}\'\r\n-                --datatype \'${seq.type_of_seq}\'\r\n-                --multiple \'${nb_data_set}\'\r\n-                \r\n-                #if (str($support_condition.branchSupport) in [\'0\',\'-1\',\'-2\',\'-4\',\'-5\']):\r\n-                    --bootstrap \'${support_condition.branchSupport}\'\r\n-                #else:\r\n-                    --bootstrap \'${support_condition.branchSupport.replicate}\'\r\n-                #end if\r\n-                    \r\n-                #if $seq.type_of_seq == "nt":\r\n-                    -t \'${seq.tstv}\'\r\n-                #end if\r\n-            \r\n-                --model \'${seq.model}\'\r\n-                -f \'${equi_freq}\'\r\n-                --pinv \'${prop_invar}\'\r\n-                \r\n-                --nclasses \'${nbSubstCat}\'\r\n-                \r\n-                #if (str($nbSubstCat) != "1"):\r\n-                    --alpha \'${gamma}\'\r\n-                #end if\r\n-\r\n-                --search \'${move}\'\r\n-                -o \'${optimisationTopology}\'\r\n-                \r\n-                #if $userInputTree:\r\n-                    --inputtree \'${$userInputTree.name}\'\r\n-                #end if\r\n-                \r\n-                #if $numStartSeed != "0":\r\n-                    --r_seed \'${numStartSeed}\'\r\n-                #end if\r\n-                \r\n-                --no_memory_check > \'${output_stdout}\' && \r\n-                grep \'failed\' \'${output_stdout}\' >&2;\r\n-        ]]>\r\n-    </command>\r\n-    <inputs>\r\n-        <param name="input" type="data" format="phylip,phy" label="Alignment file" help="phylip format"/>\r\n-        <param name="phylip_format" type="select"  label="Changes interleaved format">\r\n-            <option value="">Interleaved</option>\r\n-            <option value="--sequential">Sequential</option>\r\n-        </param> \r\n-        <param name="nb_data_set" type="integer" min="1" value="1" label="Number of data sets" />\r\n-        <conditional name="seq">\r\n-            <param name="type_of_seq" type="select"  label="Data type">\r\n-                <option value="nt">Nucleic acids</option>\r\n-                <option value="aa">Amino acids</option>\r\n-            </param>\r\n-            <when value="nt">\r\n-               <param name="tstv" type="text" value="e" label="Transition/transversion ratio" help="Must be a positive integer, \'e\' if you want PhyML to estimate it"  />\r\n-               <param name="model" type="select" label="Substitution model">\r\n-                    <option value="HKY85">HKY85</option>\r\n-                    <option value="JC69">JC69</option>\r\n-                    <option value="K80">K80</option>\r\n-                    <option value="F81">F81</option>\r\n-                    <option value="F84">F84</option>\r\n-                    <option value="TN93">TN93</option>\r\n-                    <option value="GTR">GTR</option>\r\n-                </param>\r\n-            </when>\r\n-            <when value="aa">\r\n-                <param name="model" type="select" label="Evolution model">\r\n-                    <option value="LG">LG</option>\r\n-                    <option value="WAG">WAG</option>\r\n-                    <option value="JTT">JTT</option>\r\n-                    <option value="MtREV">MtREV</option>\r\n-                    <option value="Dayhoff">Dayhoff</'..b' aLRT statistics</option>\n+                <option value="-2">likelihood Chi2-based</option>\n+                <option value="-4" selected=\'true\'>SH-like</option>\n+                <option value="-5">Approximate Bayes branch supports</option>\n+            </param>  \n+            <when value="0"/>\n+            <when value="-1"/>\n+            <when value="-2"/>\n+            <when value="-4"/>\n+            <when value="-5"/>\n+            <when value="1">\n+                <param name="replicate" type="integer" min="1" value="100" label="Number of bootstrap replicates" help="Must be a positive integer" />\n+            </when>\n+        </conditional>\n+        <param name="numStartSeed" type="integer" value="0" label="Number of seed used to initiate the random number generator" help="0 to random seed"/>\n+        <param name="userInputTree" optional="True" type="data" format="nhx" label="Tree file" help="newick format"/>\n+    </inputs>\n+    <outputs>\n+        <data name="output_tree" format="nhx" label="PhyML Newick tree: ${input.name}.nwk" from_work_dir="*_phyml_tree.txt" />\n+        <data name="output_stats" format="txt" label="PhyML Statistic: ${input.name}.stats.txt" from_work_dir="*_phyml_stats.txt"/>\n+        <data name="output_stdout" format="txt" label="PhyML Stdout: ${input.name}"/>\n+    </outputs>\n+    <tests>\n+        <test>\n+            <param name="input" value="phylip" />\n+            <param name="prop_invar" value="0"/>\n+            <param name="type_of_seq" value="nt" />\n+            <param name="numStartSeed" value="1458308600" />\n+            <output name="output_tree">\n+               <assert_contents>\n+                   <has_text text="Rhes_cDNA:0.0"/>\n+                   <has_text text="Baboon:0.0"/>\n+                   <has_text text="Orangutan:0.0"/>\n+                   <has_text text="Gibbon:0.0"/>\n+                   <has_text text="Human:0.0"/>\n+                   <has_text text="Chimp:0.0"/>\n+               </assert_contents>\n+            </output>\n+            <output name="output_stats" file="phylip_phyml_stats.txt" lines_diff="4"/>\n+        </test>\n+    </tests>\n+    <help>\n+    <![CDATA[ \n+.. class:: infomark\n+\n+#########\n+PhyML 3.3\n+#########\n+\n+A simple, fast, and accurate algorithm to estimate\n+large phylogenies by maximum likelihood\'\'\n+\n+==========\n+ Overview:\n+==========\n+\n+PhyML is a phylogeny software based on the maximum-likelihood principle. Early PhyML versions used a fast algorithm to perform Nearest Neighbor Interchanges (NNIs), in order to improve a reasonable starting tree topology. Since the original publication (Guindon and Gascuel 2003), PhyML has been widely used due to its simplicity and a fair accuracy/speed compromise. In the mean time research around PhyML has continued. \n+\n+We designed an efficient algorithm to search the tree space using Subtree Pruning and Regrafting (SPR) topological moves (Hordijk and Gascuel 2005), and proposed a fast branch test based on an approximate likelihood ratio test (Anisimova and Gascuel 2006). However, these novelties were not included in the official version of PhyML, and we found that improvements were still needed in order to make them effective in some practical cases. PhyML 3.0 achieves this task. \n+\n+It implements new algorithms to search the space of tree topologies with user-defined intensity. A non-parametric, Shimodaira-Hasegawa-like branch test is also available. The program provides a number of new evolutionary models and its interface was entirely re-designed. We tested PhyML 3.0 on a large collection of real data sets to ensure that the new version is stable, ready-to-use and still reasonably fast and accurate. \n+\n+-----\n+\n+\n+For further informations, please visite the PhyML_ website.\n+\n+.. _PhyML: http://www.atgc-montpellier.fr/phyml/\n+\n+Please cite this paper if you use this software in your publications.\n+\n+\n+ ]]>\n+    </help>\n+    <citations>\n+       <citation type="doi">10.1093/sysbio/syq010</citation> \n+    </citations>\n+</tool>\n'
b
diff -r 850e213bee26 -r 034f76ead49a test-data/phylip_phyml_tree.txt
--- a/test-data/phylip_phyml_tree.txt Tue May 28 13:53:56 2019 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
b
@@ -1,1 +0,0 @@
-(Rhes_cDNA:0.00610079,Baboon:0.00267125,((Orangutan:0.01236826,Gibbon:0.02385561)0.383000:0.00155066,(Gorilla:0.00543095,(Human:0.00669916,Chimp:0.00204380)0.855000:0.00130396)0.988000:0.00719346)1.000000:0.05541189);