comparison funannotate_predict.xml @ 9:d46af27fe48a draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/funannotate commit 9e3708d04faea0f1be4ea8918e859d6f2c7eb31d
author iuc
date Wed, 26 Jun 2024 09:35:26 +0000
parents c8b01160610c
children 27d642b07d94
comparison
equal deleted inserted replaced
8:92c2de50f6e9 9:d46af27fe48a
1 <tool id="funannotate_predict" name="Funannotate predict annotation" profile="20.01" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@"> 1 <tool id="funannotate_predict" name="Funannotate predict annotation" profile="20.01" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@">
2 <description></description> 2 <description></description>
3 <macros> 3 <macros>
4 <import>macros.xml</import> 4 <import>macros.xml</import>
5 </macros> 5 </macros>
6 <expand macro="biotools" />
6 <requirements> 7 <requirements>
7 <expand macro="requirements" /> 8 <expand macro="requirements" />
8 </requirements> 9 </requirements>
9 <version_command><![CDATA[funannotate check --show-versions]]></version_command> 10 <version_command><![CDATA[funannotate check --show-versions]]></version_command>
10 <command><![CDATA[ 11 <command><![CDATA[
26 ln -s '${input}' input/input.fasta && 27 ln -s '${input}' input/input.fasta &&
27 28
28 funannotate predict 29 funannotate predict
29 --input input/input.fasta 30 --input input/input.fasta
30 --out output 31 --out output
32 --tmpdir "\${_GALAXY_JOB_TMP_DIR:-/tmp}"
31 #if $uglyTestingHack == "true": 33 #if $uglyTestingHack == "true":
32 --database `pwd`'/hacked_database' 34 --database `pwd`'/hacked_database'
33 #else 35 #else
34 --database '$database.fields.path' 36 --database '$database.fields.path'
35 #end if 37 #end if
43 --ploidy ${organism.ploidy} 45 --ploidy ${organism.ploidy}
44 --SeqCenter '${organism.SeqCenter}' 46 --SeqCenter '${organism.SeqCenter}'
45 --SeqAccession '${organism.SeqAccession}' 47 --SeqAccession '${organism.SeqAccession}'
46 --name '${organism.name}' 48 --name '${organism.name}'
47 --numbering ${organism.numbering} 49 --numbering ${organism.numbering}
50 --header_length ${header_length}
48 51
49 #if $parameters: 52 #if $parameters:
50 --parameters '${parameters}' 53 --parameters '${parameters}'
51 #end if 54 #end if
52 55
251 </conditional> 254 </conditional>
252 <param argument="--weights" type="text" optional="true" label="Custom ab-initio predictor and EVM weight" help="e.g. augustus:2 pasa:10"> 255 <param argument="--weights" type="text" optional="true" label="Custom ab-initio predictor and EVM weight" help="e.g. augustus:2 pasa:10">
253 <validator type="regex" message="Key must consist of alphanumeric characters only, possibly separated by the period character ('.')">^[\w: ]+$</validator> 256 <validator type="regex" message="Key must consist of alphanumeric characters only, possibly separated by the period character ('.')">^[\w: ]+$</validator>
254 </param> 257 </param>
255 </section> 258 </section>
256 259 <param argument="--header_length" type="integer" value="16" min="1" label="Maximum length of FASTA headers" help="The NCBI max FASTA header length is 16. Increase if you don't submit to NCBI." />
257 <param name="outputs" type="select" optional="true" multiple="true" label="Which outputs should be generated"> 260 <param name="outputs" type="select" optional="true" multiple="true" label="Which outputs should be generated">
258 <option value="gbk" selected="true">Annotated genome (genbank)</option> 261 <option value="gbk" selected="true">Annotated genome (genbank)</option>
259 <option value="tbl">NCBI tbl annotation file (use for NCBI submission)</option> 262 <option value="tbl">NCBI tbl annotation file (use for NCBI submission)</option>
260 <option value="gff3">Annotation in GFF3 format</option> 263 <option value="gff3">Annotation in GFF3 format</option>
261 <option value="proteins_fa">Multi-fasta file of protein coding genes</option> 264 <option value="proteins_fa">Multi-fasta file of protein coding genes</option>
305 (parameters.json file references files with absolute paths, would probably need to create an archive + edit paths in parameters.json) --> 308 (parameters.json file references files with absolute paths, would probably need to create an archive + edit paths in parameters.json) -->
306 <!--data name='abinitio' format='json' label="${tool.name} on ${on_string}: ab-initio training parameters" from_work_dir="output/predict_results/*.parameters.json" /--> 309 <!--data name='abinitio' format='json' label="${tool.name} on ${on_string}: ab-initio training parameters" from_work_dir="output/predict_results/*.parameters.json" /-->
307 </outputs> 310 </outputs>
308 <tests> 311 <tests>
309 <!-- training from scratch --> 312 <!-- training from scratch -->
310 <test> 313 <test expect_num_outputs="10">
311 <param name="input" value="genome_masked.fa" /> 314 <param name="input" value="genome_masked.fa" />
312 <param name="database" value="2021-07-20-120000" /> 315 <param name="database" value="2021-07-20-120000" />
313 <section name="busco"> 316 <section name="busco">
314 <param name="busco_seed_species" value="fly" /> 317 <param name="busco_seed_species" value="fly" />
315 <param name="busco_db" value="insecta" /> 318 <param name="busco_db" value="insecta" />
374 <has_text text="Found 4 preliminary alignments with diamond"/> 377 <has_text text="Found 4 preliminary alignments with diamond"/>
375 </assert_stderr> 378 </assert_stderr>
376 </test> 379 </test>
377 380
378 <!-- pre-trained augustus --> 381 <!-- pre-trained augustus -->
379 <test> 382 <test expect_num_outputs="10">
380 <param name="input" value="genome_masked.fa" /> 383 <param name="input" value="genome_masked.fa" />
381 <param name="database" value="2021-07-20-120000" /> 384 <param name="database" value="2021-07-20-120000" />
382 <section name="organism"> 385 <section name="organism">
383 <param name="species" value="Genus species" /> 386 <param name="species" value="Genus species" />
384 </section> 387 </section>
439 <has_text text="Found 4 preliminary alignments with diamond"/> 442 <has_text text="Found 4 preliminary alignments with diamond"/>
440 </assert_stderr> 443 </assert_stderr>
441 </test> 444 </test>
442 445
443 <!-- bam and transcripts and proteins --> 446 <!-- bam and transcripts and proteins -->
444 <test> 447 <test expect_num_outputs="10">
445 <param name="input" value="genome_masked.fa" /> 448 <param name="input" value="genome_masked.fa" />
446 <param name="database" value="2021-07-20-120000" /> 449 <param name="database" value="2021-07-20-120000" />
447 <section name="organism"> 450 <section name="organism">
448 <param name="species" value="Genus species" /> 451 <param name="species" value="Genus species" />
449 </section> 452 </section>
515 <has_text text="--protein_evidence"/> 518 <has_text text="--protein_evidence"/>
516 </assert_command> 519 </assert_command>
517 </test> 520 </test>
518 521
519 <!-- proteins --> 522 <!-- proteins -->
520 <test> 523 <test expect_num_outputs="10">
521 <param name="input" value="genome_masked.fa" /> 524 <param name="input" value="genome_masked.fa" />
522 <param name="database" value="2021-07-20-120000" /> 525 <param name="database" value="2021-07-20-120000" />
523 <section name="organism"> 526 <section name="organism">
524 <param name="species" value="Genus species" /> 527 <param name="species" value="Genus species" />
525 </section> 528 </section>