Mercurial > repos > iuc > abricate
comparison abricate.xml @ 8:b734db305578 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/abricate/ commit fc114fbebd3b866c33d2ad95b028cb719651689a"
author | iuc |
---|---|
date | Wed, 22 Apr 2020 18:44:06 -0400 |
parents | 1bb2ba6d3d96 |
children | c2ef298da409 |
comparison
equal
deleted
inserted
replaced
7:4efdca267d51 | 8:b734db305578 |
---|---|
18 <command detect_errors="exit_code"><![CDATA[ | 18 <command detect_errors="exit_code"><![CDATA[ |
19 #import re | 19 #import re |
20 #set $sample_name = re.sub('[^\w\-_\.]', '_', $file_input.element_identifier) | 20 #set $sample_name = re.sub('[^\w\-_\.]', '_', $file_input.element_identifier) |
21 | 21 |
22 ln -sf '${file_input}' ${sample_name} && | 22 ln -sf '${file_input}' ${sample_name} && |
23 | 23 |
24 abricate ${sample_name} | 24 abricate ${sample_name} |
25 $adv.no_header | 25 $adv.no_header |
26 #if $adv.min_dna_id | 26 #if $adv.min_dna_id |
27 --minid=$adv.min_dna_id | 27 --minid=$adv.min_dna_id |
28 #end if | |
29 #if $adv.min_cov | |
30 --mincov=$adv.min_cov | |
28 #end if | 31 #end if |
29 --db=$adv.db | 32 --db=$adv.db |
30 > '$report' | 33 > '$report' |
31 ]]></command> | 34 ]]></command> |
32 | 35 |
39 <option value="ecoh">EcOH</option> | 42 <option value="ecoh">EcOH</option> |
40 <option value="ncbi">NCBI Bacterial Antimicrobial Resistance Reference Gene Database</option> | 43 <option value="ncbi">NCBI Bacterial Antimicrobial Resistance Reference Gene Database</option> |
41 <option value="resfinder" selected="true">Resfinder</option> | 44 <option value="resfinder" selected="true">Resfinder</option> |
42 <option value="plasmidfinder">PlasmidFinder</option> | 45 <option value="plasmidfinder">PlasmidFinder</option> |
43 <option value="vfdb">VFDB</option> | 46 <option value="vfdb">VFDB</option> |
47 <option value="megares">megares</option> | |
48 <option value="ecoli_vf">Ecoli_VF</option> | |
44 </param> | 49 </param> |
45 <param name="no_header" argument="--noheader" type="boolean" truevalue="--noheader" falsevalue="" label="Suppress header" help="Suppress output file's column headings" /> | 50 <param name="no_header" argument="--noheader" type="boolean" truevalue="--noheader" falsevalue="" label="Suppress header" help="Suppress output file's column headings" /> |
46 <param name="min_dna_id" argument="--minid" type="float" value="75" min="0" max="100" optional="true" label="Minimum DNA identity" /> | 51 <param name="min_dna_id" argument="--minid" type="float" value="80" min="0" max="100" optional="true" label="Minimum DNA %identity" /> |
52 <param name="min_cov" argument="--mincov" type="float" value="80" min="0" max="100" optional="true" label="Minimum DNA %coverage" /> | |
47 </section> | 53 </section> |
48 </inputs> | 54 </inputs> |
49 | 55 |
50 <outputs> | 56 <outputs> |
51 <data name="report" format="tabular" label="${tool.name} on ${on_string} report file" /> | 57 <data name="report" format="tabular" label="${tool.name} on ${on_string} report file" /> |
76 <param name="file_input" value="MRSA0252.fna"/> | 82 <param name="file_input" value="MRSA0252.fna"/> |
77 <param name="db" value="card"/> | 83 <param name="db" value="card"/> |
78 <output name="report" ftype="tabular" file="output_db-card.txt" compare="contains"/> | 84 <output name="report" ftype="tabular" file="output_db-card.txt" compare="contains"/> |
79 </test> | 85 </test> |
80 | 86 |
81 <!-- Advanced test 4 - Min DNA ID 100 --> | 87 <!-- Advanced test 4 - Changed DB to megares --> |
88 <test> | |
89 <param name="file_input" value="MRSA0252.fna"/> | |
90 <param name="db" value="megares"/> | |
91 <output name="report" ftype="tabular" file="output_db-megares.txt" compare="contains"/> | |
92 </test> | |
93 | |
94 <!-- Advanced test 5 - Min DNA ID 100 --> | |
82 <test> | 95 <test> |
83 <param name="file_input" value="MRSA0252.fna"/> | 96 <param name="file_input" value="MRSA0252.fna"/> |
84 <param name="min_dna_id" value="100"/> | 97 <param name="min_dna_id" value="100"/> |
85 <output name="report" ftype="tabular" file="output_minid100.txt" compare="contains"/> | 98 <output name="report" ftype="tabular" file="output_minid100.txt" compare="contains"/> |
86 </test> | 99 </test> |
87 | 100 |
88 <!-- Filetype test 5 - input a gbk --> | 101 <!-- Advanced test 6 - Min Coverage 100 --> |
102 <test> | |
103 <param name="file_input" value="MRSA0252.fna"/> | |
104 <param name="min_cov" value="100"/> | |
105 <output name="report" ftype="tabular" file="output_mincov100.txt" compare="contains"/> | |
106 </test> | |
107 | |
108 <!-- Filetype test 7 - input a gbk --> | |
89 <test> | 109 <test> |
90 <param name="file_input" value="test.gbk"/> | 110 <param name="file_input" value="test.gbk"/> |
91 <output name="report" ftype="tabular" file="output_gbk.txt" compare="contains"/> | 111 <output name="report" ftype="tabular" file="output_gbk.txt" compare="contains"/> |
92 </test> | 112 </test> |
93 | 113 |