comparison iqtree.xml @ 11:563c3aa769f2 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/iqtree/ commit 72a0164fcc4430240241ac057974f8bb87b4e04f"
author iuc
date Mon, 27 Sep 2021 15:55:35 +0000
parents b8476e82ac20
children 9b892d7f82cc
comparison
equal deleted inserted replaced
10:b8476e82ac20 11:563c3aa769f2
1 <tool id="iqtree" name="IQ-TREE" version="@TOOL_VERSION@+@VERSION_SUFFIX@" > 1 <tool id="iqtree" name="IQ-TREE" version="@TOOL_VERSION@+@VERSION_SUFFIX@" >
2 <description>Phylogenomic / evolutionary tree construction from multiple sequences</description> 2 <description>Phylogenomic / evolutionary tree construction from multiple sequences</description>
3 <macros> 3 <macros>
4 <token name="@VERSION_SUFFIX@">galaxy1</token> 4 <token name="@VERSION_SUFFIX@">galaxy2</token>
5 <import>iqtree_macros.xml</import> 5 <import>iqtree_macros.xml</import>
6 </macros> 6 </macros>
7 <expand macro="requirements" /> 7 <expand macro="requirements" />
8 <command detect_errors="exit_code"><![CDATA[ 8 <command detect_errors="exit_code"><![CDATA[
9 iqtree 9 iqtree
25 #end if 25 #end if
26 26
27 ## file 27 ## file
28 #if $general_options.t 28 #if $general_options.t
29 -t '$general_options.t' 29 -t '$general_options.t'
30 $tree_parameters.constructing_consensus.con_tree 30 $tree_parameters.constructing_consensus.contree
31 $tree_parameters.constructing_consensus.con_net 31 $tree_parameters.constructing_consensus.connet
32 #if str($tree_parameters.constructing_consensus.burnin) != '' 32 #if str($tree_parameters.constructing_consensus.burnin) != ''
33 --burnin '$tree_parameters.constructing_consensus.burnin' 33 --burnin '$tree_parameters.constructing_consensus.burnin'
34 #end if 34 #end if
35 35
36 ## file 36 ## file
41 #if str($tree_parameters.constructing_consensus.suptag) != '' 41 #if str($tree_parameters.constructing_consensus.suptag) != ''
42 --suptag '$tree_parameters.constructing_consensus.suptag' 42 --suptag '$tree_parameters.constructing_consensus.suptag'
43 #end if 43 #end if
44 44
45 ## file 45 ## file
46 #if $tree_parameters.computing_robinson_foulds.rf 46 #if $tree_parameters.computing_robinson_foulds.tree_dist_all
47 -rf '$tree_parameters.computing_robinson_foulds.rf'
48 $tree_parameters.computing_robinson_foulds.tree_dist_all 47 $tree_parameters.computing_robinson_foulds.tree_dist_all
49 $tree_parameters.computing_robinson_foulds.rf_adj 48 --tree-dist $tree_parameters.computing_robinson_foulds.tree_dist
49 --tree-dist2 $tree_parameters.computing_robinson_foulds.tree_dist2
50 #end if 50 #end if
51 $tree_parameters.ancestral_state.ancestral 51 $tree_parameters.ancestral_state.ancestral
52 #if $tree_parameters.ancestral_state.asr_min: 52 #if $tree_parameters.ancestral_state.asr_min:
53 --asr-min $tree_parameters.ancestral_state.asr_min 53 --asr-min $tree_parameters.ancestral_state.asr_min
54 #end if 54 #end if
600 <param argument="--test" type="integer" optional="true" label="Specify the number of RELL (Kishino et al., 1990) replicates (&gt;=1000) to perform several tree topology tests for all trees passed via -z" help="The tests include bootstrap proportion (BP), KH test (Kishino and Hasegawa, 1989), SH test (Shimodaira and Hasegawa, 1999) and expected likelihood weights (ELW) (Strimmer and Rambaut, 2002)."/> 600 <param argument="--test" type="integer" optional="true" label="Specify the number of RELL (Kishino et al., 1990) replicates (&gt;=1000) to perform several tree topology tests for all trees passed via -z" help="The tests include bootstrap proportion (BP), KH test (Kishino and Hasegawa, 1989), SH test (Shimodaira and Hasegawa, 1999) and expected likelihood weights (ELW) (Strimmer and Rambaut, 2002)."/>
601 <param argument="--test-weight" type="boolean" truevalue="--test-weight" falsevalue="" checked="false" label="Used together with --test to additionally perform the weighted-KH and weighted-SH tests."/> 601 <param argument="--test-weight" type="boolean" truevalue="--test-weight" falsevalue="" checked="false" label="Used together with --test to additionally perform the weighted-KH and weighted-SH tests."/>
602 <param argument="--test-au" type="boolean" truevalue="--test-au" falsevalue="" checked="false" label="Used together with --test to additionally perform the approximately unbiased (AU) test (Shimodaira, 2002)" help="Note that you have to specify the number of replicates for the AU test via -test."/> 602 <param argument="--test-au" type="boolean" truevalue="--test-au" falsevalue="" checked="false" label="Used together with --test to additionally perform the approximately unbiased (AU) test (Shimodaira, 2002)" help="Note that you have to specify the number of replicates for the AU test via -test."/>
603 </section> 603 </section>
604 <section name="constructing_consensus" expanded="False" title="Constructing consensus tree"> 604 <section name="constructing_consensus" expanded="False" title="Constructing consensus tree">
605 <param argument="--con-tree" type="boolean" truevalue="--con-tree" falsevalue="" checked="false" label="Compute consensus tree of the trees passed via -t" help="Resulting consensus tree is written to .contree file."/> 605 <param argument="--contree" type="boolean" truevalue="--contree" falsevalue="" checked="false" label="Compute consensus tree of the trees passed via -t" help="Resulting consensus tree is written to .contree file."/>
606 <param argument="--con-net" type="boolean" truevalue="--con-net" falsevalue="" checked="false" label="Compute consensus network of the trees passed via -t" help="Resulting consensus network is written to .nex file."/> 606 <param argument="--connet" type="boolean" truevalue="--connet" falsevalue="" checked="false" label="Compute consensus network of the trees passed via -t" help="Resulting consensus network is written to .nex file."/>
607 <param argument="--sup-min" type="float" value="0.0" optional="true" label="Specify a minimum threshold (between 0 and 1) to keep branches in the consensus tree"/> 607 <param argument="--sup-min" type="float" value="0.0" optional="true" label="Specify a minimum threshold (between 0 and 1) to keep branches in the consensus tree"/>
608 <param argument="--burnin" type="integer" optional="true" label="Specify a burn-in, which is the number of beginning trees passed via -t to discard before consensus construction" help="This is useful e.g. when summarizing trees from MrBayes analysis."/> 608 <param argument="--burnin" type="integer" optional="true" label="Specify a burn-in, which is the number of beginning trees passed via -t to discard before consensus construction" help="This is useful e.g. when summarizing trees from MrBayes analysis."/>
609 <param argument="--support" type="data" format="nhx" optional="true" label="Specify an input “target” tree file" help="That means, support values are first extracted from the trees passed via -t, and then mapped onto the target tree. Resulting tree with assigned support values is written to .suptree file. This option is useful to map and compare support values from different approaches onto a single tree."/> 609 <param argument="--support" type="data" format="nhx" optional="true" label="Specify an input “target” tree file" help="That means, support values are first extracted from the trees passed via -t, and then mapped onto the target tree. Resulting tree with assigned support values is written to .suptree file. This option is useful to map and compare support values from different approaches onto a single tree."/>
610 <param argument="--suptag" type="text" optional="true" label="Specify name of a node in -sup target tree" help="The corresponding node of .suptree will then be assigned with IDs of trees where this node appears. Special option --suptag ALL will assign such IDs for all nodes of the target tree."/> 610 <param argument="--suptag" type="text" optional="true" label="Specify name of a node in -sup target tree" help="The corresponding node of .suptree will then be assigned with IDs of trees where this node appears. Special option --suptag ALL will assign such IDs for all nodes of the target tree."/>
611 </section> 611 </section>
684 </section> 684 </section>
685 </inputs> 685 </inputs>
686 <outputs> 686 <outputs>
687 <data name="bionj" format="nhx" from_work_dir="*.bionj" label="${tool.name} on ${on_string}: BIONJ Tree" /> 687 <data name="bionj" format="nhx" from_work_dir="*.bionj" label="${tool.name} on ${on_string}: BIONJ Tree" />
688 <data name="treefile" format="nhx" from_work_dir="*.treefile" label="${tool.name} on ${on_string}: MaxLikelihood Tree" /> 688 <data name="treefile" format="nhx" from_work_dir="*.treefile" label="${tool.name} on ${on_string}: MaxLikelihood Tree" />
689 <data name="contree" format="nhx" from_work_dir="*.contree" label="${tool.name} on ${on_string}: Consensus Tree" /> 689 <data name="consensus_tree" format="nhx" from_work_dir="*.contree" label="${tool.name} on ${on_string}: Consensus Tree">
690 <filter>tree_parameters['constructing_consensus']['contree']</filter>
691 </data>
690 <data name="mldist" format="mldist" from_work_dir="*.mldist" label="${tool.name} on ${on_string}: MaxLikelihood Distance Matrix"/> 692 <data name="mldist" format="mldist" from_work_dir="*.mldist" label="${tool.name} on ${on_string}: MaxLikelihood Distance Matrix"/>
691 <data name="splits" format="nex" from_work_dir="*.splits.nex" label="${tool.name} on ${on_string}: Occurence Frequencies in Bootstrap Trees" /> 693 <data name="splits" format="nex" from_work_dir="*.splits.nex" label="${tool.name} on ${on_string}: Occurence Frequencies in Bootstrap Trees" />
692 <data name="iqtree" format="iqtree" from_work_dir="*.iqtree" label="${tool.name} on ${on_string}: Report and Final Tree" /> 694 <data name="iqtree" format="iqtree" from_work_dir="*.iqtree" label="${tool.name} on ${on_string}: Report and Final Tree" />
693 <data name="mlrate" format="data" from_work_dir="*.mlrate" label="${tool.name} on ${on_string}: ML Rates"> 695 <data name="mlrate" format="data" from_work_dir="*.mlrate" label="${tool.name} on ${on_string}: ML Rates">
694 <filter>modelling_parameters['rate_heterogeneity']['mlrate']</filter> 696 <filter>modelling_parameters['rate_heterogeneity']['mlrate']</filter>
699 <data name="lsd_report" format="txt" from_work_dir="PREF.timetree.lsd" label="${tool.name} on ${on_string}: LSD Report"> 701 <data name="lsd_report" format="txt" from_work_dir="PREF.timetree.lsd" label="${tool.name} on ${on_string}: LSD Report">
700 <filter>time_tree['date_source']['select_source'] != 'none'</filter> 702 <filter>time_tree['date_source']['select_source'] != 'none'</filter>
701 </data> 703 </data>
702 </outputs> 704 </outputs>
703 <tests> 705 <tests>
704 <test expect_num_outputs="6"> 706 <test expect_num_outputs="5">
705 <param name="seed" value="1257" /> 707 <param name="seed" value="1257" />
706 <param name="seqtype" value="AA" /> 708 <param name="seqtype" value="AA" />
707 <param name="s" value="example.phy" /> 709 <param name="s" value="example.phy" />
708 <param name="m" value="TEST" /> 710 <param name="m" value="TEST" />
709 <param name="msub" value="nuclear" /> 711 <param name="msub" value="nuclear" />
731 <output name="treefile"> 733 <output name="treefile">
732 <assert_contents> 734 <assert_contents>
733 <has_line_matching expression="\(LngfishAu:(\d|\..)+,\(LngfishSA:(\d.)+,.*" /> 735 <has_line_matching expression="\(LngfishAu:(\d|\..)+,\(LngfishSA:(\d.)+,.*" />
734 </assert_contents> 736 </assert_contents>
735 </output> 737 </output>
736 <output name="contree"> 738 <output name="consensus_tree">
737 <assert_contents> 739 <assert_contents>
738 <has_line_matching 740 <has_line_matching
739 expression="\(LngfishAu:(\d|\..)+,\(LngfishSA:(\d.)+,.*\)\d+:(\d|\.)+,.*" /> 741 expression="\(LngfishAu:(\d|\..)+,\(LngfishSA:(\d.)+,.*\)\d+:(\d|\.)+,.*" />
740 </assert_contents> 742 </assert_contents>
741 </output> 743 </output>
744 <has_line line="BEGIN Splits;" /> 746 <has_line line="BEGIN Splits;" />
745 <has_line line="END; [Splits]" /> 747 <has_line line="END; [Splits]" />
746 </assert_contents> 748 </assert_contents>
747 </output> 749 </output>
748 </test> 750 </test>
749 <test expect_num_outputs="6"> 751 <test expect_num_outputs="5">
750 <!-- bootstrap sans model --> 752 <!-- bootstrap sans model -->
751 <param name="seed" value="1257" /> 753 <param name="seed" value="1257" />
752 <param name="seqtype" value="AA" /> 754 <param name="seqtype" value="AA" />
753 <param name="s" value="example.phy" /> 755 <param name="s" value="example.phy" />
754 <!-- <param name="m" value="TESTONLY" /> --> 756 <!-- <param name="m" value="TESTONLY" /> -->
778 <assert_contents> 780 <assert_contents>
779 <has_line_matching expression="\(LngfishAu:(\d|\..)+,\(LngfishSA:(\d.)+,.*" /> 781 <has_line_matching expression="\(LngfishAu:(\d|\..)+,\(LngfishSA:(\d.)+,.*" />
780 </assert_contents> 782 </assert_contents>
781 </output> 783 </output>
782 </test> 784 </test>
783 <test expect_num_outputs="6"> 785 <test expect_num_outputs="5">
784 <!-- model sans bootstrap --> 786 <!-- model sans bootstrap -->
785 <param name="seed" value="1257" /> 787 <param name="seed" value="1257" />
786 <param name="seqtype" value="AA" /> 788 <param name="seqtype" value="AA" />
787 <param name="s" value="example.phy" /> 789 <param name="s" value="example.phy" />
788 <param name="m" value="TESTONLY" /> 790 <param name="m" value="TESTONLY" />
812 <assert_contents> 814 <assert_contents>
813 <has_line_matching expression="\(LngfishAu:(\d|\..)+,\(LngfishSA:(\d.)+,.*" /> 815 <has_line_matching expression="\(LngfishAu:(\d|\..)+,\(LngfishSA:(\d.)+,.*" />
814 </assert_contents> 816 </assert_contents>
815 </output> 817 </output>
816 </test> 818 </test>
817 <test expect_num_outputs="6"> 819 <test expect_num_outputs="5">
818 <param name="s" value="example.phy" /> 820 <param name="s" value="example.phy" />
819 <output name="iqtree"> 821 <output name="iqtree">
820 <assert_contents> 822 <assert_contents>
821 <has_text_matching expression=".*Human.*Whale.*" /> 823 <has_text_matching expression=".*Human.*Whale.*" />
822 </assert_contents> 824 </assert_contents>
825 <assert_contents> 827 <assert_contents>
826 <has_text_matching expression="\(LngfishAu:(\d|\..)+,\(LngfishSA:(\d.)+,.*" /> 828 <has_text_matching expression="\(LngfishAu:(\d|\..)+,\(LngfishSA:(\d.)+,.*" />
827 </assert_contents> 829 </assert_contents>
828 </output> 830 </output>
829 </test> 831 </test>
830 <test expect_num_outputs="6"> 832 <test expect_num_outputs="5">
831 <param name="s" value="example.phy" /> 833 <param name="s" value="example.phy" />
832 <param name="opt_custommodel" value="true" /> 834 <param name="opt_custommodel" value="true" />
833 <param name="m" value="GTR+G{0.9}" /> 835 <param name="m" value="GTR+G{0.9}" />
834 <output name="iqtree"> 836 <output name="iqtree">
835 <assert_contents> 837 <assert_contents>
840 <assert_contents> 842 <assert_contents>
841 <has_text_matching expression="\(LngfishAu:(\d|\..)+,\(LngfishSA:(\d.)+,.*" /> 843 <has_text_matching expression="\(LngfishAu:(\d|\..)+,\(LngfishSA:(\d.)+,.*" />
842 </assert_contents> 844 </assert_contents>
843 </output> 845 </output>
844 </test> 846 </test>
845 <test expect_num_outputs="6"> 847 <test expect_num_outputs="5">
846 <param name="s" value="short.fasta" /> 848 <param name="s" value="short.fasta" />
847 <param name="short_alignments" value="true" /> 849 <param name="short_alignments" value="true" />
848 <output name="treefile"> 850 <output name="treefile">
849 <assert_contents> 851 <assert_contents>
850 <has_line_matching expression="\(NC_045512.+\(MT019531.+MT019532.+" /> 852 <has_line_matching expression="\(NC_045512.+\(MT019531.+MT019532.+" />
851 </assert_contents> 853 </assert_contents>
852 </output> 854 </output>
853 </test> 855 </test>
854 <test expect_num_outputs="8"> 856 <test expect_num_outputs="7">
855 <param name="s" value="dates.fa" /> 857 <param name="s" value="dates.fa" />
856 <param name="n" value="100" /> 858 <param name="n" value="100" />
857 <param name="seed" value="122125" /> 859 <param name="seed" value="122125" />
858 <param name="select_source" value="dataset" /> 860 <param name="select_source" value="dataset" />
859 <param name="date" value="dates.tabular" /> 861 <param name="date" value="dates.tabular" />