Mercurial > repos > card > rgi
annotate rgi.xml @ 4:ce852ee2c394 draft
planemo upload for repository https://github.com/arpcard/rgi commit 78185f967f4c08824f0b118214adcecc14495f3e
author | card |
---|---|
date | Wed, 31 Aug 2022 01:14:48 +0000 |
parents | a671367c326e |
children | 84bd24ac33fd |
rev | line source |
---|---|
4
ce852ee2c394
planemo upload for repository https://github.com/arpcard/rgi commit 78185f967f4c08824f0b118214adcecc14495f3e
card
parents:
2
diff
changeset
|
1 <tool id="rgi" name="Resistance Gene Identifier (RGI)" version="5.2.1"> |
0
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
2 <description>This tool predicts resistome(s) from protein or nucleotide data based on homology and SNP models.</description> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
3 <requirements> |
4
ce852ee2c394
planemo upload for repository https://github.com/arpcard/rgi commit 78185f967f4c08824f0b118214adcecc14495f3e
card
parents:
2
diff
changeset
|
4 <requirement type="package" version="5.2.1">rgi</requirement> |
0
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
5 </requirements> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
6 <stdio> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
7 <exit_code range="1:" /> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
8 </stdio> |
1
f96cbb663aa9
planemo upload for repository https://github.com/arpcard/rgi commit 09a75bd2d655c05892acf7585a7ed08548f1c86d
card
parents:
0
diff
changeset
|
9 <command detect_errors="aggressive"><![CDATA[ |
4
ce852ee2c394
planemo upload for repository https://github.com/arpcard/rgi commit 78185f967f4c08824f0b118214adcecc14495f3e
card
parents:
2
diff
changeset
|
10 #if $db_opts.db_opts_selector == "default": |
ce852ee2c394
planemo upload for repository https://github.com/arpcard/rgi commit 78185f967f4c08824f0b118214adcecc14495f3e
card
parents:
2
diff
changeset
|
11 export DB_PATH='${__tool_data_path__}/rgi_databases/_default' && |
ce852ee2c394
planemo upload for repository https://github.com/arpcard/rgi commit 78185f967f4c08824f0b118214adcecc14495f3e
card
parents:
2
diff
changeset
|
12 export DATA_PATH="\$_GALAXY_JOB_TMP_DIR" && |
ce852ee2c394
planemo upload for repository https://github.com/arpcard/rgi commit 78185f967f4c08824f0b118214adcecc14495f3e
card
parents:
2
diff
changeset
|
13 mkdir -p "\$DB_PATH" && |
ce852ee2c394
planemo upload for repository https://github.com/arpcard/rgi commit 78185f967f4c08824f0b118214adcecc14495f3e
card
parents:
2
diff
changeset
|
14 #end if |
ce852ee2c394
planemo upload for repository https://github.com/arpcard/rgi commit 78185f967f4c08824f0b118214adcecc14495f3e
card
parents:
2
diff
changeset
|
15 |
0
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
16 #if $db_opts.db_opts_selector != "default": |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
17 rgi load |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
18 #if $db_opts.db_opts_selector == "local": |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
19 -i "${__tool_data_path__}/rgi_databases/$db_opts.rgi_db_local/card.json" |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
20 #else: |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
21 -i "$db_opts.rgi_db_hist" |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
22 #end if |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
23 --local |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
24 && |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
25 #end if |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
26 |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
27 rgi main |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
28 -i '$input_sequence' |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
29 -o out |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
30 -t $input_type |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
31 -a $alignment_tool |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
32 -n "\${GALAXY_SLOTS:-1}" |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
33 $include_loose |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
34 $low_quality |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
35 -d $data |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
36 |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
37 #if $db_opts.db_opts_selector != "default": |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
38 --local |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
39 #end if |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
40 ]]></command> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
41 <inputs> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
42 <param argument="--input_sequence" type="data" format="fastq,fasta" label="Input sequence" help="input file must be in either FASTA (contig and protein) or gzip format e.g myFile.fasta, myFasta.fasta.gz"/> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
43 <param argument="--input_type" type="select" multiple="false" label="Input type" help="specify data input type (default = contig)"> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
44 <option value="contig" selected="true">CONTIG (Nucleotide Sequence)</option> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
45 <option value="protein">PROTEIN (Protein Sequence)</option> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
46 </param> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
47 <param argument="--alignment_tool" type="select" label="Alignment tool" help="specify alignment tool (default = BLAST)"> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
48 <option value="blast" selected="true">BLAST</option> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
49 <option value="diamond">DIAMOND</option> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
50 </param> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
51 <param argument="--include_loose" type="boolean" checked="false" truevalue="--include_loose" falsevalue="" label="Include loose hits" help="include loose hits in addition to strict and perfect hits"/> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
52 <param argument="--low_quality" type="boolean" checked="false" truevalue="--low_quality" falsevalue="" label="Low quality" help="use for short contigs to predict partial genes"/> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
53 <param argument="--data" type="select" multiple="false" label="Data type" help="specify a data-type (default = NA)"> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
54 <option value="wgs">WGS</option> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
55 <option value="plasmid">PLASMID</option> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
56 <option value="chromosome">CHROMOSOME</option> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
57 <option value="NA" selected="true">NA</option> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
58 </param> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
59 <conditional name="db_opts"> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
60 <param name="db_opts_selector" type="select" label="Select an RGI database"> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
61 <option value="default" selected="true">Default RGI database</option> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
62 <option value="local">Locally installed RGI database</option> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
63 <option value="hist">RGI database from your history</option> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
64 </param> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
65 <when value="default"> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
66 <param name="rgi_db_local" type="hidden" value="" /> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
67 <param name="rgi_db_hist" type="hidden" value="" /> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
68 </when> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
69 <when value="local"> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
70 <param name="rgi_db_local" type="select" multiple="false" label="Locally installed RGI database"> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
71 <options from_data_table="rgi_databases"> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
72 <validator type="no_options" message="No databases are available built-in"/> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
73 </options> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
74 </param> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
75 <param name="rgi_db_hist" type="hidden" value="" /> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
76 </when> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
77 <when value="hist"> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
78 <param name="rgi_db_local" type="hidden" value="" /> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
79 <param name="rgi_db_hist" type="data" format="json" label="RGI database from your history" /> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
80 </when> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
81 </conditional> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
82 </inputs> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
83 <outputs> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
84 <data name="report" format="json" from_work_dir="out.json" label="${tool.name} on ${on_string}: report.json"/> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
85 <data name="summary" format="tabular" from_work_dir="out.txt" label="${tool.name} on ${on_string}: summary.txt"/> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
86 </outputs> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
87 <tests> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
88 <test> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
89 <param name="input_sequence" value="test1.fasta" /> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
90 <param name="input_type" value="contig" /> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
91 <param name="alignment_tool" value="blast" /> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
92 <param name="include_loose" value="false" /> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
93 <param name="low_quality" value="false" /> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
94 <param name="data" value="NA" /> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
95 <conditional name="db_opts"> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
96 <param name="db_opts_selector" value="default" /> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
97 </conditional> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
98 <output name="summary"> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
99 <assert_contents> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
100 <has_text text="AY123251" /> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
101 </assert_contents> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
102 </output> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
103 </test> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
104 </tests> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
105 <help> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
106 <![CDATA[ |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
107 Resistance Gene Identifier (RGI) |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
108 ================================ |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
109 |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
110 RGI is used to predict resistome(s) from protein or nucleotide data based on homology and SNP models. The tool uses data from the CARD database. |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
111 |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
112 Usage |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
113 ----- |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
114 |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
115 1. Select your input sequence (in FASTA format). |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
116 2. Select your input type (CONTIG or PROTEIN). |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
117 3. Select your alignment tool (DIAMOND or BLAST). |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
118 4. Specify if you want to include loose hits (YES or NO). |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
119 5. Specify if you want to remove temporary files (YES or NO). |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
120 6. Specify if you want to low quality predictions (YES or NO). |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
121 7. Select your data type (WGS, PLASMID, CHROMOSOME or NA). |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
122 8. Run the tool. |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
123 |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
124 Output |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
125 ------ |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
126 |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
127 There are 2 different output files produced by `rgi`. |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
128 |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
129 summary.txt |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
130 ^^^^^^^^^^^ |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
131 |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
132 A tabular file of all detected resistance genes, one gene per line. |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
133 |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
134 +--------------------------------------------------------------------------------------------------------------------------+---------------+-------+------+-------------+----------+----------------+---------------------+----------------+------------------+----------+-----------------------+--------------------------+-------------+------------+-------------------------+----------------------+---------------------------+------------------------+---------------------------+-----------------------------------------+--------------------------------+-----------+ |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
135 | ORF_ID | Contig | Start | Stop | Orientation | Cut_Off | Pass_Bitscore | Best_Hit_Bitscore | Best_Hit_ARO | Best_Identities | ARO | Model_type | SNPs_in_Best_Hit_ARO | Other_SNPs | Drug Class | Resistance Mechanism | AMR Gene Family | Predicted_DNA | Predicted_Protein | CARD_Protein_Sequence | Percentage Length of Reference Sequence | ID | Model_ID | |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
136 +==========================================================================================================================+===============+=======+======+=============+==========+================+=====================+================+==================+==========+=======================+==========================+=============+============+=========================+======================+===========================+========================+===========================+=========================================+================================+===========+ |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
137 | AY123251.1_6 # 3575 # 4489 # 1 # ID=1_6;partial=00;start_type=ATG;rbs_motif=None;rbs_spacer=None;gc_cont=0.399 | AY123251.1_6 | 3575 | 4489 | \+ | Strict | 500 | 506.908 | CARB-7 | 83.68 | 3002246 | protein homolog model | n/a | n/a | penam | antibiotic inactivation | CARB beta-lactamase | ATGC | MLLYKMCDNQNYGVTYMKFLLV | MKSLLVFALLMPSVVFASSSKFQSV | 105.56 | gnl|BL_ORD_ID|589|hsp_num:0 | 1443 | |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
138 +--------------------------------------------------------------------------------------------------------------------------+---------------+-------+------+-------------+----------+----------------+---------------------+----------------+------------------+----------+-----------------------+--------------------------+-------------+------------+-------------------------+----------------------+---------------------------+------------------------+---------------------------+-----------------------------------------+--------------------------------+-----------+ |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
139 |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
140 report.json |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
141 ^^^^^^^^^^^ |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
142 |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
143 A json version of summary.txt. |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
144 |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
145 Help |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
146 ---- |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
147 |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
148 **usage:** |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
149 ``rgi main [-h] -i INPUT_SEQUENCE -o OUTPUT_FILE [-t {read,contig,protein,wgs}] [-a {DIAMOND,BLAST}] [-n THREADS] [--include_loose] [--local] [--clean] [--debug] [--low_quality] [-d {wgs,plasmid,chromosome,NA}] [-v]`` |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
150 |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
151 **optional arguments:** |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
152 |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
153 - ``-h, --help`` |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
154 show this help message and exit |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
155 - ``-i INPUT_SEQUENCE, --input_sequence INPUT_SEQUENCE`` |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
156 input file must be in either FASTA (contig and protein) or gzip format e.g myFile.fasta, myFasta.fasta.gz |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
157 - ``-o OUTPUT_FILE, --output_file OUTPUT_FILE`` |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
158 output folder and base filename |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
159 - ``-t {read,contig,protein,wgs}, --input_type {read,contig,protein,wgs}`` |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
160 specify data input type (default = contig) |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
161 - ``-a {DIAMOND,BLAST}, --alignment_tool {DIAMOND,BLAST}`` |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
162 specify alignment tool (default = BLAST) |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
163 - ``-n THREADS, --num_threads THREADS`` |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
164 number of threads (CPUs) to use in the BLAST search (default=8) |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
165 - ``--include_loose`` |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
166 include loose hits in addition to strict and perfect hits |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
167 - ``--local`` |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
168 use local database (default: uses database in executable directory) |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
169 - ``--clean`` |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
170 removes temporary files |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
171 - ``--debug`` |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
172 debug mode |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
173 - ``--low_quality`` |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
174 use for short contigs to predict partial genes |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
175 - ``-d {wgs,plasmid,chromosome,NA}, --data {wgs,plasmid,chromosome,NA}`` |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
176 specify a data-type (default = NA) |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
177 - ``-v, --version`` |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
178 prints software version number |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
179 |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
180 Links |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
181 ----- |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
182 |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
183 RGI: https://card.mcmaster.ca/analyze/rgi |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
184 |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
185 Github: https://github.com/arpcard/rgi |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
186 |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
187 CARD database: https://card.mcmaster.ca |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
188 ]]> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
189 </help> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
190 <citations> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
191 <citation type="doi">10.1093/nar/gkw1004</citation> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
192 </citations> |
715bc9aeef69
planemo upload for repository https://github.com/arpcard/rgi commit 7a78289be23c5a14ae39f454610fa8eca3f05188
card
parents:
diff
changeset
|
193 </tool> |