comparison gene_family_phylogeny_builder.xml @ 5:34ca28db0a5d draft

Uploaded
author greg
date Wed, 30 Aug 2017 13:11:48 -0400
parents 1134528b93cc
children a7867769a706
comparison
equal deleted inserted replaced
4:1134528b93cc 5:34ca28db0a5d
1 <tool id="plant_tribes_gene_family_phylogeny_builder" name="GeneFamilyPhylogenyBuilder" version="@WRAPPER_VERSION@.2"> 1 <tool id="plant_tribes_gene_family_phylogeny_builder" name="GeneFamilyPhylogenyBuilder" version="@WRAPPER_VERSION@.2.1">
2 <description>builds phylogenetic trees of aligned orthologous gene family clusters</description> 2 <description>builds phylogenetic trees of aligned orthologous gene family clusters</description>
3 <macros> 3 <macros>
4 <import>macros.xml</import> 4 <import>macros.xml</import>
5 </macros> 5 </macros>
6 <expand macro="requirements_gene_family_phylogeny_builder" /> 6 <expand macro="requirements_gene_family_phylogeny_builder" />
14 #set rooting_order = $rooting_order_file_cond.rooting_order 14 #set rooting_order = $rooting_order_file_cond.rooting_order
15 #end if 15 #end if
16 #set bootstrap_replicates = $tree_inference_cond.bootstrap_replicates 16 #set bootstrap_replicates = $tree_inference_cond.bootstrap_replicates
17 #end if 17 #end if
18 18
19 python '$__tool_directory__/gene_family_phylogeny_builder.py' 19 GeneFamilyPhylogenyBuilder
20 #if str($input_format) == 'ptalign': 20 #if str($input_format) == 'ptalign':
21 --orthogroup_aln '$input_format_cond.input_ptalign.extra_files_path' 21 --orthogroup_aln '$input_format_cond.input_ptalign.extra_files_path'
22 --alignment_type aln 22 --alignment_type aln
23 --sequence_type protein 23 --sequence_type protein
24 #else if str($input_format) == 'ptalignca': 24 #else if str($input_format) == 'ptalignca':
51 --rooting_order '$rooting_order' 51 --rooting_order '$rooting_order'
52 ## No else block needed here because the default rooting_order 52 ## No else block needed here because the default rooting_order
53 ## configuration will be used if the --rooting_order flag is missing. 53 ## configuration will be used if the --rooting_order flag is missing.
54 #end if 54 #end if
55 --bootstrap_replicates $bootstrap_replicates 55 --bootstrap_replicates $bootstrap_replicates
56 --output_phylip '$output_phylip'
57 --output_phylip_dir '$output_phylip.files_path'
58 #end if 56 #end if
59 --min_orthogroup_size $min_orthogroup_size 57 --min_orthogroup_size $min_orthogroup_size
60 --max_orthogroup_size $max_orthogroup_size 58 --max_orthogroup_size $max_orthogroup_size
61 --num_threads \${GALAXY_SLOTS:-4} 59 --num_threads \${GALAXY_SLOTS:-4}
62 #if str($output_pttree_dir) == 'yes':
63 --output_tree '$output_tree'
64 --output_tree_dir '$output_tree.files_path'
65 #end if
66 ]]></command> 60 ]]></command>
67 <inputs> 61 <inputs>
68 <conditional name="input_format_cond"> 62 <conditional name="input_format_cond">
69 <param name="input_format" type="select" label="Orthogroup alignments"> 63 <param name="input_format" type="select" label="Orthogroup alignments">
70 <option value="ptalign">Proteins orthogroup alignments</option> 64 <option value="ptalign">Proteins orthogroup alignments</option>
130 </when> 124 </when>
131 <when value="fasttree" /> 125 <when value="fasttree" />
132 </conditional> 126 </conditional>
133 <param name="max_orthogroup_size" type="integer" value="100" min="4" label="Maximum orthogroup size" /> 127 <param name="max_orthogroup_size" type="integer" value="100" min="4" label="Maximum orthogroup size" />
134 <param name="min_orthogroup_size" type="integer" value="4" min="4" label="Minimum orthogroup size" /> 128 <param name="min_orthogroup_size" type="integer" value="4" min="4" label="Minimum orthogroup size" />
135 <param name="output_pttree_dir" type="select" label="Output additional directory of phylogenetic tree files?">
136 <option value="no" selected="true">No</option>
137 <option value="yes">Yes</option>
138 </param>
139 </inputs> 129 </inputs>
140 <outputs> 130 <outputs>
141 <collection name="tree" type="list" label="${tool.name} (phylogenetic trees, dataset collection) on ${on_string}"> 131 <collection name="tree" type="list" label="${tool.name} (phylogenetic trees) on ${on_string}">
142 <discover_datasets pattern="__name__" directory="geneFamilyPhylogenies_dir/orthogroups_tree" format="nhx" /> 132 <discover_datasets pattern="__name__" directory="geneFamilyPhylogenies_dir/orthogroups_tree" format="nhx" />
143 </collection> 133 </collection>
144 <data name="output_tree" format="pttree" label="${tool.name} (phylogenetic trees, directory) on ${on_string}"> 134 <collection name="phylip" type="list" label="${tool.name} (orthogroup phylip multiple sequence alignments) on ${on_string}">
145 <filter>output_pttree_dir == 'yes'</filter>
146 </data>
147 <data name="output_phylip" format="ptphylip" label="${tool.name} (orthogroup phylip multiple sequence alignments) on ${on_string}">
148 <filter>tree_inference_cond['tree_inference'] == 'raxml'</filter> 135 <filter>tree_inference_cond['tree_inference'] == 'raxml'</filter>
149 </data> 136 <discover_datasets pattern="__name__" directory="geneFamilyPhylogenies_dir/phylip_aln" format="phylip" />
137 </collection>
150 </outputs> 138 </outputs>
151 <tests> 139 <tests>
152 <!-- Test framework does not currently support inputs whose associated extra_files_path contains files to be analyzed. 140 <!-- Test framework does not currently support inputs whose associated extra_files_path contains files to be analyzed.
153 <test> 141 <test>
154 </test> 142 </test>