comparison mitos2.xml @ 4:07caa60ff5c4 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mitos commit f23e76fe2b03f7c5f66e0609a6cf3c96beaed0c4
author iuc
date Tue, 14 Jun 2022 17:13:49 +0000
parents 994e1ce9f4d5
children c8f5229645ef
comparison
equal deleted inserted replaced
3:994e1ce9f4d5 4:07caa60ff5c4
5 </xrefs> 5 </xrefs>
6 <macros> 6 <macros>
7 <import>macros.xml</import> 7 <import>macros.xml</import>
8 <token name="@MITOS_NAME@">MITOS2</token> 8 <token name="@MITOS_NAME@">MITOS2</token>
9 <token name="@TOOL_VERSION@">2.0.6</token> 9 <token name="@TOOL_VERSION@">2.0.6</token>
10 <token name="@VERSION_SUFFIX@">1</token> 10 <token name="@VERSION_SUFFIX@">2</token>
11 </macros> 11 </macros>
12 <requirements> 12 <requirements>
13 <requirement type="package" version="@TOOL_VERSION@">mitos</requirement> 13 <requirement type="package" version="@TOOL_VERSION@">mitos</requirement>
14 <requirement type="package">zip</requirement> 14 <requirement type="package" version="3.0">zip</requirement>
15 </requirements> 15 </requirements>
16 <version_command>python -c "import mitos; print(mitos.__version__)"</version_command> 16 <version_command>python -c "import mitos; print(mitos.__version__)"</version_command>
17 <command detect_errors="aggressive"><![CDATA[ 17 <command detect_errors="aggressive"><![CDATA[
18 mkdir outdir && 18 mkdir outdir &&
19 19
46 --ncev $advanced_ncrna.ncev 46 --ncev $advanced_ncrna.ncev
47 $advanced_ncrna.sensitive 47 $advanced_ncrna.sensitive
48 --maxtrnaovl $advanced_ncrna.maxtrnaovl 48 --maxtrnaovl $advanced_ncrna.maxtrnaovl
49 --maxrrnaovl $advanced_ncrna.maxrrnaovl 49 --maxrrnaovl $advanced_ncrna.maxrrnaovl
50 50
51 #if not ("protein_plot" in str($addoutputs).split(',') or "ncRNA_plot" in str($addoutputs).split(',')): 51 #if not ("protein_plot" in $addoutputs or "ncRNA_plot" in $addoutputs):
52 --noplots 52 --noplots
53 #end if
54
55 #if "missing" in $addoutputs:
56 > outdir/missing.txt
53 #end if 57 #end if
54 58
55 #if "raw" in str($addoutputs).split(','): 59 #if "raw" in str($addoutputs).split(','):
56 && zip -9 -y -r output.zip outdir/ > /dev/null 60 && zip -9 -y -r output.zip outdir/ > /dev/null
57 #end if 61 #end if
58 ]]></command> 62 ]]></command>
59 <inputs> 63 <inputs>
60 <param argument="--input" label="Sequence" type="data" format="fasta" help="a single sequence in fasta formated sequence"> 64 <param argument="--input" label="Sequence" type="data" format="fasta" help="A single sequence in fasta formated sequence">
61 <options options_filter_attribute="metadata.sequences"> 65 <options options_filter_attribute="metadata.sequences">
62 <filter type="add_value" value="1"/> 66 <filter type="add_value" value="1"/>
63 </options> 67 </options>
64 </param> 68 </param>
65 <param argument="--code" label="Genetic code" type="select"> 69 <param argument="--code" label="Genetic code" type="select">
68 <option value="5">Invertebrate (5)</option> 72 <option value="5">Invertebrate (5)</option>
69 <option value="9">Echinoderm, Flatworm (9)</option> 73 <option value="9">Echinoderm, Flatworm (9)</option>
70 <option value="13">Ascidian (13)</option> 74 <option value="13">Ascidian (13)</option>
71 <option value="14">Alternative Flatworm (14)</option> 75 <option value="14">Alternative Flatworm (14)</option>
72 </param> 76 </param>
73 <param argument="--refseqver" label="Reference data" type="select" help="contact the administrator of this Galaxy instance if you miss reference data"> 77 <param argument="--refseqver" label="Reference data" type="select" help="Contact the administrator of this Galaxy instance if you miss reference data">
74 <options from_data_table="mitos"> 78 <options from_data_table="mitos">
75 <filter type="static_value" value="mitos2" column="2"/> 79 <filter type="static_value" value="mitos2" column="2"/>
76 </options> 80 </options>
77 <validator message="No reference annotation is available for MITOS2" type="no_options" /> 81 <validator message="No reference annotation is available for MITOS2" type="no_options" />
78 </param> 82 </param>
88 <option value="protein_plot" selected="false">Protein prediction plot</option> 92 <option value="protein_plot" selected="false">Protein prediction plot</option>
89 <option value="ncRNA_plot" selected="false">ncRNA prediction plot</option> 93 <option value="ncRNA_plot" selected="false">ncRNA prediction plot</option>
90 <!--<option value="ncRNA_structure_ps_plots" selected="false">ncRNA structure plots - postscript</option>--> 94 <!--<option value="ncRNA_structure_ps_plots" selected="false">ncRNA structure plots - postscript</option>-->
91 <option value="ncRNA_structure_svg_plots" selected="false">ncRNA structure plots - svg</option> 95 <option value="ncRNA_structure_svg_plots" selected="false">ncRNA structure plots - svg</option>
92 <option value="raw" selected="false">zipped raw results</option> 96 <option value="raw" selected="false">zipped raw results</option>
97 <option value="missing" selected="false">Missing genes</option>
93 </param> 98 </param>
94 <section name="advanced" title="Advanced options"> 99 <section name="advanced" title="Advanced options">
95 <param name="featuretypes" label="Feature types" help="Feature types that should be predicted by MITOS (--noprot,--notrna,--norrna)" type="select" multiple="true"> 100 <param name="featuretypes" label="Feature types" help="Feature types that should be predicted by MITOS (--noprot,--notrna,--norrna)" type="select" multiple="true">
96 <option value="prot" selected="true">Protein coding genes</option> 101 <option value="prot" selected="true">Protein coding genes</option>
97 <option value="trna" selected="true">tRNAs</option> 102 <option value="trna" selected="true">tRNAs</option>
107 </section> 112 </section>
108 <section name="advanced_prot" title="Advanced options for protein coding gene prediction"> 113 <section name="advanced_prot" title="Advanced options for protein coding gene prediction">
109 <param argument="--evalue" label="BLAST E-value Exponent" help="Negation of the exponent of the E-value threshold used by BLAST, i.e. a value X gives an E-value of 10^(-X)" type="float" value="2" min="1"/> 114 <param argument="--evalue" label="BLAST E-value Exponent" help="Negation of the exponent of the E-value threshold used by BLAST, i.e. a value X gives an E-value of 10^(-X)" type="float" value="2" min="1"/>
110 <param argument="--cutoff" label="Quality cutoff" help="Minimum allowed quality in % of the maximum quality value per reading frame" type="integer" value="50" min="0" max="100"/> 115 <param argument="--cutoff" label="Quality cutoff" help="Minimum allowed quality in % of the maximum quality value per reading frame" type="integer" value="50" min="0" max="100"/>
111 <param argument="--clipfac" label="Clipping factor" help="Clip overlapping proteins with the same name that differ by less than the specified factor" type="float" value="10" min="0"/> 116 <param argument="--clipfac" label="Clipping factor" help="Clip overlapping proteins with the same name that differ by less than the specified factor" type="float" value="10" min="0"/>
112 <param argument="--ncbicode" checked="false" label="use start/stop codons as in NCBI (default: learned start/stop codons)" type="boolean" truevalue="--ncbicode" falsevalue=""/> 117 <param argument="--ncbicode" checked="false" label="Use start/stop codons as in NCBI (default: learned start/stop codons)" type="boolean" truevalue="--ncbicode" falsevalue=""/>
113 <param argument="--alarab" checked="false" label="Use the hmmer based method of Al Arab et al. 2016. This will consider the evalue, ncbicode, fragovl, fragfac" type="boolean" truevalue="--alarab" falsevalue=""/> 118 <param argument="--alarab" checked="false" label="Use the hmmer based method of Al Arab et al. 2016. This will consider the evalue, ncbicode, fragovl, fragfac" type="boolean" truevalue="--alarab" falsevalue=""/>
114 <param argument="--oldstst" checked="false" label="Use the old start/stop prediction method of MITOS1" type="boolean" truevalue="--oldstst" falsevalue=""/> 119 <param argument="--oldstst" checked="false" label="Use the old start/stop prediction method of MITOS1" type="boolean" truevalue="--oldstst" falsevalue=""/>
115 </section> 120 </section>
116 <section name="advanced_ncrna" title="Advanced options for ncRNA gene prediction"> 121 <section name="advanced_ncrna" title="Advanced options for ncRNA gene prediction">
117 <param argument="--locandgloc" checked="false" label="Run mitfi in glocal and local mode (default: local only)" type="boolean" truevalue="--locandgloc" falsevalue=""/> 122 <param argument="--locandgloc" checked="false" label="Run mitfi in glocal and local mode (default: local only)" type="boolean" truevalue="--locandgloc" falsevalue=""/>
157 <discover_datasets pattern="(?P&lt;name&gt;.+)\.svg" format="svg" directory="outdir/plots" /> 162 <discover_datasets pattern="(?P&lt;name&gt;.+)\.svg" format="svg" directory="outdir/plots" />
158 <filter>"ncRNA_structure_svg_plots" in str(addoutputs)</filter> 163 <filter>"ncRNA_structure_svg_plots" in str(addoutputs)</filter>
159 </collection> 164 </collection>
160 <data name="rawout" format="zip" from_work_dir="output.zip" label="${tool.name} on ${on_string}: raw data"> 165 <data name="rawout" format="zip" from_work_dir="output.zip" label="${tool.name} on ${on_string}: raw data">
161 <filter>"raw" in str(addoutputs)</filter> 166 <filter>"raw" in str(addoutputs)</filter>
167 </data>
168 <data name="missing_genes" format="txt" from_work_dir="outdir/missing.txt" label="${tool.name} on ${on_string}: missing genes">
169 <filter>"missing" in str(addoutputs)</filter>
162 </data> 170 </data>
163 </outputs> 171 </outputs>
164 <tests> 172 <tests>
165 <!-- default options --> 173 <!-- default options -->
166 <test expect_num_outputs="1"> 174 <test expect_num_outputs="1">
283 <has_text text="--maxtrnaovl 51"/> 291 <has_text text="--maxtrnaovl 51"/>
284 <has_text text="--maxrrnaovl 49"/> 292 <has_text text="--maxrrnaovl 49"/>
285 <not_has_text text="--noplots"/> 293 <not_has_text text="--noplots"/>
286 </assert_command> 294 </assert_command>
287 </test> 295 </test>
296 <!-- missing genes -->
297 <test expect_num_outputs="2">
298 <param name="input" value="NC_012920.fasta"/>
299 <param name="code" value="2"/>
300 <param name="refseqver" value="mitos2-refdata" />
301 <param name="addoutputs" value="bed,missing"/>
302 <output name="bedout" file="mitos2_NC_012920.bed" ftype="bed"/>
303 <output name="missing_genes" file="missing_genes.txt" ftype="txt"/>
304 <assert_command>
305 <has_text text="--code 2"/>
306 <has_text text="--finovl 50"/>
307 <not_has_text text="--trna"/>
308 <not_has_text text="--rrna"/>
309 <not_has_text text="--prot"/>
310 <has_text text="--intron 0"/>
311 <has_text text="--oril 0"/>
312 <has_text text="--orih 0"/>
313 <has_text text="--evalue 2.0"/>
314 <has_text text="--cutoff 0.5"/>
315 <has_text text="--clipfac 10.0"/>
316 <not_has_text text="--best"/>
317 <has_text text="--fragovl 0.2"/>
318 <has_text text="--fragfac 10.0"/>
319 <has_text text="--ncev 0.01"/>
320 <has_text text="--maxtrnaovl 50"/>
321 <has_text text="--maxrrnaovl 50"/>
322 <has_text text="--noplots"/>
323 </assert_command>
324 </test>
288 </tests> 325 </tests>
289 <help>@COMMON_HELP@ 326 <help>@COMMON_HELP@
290 <![CDATA[ 327 <![CDATA[
291 328
292 329
350 387
351 - Use infernal's sensitive mode only 388 - Use infernal's sensitive mode only
352 389
353 By default mitfi searches for ncRNAs using cmsearch's default fast mode first. If a ncRNA type is missing it is searched using the sensitive mode. This can be useful if low scoring copies are expected which might be missed when searching in the two stage mode. 390 By default mitfi searches for ncRNAs using cmsearch's default fast mode first. If a ncRNA type is missing it is searched using the sensitive mode. This can be useful if low scoring copies are expected which might be missed when searching in the two stage mode.
354 391
355 - Allow tRNA/rRNA overlap of up to X nt for mitfi 392 - Allow tRNA/rRNA overlap of up to X nt for mitfi
356 393
357 Allow that a tRNA/rRNA overlaps with another feature by this number of nucleotides. 394 Allow that a tRNA/rRNA overlaps with another feature by this number of nucleotides.
358 395
359 ]]></help> 396 ]]></help>
360 <citations> 397 <citations>