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