Mercurial > repos > dfornika > mentalist
diff tools/mentalist_call/mentalist_call.xml @ 2:0f74aa0cfb68 draft
planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy
author | dfornika |
---|---|
date | Fri, 06 Oct 2017 19:02:53 -0400 |
parents | |
children | c3cef07b5132 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tools/mentalist_call/mentalist_call.xml Fri Oct 06 19:02:53 2017 -0400 @@ -0,0 +1,41 @@ +<tool id="mentalist_call" name="MentaLiST MLST Analysis" version="0.1.2"> + <requirements> + <requirement type="package" version="0.1.2">mentalist</requirement> + </requirements> + <command detect_errors="exit_code"><![CDATA[ + mentalist + call + -o '$output_file' + -s '$sample_name' + --db '$kmer_db.fields.path' + #if $discard_threshold + -t '$discard_threshold' + #end if + $input_fastqs.forward $input_fastqs.reverse + ]]></command> + <inputs> + <param name="sample_name" type="text" + label="Sample Name" help="Sample Name" /> + <param name="kmer_db" type="select"> + <options from_data_table="mentalist_databases"> + <validator type="no_options" message="No MentaLiST databases are available" /> + </options> + </param> + <param name="discard_threshold" type="float" + label="Discard Threshold" help="A read of length L is discarded if it has at less than (L - k) * t hits to the same locus in the kmer database, where k is the kmer length. 0 <= t <= 1" + value="0.3" min="0" max="1" /> + <param name="skip_length" type="integer" + label="Skip Length" help="Skip length between consecutive k-mers." + value="1" min="1" max="32" /> + <param name="input_fastqs" type="data_collection" collection_type="paired" format="fastq" + label="Input FastQ" help="FastQ input files" /> + </inputs> + <outputs> + <data name="output_file" format="tsv"/> + </outputs> + <help><![CDATA[ + ]]></help> + <citations> + <citation type="doi">10.1101/172858</citation> + </citations> +</tool>