Mercurial > repos > dfornika > mentalist
annotate tools/mentalist_call/mentalist_call.xml @ 1:c6a98b93e569 draft
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 83ebe793451a5ccbfeff873eda359f699e14ae1e
author | dfornika |
---|---|
date | Sat, 24 Mar 2018 23:12:21 -0400 |
parents | 1d9e3950ce61 |
children | d465e81782a3 |
rev | line source |
---|---|
1
c6a98b93e569
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 83ebe793451a5ccbfeff873eda359f699e14ae1e
dfornika
parents:
0
diff
changeset
|
1 <tool id="mentalist_call" name="MentaLiST MLST Analysis" version="0.2.2"> |
0
1d9e3950ce61
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 77d12d12820477cdb046be90175f5d2dab52e620
dfornika
parents:
diff
changeset
|
2 <requirements> |
1
c6a98b93e569
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 83ebe793451a5ccbfeff873eda359f699e14ae1e
dfornika
parents:
0
diff
changeset
|
3 <requirement type="package" version="0.2.2">mentalist</requirement> |
0
1d9e3950ce61
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 77d12d12820477cdb046be90175f5d2dab52e620
dfornika
parents:
diff
changeset
|
4 </requirements> |
1
c6a98b93e569
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 83ebe793451a5ccbfeff873eda359f699e14ae1e
dfornika
parents:
0
diff
changeset
|
5 <edam_operations> |
c6a98b93e569
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 83ebe793451a5ccbfeff873eda359f699e14ae1e
dfornika
parents:
0
diff
changeset
|
6 <edam_operation>operation_3840</edam_operation> |
c6a98b93e569
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 83ebe793451a5ccbfeff873eda359f699e14ae1e
dfornika
parents:
0
diff
changeset
|
7 </edam_operations> |
0
1d9e3950ce61
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 77d12d12820477cdb046be90175f5d2dab52e620
dfornika
parents:
diff
changeset
|
8 <command detect_errors="exit_code"><![CDATA[ |
1d9e3950ce61
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 77d12d12820477cdb046be90175f5d2dab52e620
dfornika
parents:
diff
changeset
|
9 mentalist |
1d9e3950ce61
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 77d12d12820477cdb046be90175f5d2dab52e620
dfornika
parents:
diff
changeset
|
10 call |
1d9e3950ce61
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 77d12d12820477cdb046be90175f5d2dab52e620
dfornika
parents:
diff
changeset
|
11 -o '$output_file' |
1d9e3950ce61
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 77d12d12820477cdb046be90175f5d2dab52e620
dfornika
parents:
diff
changeset
|
12 --db '$kmer_db.fields.path' |
1
c6a98b93e569
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 83ebe793451a5ccbfeff873eda359f699e14ae1e
dfornika
parents:
0
diff
changeset
|
13 --mutation_threshold '$mutation_threshold' |
c6a98b93e569
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 83ebe793451a5ccbfeff873eda359f699e14ae1e
dfornika
parents:
0
diff
changeset
|
14 --kt '$kmer_threshold' |
c6a98b93e569
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 83ebe793451a5ccbfeff873eda359f699e14ae1e
dfornika
parents:
0
diff
changeset
|
15 $output_votes |
c6a98b93e569
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 83ebe793451a5ccbfeff873eda359f699e14ae1e
dfornika
parents:
0
diff
changeset
|
16 $output_special |
0
1d9e3950ce61
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 77d12d12820477cdb046be90175f5d2dab52e620
dfornika
parents:
diff
changeset
|
17 #if $input_type.sPaired == "paired": |
1
c6a98b93e569
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 83ebe793451a5ccbfeff873eda359f699e14ae1e
dfornika
parents:
0
diff
changeset
|
18 -s $input_type.pInput1.name -1 $input_type.pInput1 -2 $input_type.pInput2 |
0
1d9e3950ce61
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 77d12d12820477cdb046be90175f5d2dab52e620
dfornika
parents:
diff
changeset
|
19 #elif $input_type.sPaired == "collections": |
1
c6a98b93e569
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 83ebe793451a5ccbfeff873eda359f699e14ae1e
dfornika
parents:
0
diff
changeset
|
20 -s $input_type.fastq_collection.name -1 $input_type.fastq_collection.forward -2 $input_type.fastq_collection.reverse |
0
1d9e3950ce61
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 77d12d12820477cdb046be90175f5d2dab52e620
dfornika
parents:
diff
changeset
|
21 #end if |
1d9e3950ce61
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 77d12d12820477cdb046be90175f5d2dab52e620
dfornika
parents:
diff
changeset
|
22 ]]></command> |
1d9e3950ce61
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 77d12d12820477cdb046be90175f5d2dab52e620
dfornika
parents:
diff
changeset
|
23 <inputs> |
1d9e3950ce61
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 77d12d12820477cdb046be90175f5d2dab52e620
dfornika
parents:
diff
changeset
|
24 <conditional name="input_type"> |
1d9e3950ce61
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 77d12d12820477cdb046be90175f5d2dab52e620
dfornika
parents:
diff
changeset
|
25 <param name="sPaired" type="select" label="Single Pair or Collection"> |
1d9e3950ce61
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 77d12d12820477cdb046be90175f5d2dab52e620
dfornika
parents:
diff
changeset
|
26 <option value="collections">Paired-end Collections</option> |
1d9e3950ce61
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 77d12d12820477cdb046be90175f5d2dab52e620
dfornika
parents:
diff
changeset
|
27 <option value="paired">Paired-end</option> |
1d9e3950ce61
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 77d12d12820477cdb046be90175f5d2dab52e620
dfornika
parents:
diff
changeset
|
28 </param> |
1d9e3950ce61
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 77d12d12820477cdb046be90175f5d2dab52e620
dfornika
parents:
diff
changeset
|
29 <when value="paired"> |
1d9e3950ce61
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 77d12d12820477cdb046be90175f5d2dab52e620
dfornika
parents:
diff
changeset
|
30 <param name="pInput1" type="data" format="fastq,fastqsanger,fastqillumina,fastqsolexa" label="Forward FASTQ file" help="Must have ASCII encoded quality scores"/> |
1d9e3950ce61
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 77d12d12820477cdb046be90175f5d2dab52e620
dfornika
parents:
diff
changeset
|
31 <param name="pInput2" type="data" format="fastq,fastqsanger,fastqillumina,fastqsolexa" label="Reverse FASTQ file" help="File format must match the Forward FASTQ file"/> |
1d9e3950ce61
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 77d12d12820477cdb046be90175f5d2dab52e620
dfornika
parents:
diff
changeset
|
32 </when> |
1d9e3950ce61
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 77d12d12820477cdb046be90175f5d2dab52e620
dfornika
parents:
diff
changeset
|
33 <when value="collections"> |
1d9e3950ce61
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 77d12d12820477cdb046be90175f5d2dab52e620
dfornika
parents:
diff
changeset
|
34 <param name="fastq_collection" type="data_collection" label="Paired-end Fastq collection" help="" optional="false" format="txt" collection_type="paired" /> |
1d9e3950ce61
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 77d12d12820477cdb046be90175f5d2dab52e620
dfornika
parents:
diff
changeset
|
35 </when> |
1d9e3950ce61
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 77d12d12820477cdb046be90175f5d2dab52e620
dfornika
parents:
diff
changeset
|
36 </conditional> |
1d9e3950ce61
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 77d12d12820477cdb046be90175f5d2dab52e620
dfornika
parents:
diff
changeset
|
37 <param name="kmer_db" type="select"> |
1d9e3950ce61
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 77d12d12820477cdb046be90175f5d2dab52e620
dfornika
parents:
diff
changeset
|
38 <options from_data_table="mentalist_databases"> |
1d9e3950ce61
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 77d12d12820477cdb046be90175f5d2dab52e620
dfornika
parents:
diff
changeset
|
39 <validator type="no_options" message="No MentaLiST databases are available" /> |
1d9e3950ce61
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 77d12d12820477cdb046be90175f5d2dab52e620
dfornika
parents:
diff
changeset
|
40 </options> |
1d9e3950ce61
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 77d12d12820477cdb046be90175f5d2dab52e620
dfornika
parents:
diff
changeset
|
41 </param> |
1
c6a98b93e569
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 83ebe793451a5ccbfeff873eda359f699e14ae1e
dfornika
parents:
0
diff
changeset
|
42 <param name="mutation_threshold" type="integer" label="Mutation threshold" |
c6a98b93e569
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 83ebe793451a5ccbfeff873eda359f699e14ae1e
dfornika
parents:
0
diff
changeset
|
43 help="Maximum number of mutations when looking for novel alleles." |
c6a98b93e569
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 83ebe793451a5ccbfeff873eda359f699e14ae1e
dfornika
parents:
0
diff
changeset
|
44 value="6" min="1" max="25" /> |
c6a98b93e569
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 83ebe793451a5ccbfeff873eda359f699e14ae1e
dfornika
parents:
0
diff
changeset
|
45 <param name="kmer_threshold" type="integer" label="Kmer threshold" |
c6a98b93e569
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 83ebe793451a5ccbfeff873eda359f699e14ae1e
dfornika
parents:
0
diff
changeset
|
46 help="Minimum number of times a kmer is seen to be considered present in the sample." |
c6a98b93e569
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 83ebe793451a5ccbfeff873eda359f699e14ae1e
dfornika
parents:
0
diff
changeset
|
47 value="10" min="1" max="25" /> |
c6a98b93e569
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 83ebe793451a5ccbfeff873eda359f699e14ae1e
dfornika
parents:
0
diff
changeset
|
48 <param name="output_votes" type="boolean" label="Output votes" |
c6a98b93e569
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 83ebe793451a5ccbfeff873eda359f699e14ae1e
dfornika
parents:
0
diff
changeset
|
49 argument="--output_votes" truevalue="--output_votes" falsevalue="" |
c6a98b93e569
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 83ebe793451a5ccbfeff873eda359f699e14ae1e
dfornika
parents:
0
diff
changeset
|
50 help="Outputs the results for the original voting algorithm" /> |
c6a98b93e569
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 83ebe793451a5ccbfeff873eda359f699e14ae1e
dfornika
parents:
0
diff
changeset
|
51 <param name="output_special" type="boolean" label="Output special" |
c6a98b93e569
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 83ebe793451a5ccbfeff873eda359f699e14ae1e
dfornika
parents:
0
diff
changeset
|
52 argument="--output_special" truevalue="--output_special" falsevalue="" |
c6a98b93e569
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 83ebe793451a5ccbfeff873eda359f699e14ae1e
dfornika
parents:
0
diff
changeset
|
53 help="Outputs a fasta file with the alleles from special cases such as incomplete coverage, novel and multiple alleles." /> |
0
1d9e3950ce61
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 77d12d12820477cdb046be90175f5d2dab52e620
dfornika
parents:
diff
changeset
|
54 </inputs> |
1d9e3950ce61
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 77d12d12820477cdb046be90175f5d2dab52e620
dfornika
parents:
diff
changeset
|
55 <outputs> |
1
c6a98b93e569
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 83ebe793451a5ccbfeff873eda359f699e14ae1e
dfornika
parents:
0
diff
changeset
|
56 <data name="output_file" format="tabular" /> |
c6a98b93e569
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 83ebe793451a5ccbfeff873eda359f699e14ae1e
dfornika
parents:
0
diff
changeset
|
57 <data name="coverage_file" format="tabular" /> |
0
1d9e3950ce61
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 77d12d12820477cdb046be90175f5d2dab52e620
dfornika
parents:
diff
changeset
|
58 </outputs> |
1d9e3950ce61
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 77d12d12820477cdb046be90175f5d2dab52e620
dfornika
parents:
diff
changeset
|
59 <help><![CDATA[ |
1d9e3950ce61
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 77d12d12820477cdb046be90175f5d2dab52e620
dfornika
parents:
diff
changeset
|
60 ]]></help> |
1d9e3950ce61
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 77d12d12820477cdb046be90175f5d2dab52e620
dfornika
parents:
diff
changeset
|
61 <citations> |
1d9e3950ce61
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 77d12d12820477cdb046be90175f5d2dab52e620
dfornika
parents:
diff
changeset
|
62 <citation type="doi">10.1101/172858</citation> |
1
c6a98b93e569
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 83ebe793451a5ccbfeff873eda359f699e14ae1e
dfornika
parents:
0
diff
changeset
|
63 <citation type="doi">10.1099/mgen.0.000146</citation> |
0
1d9e3950ce61
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 77d12d12820477cdb046be90175f5d2dab52e620
dfornika
parents:
diff
changeset
|
64 </citations> |
1d9e3950ce61
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 77d12d12820477cdb046be90175f5d2dab52e620
dfornika
parents:
diff
changeset
|
65 </tool> |