Mercurial > repos > thanhlv > krocus
comparison krocus.xml @ 2:3e434415a387 draft default tip
planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/krocus commit 5d1d3bd35e5cf4bcffe3e7ad1b079eeff1162ca0-dirty
| author | thanhlv |
|---|---|
| date | Fri, 15 Nov 2019 13:47:02 +0000 |
| parents | d3ccbecf8f7f |
| children |
comparison
equal
deleted
inserted
replaced
| 1:2409987d42df | 2:3e434415a387 |
|---|---|
| 6 <expand macro="requirements" /> | 6 <expand macro="requirements" /> |
| 7 <expand macro="version_command" /> | 7 <expand macro="version_command" /> |
| 8 <command detect_errors="exit_code"><![CDATA[ | 8 <command detect_errors="exit_code"><![CDATA[ |
| 9 krocus | 9 krocus |
| 10 --output_file detected_mlst.tsv | 10 --output_file detected_mlst.tsv |
| 11 #if str($opt_args.filtered_reads_file) != "" | 11 #if $opt_args.filtered_reads |
| 12 --filtered_reads_file $opt_args.filtered_reads_file | 12 --filtered_reads_file filtered_reads.fq |
| 13 #end if | 13 #end if |
| 14 --max_gap $opt_args.max_gap | 14 --max_gap $opt_args.max_gap |
| 15 --min_kmers_for_onex_pass $opt_args.min_kmers_for_onex_pass | 15 --min_kmers_for_onex_pass $opt_args.min_kmers_for_onex_pass |
| 16 --margin $opt_args.margin | 16 --margin $opt_args.margin |
| 17 --min_block_size $opt_args.min_block_size | 17 --min_block_size $opt_args.min_block_size |
| 18 --min_fasta_hits $opt_args.min_fasta_hits | 18 --min_fasta_hits $opt_args.min_fasta_hits |
| 19 --min_kmers_for_onex_pass $opt_args.min_kmers_for_onex_pass | 19 --min_kmers_for_onex_pass $opt_args.min_kmers_for_onex_pass |
| 20 --max_kmers $opt_args.max_kmers | 20 --max_kmers $opt_args.max_kmers |
| 21 --print_interval $opt_args.print_interval | 21 --print_interval $opt_args.print_interval |
| 22 --kmer $opt_args.kmer | 22 --kmer $opt_args.kmer |
| 23 | 23 $opt_args.divisible_by_3 |
| 24 #if $opt_args.divisible_by_3 | 24 $opt_args.verbose |
| 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' | 25 '$krocus_mlst_databases.fields.path' '$fastq' |
| 33 ]]></command> | 26 ]]> |
| 34 | 27 </command> |
| 35 <inputs> | 28 <inputs> |
| 36 <param name="fastq" type="data" format="fastqsanger,fastqsanger.gz" label="Select fastq dataset" help="Specify dataset with single read"/> | 29 <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"> | 30 <param label="Select a database" name="krocus_mlst_databases" type="select"> |
| 38 <options from_data_table="krocus_mlst_databases"> | 31 <options from_data_table="krocus_mlst_databases"> |
| 39 <validator message="No database is available" type="no_options" /> | 32 <validator message="No database is available" type="no_options" /> |
| 40 </options> | 33 </options> |
| 41 </param> | 34 </param> |
| 42 <section name="opt_args" title="Optional Arguments"> | 35 <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" /> | 36 <param name="filtered_reads" type="boolean" truevalue="" falsevalue="" checked="false" label="Save filtered reads ?"/> |
| 44 <param argument="--max_gap" type="integer" value="4" label="Maximum gap for blocks to be contigous, measured in | 37 <param argument="--max_gap" type="integer" min="1" value="4" label="Maximum gap for blocks to be contigous, measured in |
| 45 multiples of the k-mer size" help="Default:4" /> | 38 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" /> | 39 <param argument="--margin" type="integer" min="1" 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" /> | 40 <param argument="--min_block_size" type="integer" min="1" 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" /> | 41 <param argument="--min_fasta_hits" type="integer" min="1" 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" /> | 42 <param argument="--min_kmers_for_onex_pass" type="integer" min="2" 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" /> | 43 <param argument="--max_kmers" type="integer" min="1" 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)" /> | 44 <param argument="--print_interval" type="integer" min="1" 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)" /> | 45 <param argument="--kmer" type="integer" min="2" 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)" /> | 46 <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)" /> | 47 <param argument="--verbose" type="boolean" truevalue="--verbose" falsevalue="" checked="false" label="Turn on debugging" help="(Default:No)" /> |
| 55 <param argument="--verbose" type="boolean" truevalue="--verbose" falsevalue="" checked="false" label="Turn on debugging" help="(Default:No)" /> | |
| 56 </section> | 48 </section> |
| 57 </inputs> | 49 </inputs> |
| 58 | 50 |
| 59 <outputs> | 51 <outputs> |
| 60 <data name="output_file" format="tabular" label="${tool.name} on ${on_string}: Output" from_work_dir="detected_mlst.tsv"/> | 52 <data name="output_file" format="tabular" label="${tool.name} on ${on_string}: Output" from_work_dir="detected_mlst.tsv"/> |
| 53 <data name="filtered_reads" format="fastq" label="${tool.name} on ${on_string}: Filtered reads" from_work_dir="filtered_reads.fq"> | |
| 54 <filter>opt_args['filtered_reads'] is True</filter> | |
| 55 </data> | |
| 61 </outputs> | 56 </outputs> |
| 62 | 57 |
| 63 <tests> | 58 <tests> |
| 64 <test> | 59 <test expect_num_outputs="1"> |
| 65 <param name="fastq" value="pacbio.fastq.gz" ftype="fastqsanger" /> | 60 <param name="fastq" value="pacbio.fastq.gz" ftype="fastqsanger" /> |
| 66 <param name="krocus_mlst_databases" value="mlst_db"/> | 61 <param name="krocus_mlst_databases" value="mlst_db"/> |
| 67 <output name="output_file" ftype="tabular" file="mlst_output_pacbio.tsv" compare="contains" /> | 62 <output name="output_file" ftype="tabular" file="mlst_output_pacbio.tsv" compare="sim_size" /> |
| 63 </test> | |
| 64 <test expect_num_outputs="2"> | |
| 65 <param name="fastq" value="pacbio.fastq.gz" ftype="fastqsanger" /> | |
| 66 <param name="filtered_reads" value="True" /> | |
| 67 <param name="krocus_mlst_databases" value="mlst_db"/> | |
| 68 <output name="filtered_reads" ftype="fastq" file="filtered_reads.fq" compare="sim_size" /> | |
| 68 </test> | 69 </test> |
| 69 </tests> | 70 </tests> |
| 70 | 71 |
| 71 <help><![CDATA[ | 72 <help><![CDATA[ |
| 72 usage: krocus [options] allele_directory input.fastq | 73 Multi-locus sequence typing (MLST) from uncorrected long reads |
| 73 | 74 |
| 74 multi-locus sequence typing (MLST) from uncorrected long reads | 75 Krocus can predict a sequence type directly from uncorrected long reads, and |
| 76 which was designed to consume read data as it is produced, providing results | |
| 77 in minutes. It is the only tool which can do this from uncorrected long | |
| 78 reads. We tested Krocus on over 600 samples sequenced with using long read | |
| 79 sequencing technologies from PacBio and Oxford Nanopore. It provides | |
| 80 sequence types on average within 90 seconds, with a sensitivity of 94% and | |
| 81 specificity of 97%, directly from uncorrected raw sequence reads. | |
| 75 | 82 |
| 76 Documentation can be found at `<https://github.com/andrewjpage/krocus>`_. | 83 Documentation can be found at `<https://github.com/andrewjpage/krocus>`_. |
| 77 ]]></help> | 84 ]]> |
| 78 <expand macro="citations" /> | 85 </help> |
| 86 <expand macro="citations" /> | |
| 79 </tool> | 87 </tool> |
