Mercurial > repos > thanhlv > krocus
comparison krocus.xml @ 0:d3ccbecf8f7f draft
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/krocus commit 15e535fd467e72874790ae7efd039237709b11ba-dirty
| author | thanhlv |
|---|---|
| date | Thu, 07 Feb 2019 12:02:43 -0500 |
| parents | |
| children | 3e434415a387 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:d3ccbecf8f7f |
|---|---|
| 1 <tool id="krocus" name="krocus" version="@VERSION@"> | |
| 2 <description>Multi-locus sequence typing (MLST) from uncorrected long reads</description> | |
| 3 <macros> | |
| 4 <import>macros.xml</import> | |
| 5 </macros> | |
| 6 <expand macro="requirements" /> | |
| 7 <expand macro="version_command" /> | |
| 8 <command detect_errors="exit_code"><![CDATA[ | |
| 9 krocus | |
| 10 --output_file detected_mlst.tsv | |
| 11 #if str($opt_args.filtered_reads_file) != "" | |
| 12 --filtered_reads_file $opt_args.filtered_reads_file | |
| 13 #end if | |
| 14 --max_gap $opt_args.max_gap | |
| 15 --min_kmers_for_onex_pass $opt_args.min_kmers_for_onex_pass | |
| 16 --margin $opt_args.margin | |
| 17 --min_block_size $opt_args.min_block_size | |
| 18 --min_fasta_hits $opt_args.min_fasta_hits | |
| 19 --min_kmers_for_onex_pass $opt_args.min_kmers_for_onex_pass | |
| 20 --max_kmers $opt_args.max_kmers | |
| 21 --print_interval $opt_args.print_interval | |
| 22 --kmer $opt_args.kmer | |
| 23 | |
| 24 #if $opt_args.divisible_by_3 | |
| 25 --divisible_by_3 | |
| 26 #end if | |
| 27 | |
| 28 #if $opt_args.verbose | |
| 29 --verbose | |
| 30 #end if | |
| 31 | |
| 32 '$krocus_mlst_databases.fields.path' '$fastq' | |
| 33 ]]></command> | |
| 34 | |
| 35 <inputs> | |
| 36 <param name="fastq" type="data" format="fastqsanger,fastqsanger.gz" label="Select fastq dataset" help="Specify dataset with single read"/> | |
| 37 <param label="Select a database" name="krocus_mlst_databases" type="select"> | |
| 38 <options from_data_table="krocus_mlst_databases"> | |
| 39 <validator message="No database is available" type="no_options" /> | |
| 40 </options> | |
| 41 </param> | |
| 42 <section name="opt_args" title="Optional Arguments"> | |
| 43 <param argument="--filtered_reads_file" type="text" value="" optional="True" label="Filename to save matching reads to" help="Default: None" /> | |
| 44 <param argument="--max_gap" type="integer" value="4" label="Maximum gap for blocks to be contigous, measured in | |
| 45 multiples of the k-mer size" help="Default:4" /> | |
| 46 <param argument="--margin" type="integer" value="10" label="Flanking region around a block to use for mapping" help="Default:10" /> | |
| 47 <param argument="--min_block_size" type="integer" value="150" label="Minimum block size in bases" help="Default:150" /> | |
| 48 <param argument="--min_fasta_hits" type="integer" value="10" label="Minimum No. of kmers matching a read" help="Default:10" /> | |
| 49 <param argument="--min_kmers_for_onex_pass" type="integer" value="5" label="Minimum No. of kmers matching a read in 1st pass" help="Default:5" /> | |
| 50 <param argument="--max_kmers" type="integer" value="10" label="Dont count kmers occuring more than this many times" help="Default:10" /> | |
| 51 <param argument="--print_interval" type="integer" value="10" label="Print ST every this number of reads" help="(Default:500)" /> | |
| 52 <param argument="--kmer" type="integer" value="10" label="k-mer size" help="(Default:11)" /> | |
| 53 <param argument="--divisible_by_3" type="boolean" truevalue="--divisible_by_3" falsevalue="" checked="false" label="Genes which are not divisible by 3 are excluded" help="(Default:No)" /> | |
| 54 <param argument="--target_st" type="integer" value="" optional="True" label="For performance testing print time to find given ST" help="(Default:None)" /> | |
| 55 <param argument="--verbose" type="boolean" truevalue="--verbose" falsevalue="" checked="false" label="Turn on debugging" help="(Default:No)" /> | |
| 56 </section> | |
| 57 </inputs> | |
| 58 | |
| 59 <outputs> | |
| 60 <data name="output_file" format="tabular" label="${tool.name} on ${on_string}: Output" from_work_dir="detected_mlst.tsv"/> | |
| 61 </outputs> | |
| 62 | |
| 63 <tests> | |
| 64 <test> | |
| 65 <param name="fastq" value="pacbio.fastq.gz" ftype="fastqsanger" /> | |
| 66 <param name="krocus_mlst_databases" value="mlst_db"/> | |
| 67 <output name="output_file" ftype="tabular" file="mlst_output_pacbio.tsv" compare="contains" /> | |
| 68 </test> | |
| 69 </tests> | |
| 70 | |
| 71 <help><![CDATA[ | |
| 72 usage: krocus [options] allele_directory input.fastq | |
| 73 | |
| 74 multi-locus sequence typing (MLST) from uncorrected long reads | |
| 75 | |
| 76 Documentation can be found at `<https://github.com/andrewjpage/krocus>`_. | |
| 77 ]]></help> | |
| 78 <expand macro="citations" /> | |
| 79 </tool> |
