comparison tiptoft.xml @ 0:7987b0437fe1 draft default tip

"planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/tiptoft commit fae924375dd50aec403ad6bf632f2a8ffeac3863-dirty"
author thanhlv
date Fri, 10 Jan 2020 14:17:18 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:7987b0437fe1
1 <tool id="tiptoft" name="tiptoft" version="@VERSION@">
2 <description>Plasmid replicon and incompatibility group prediction 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 tiptoft
10 #if str($opt_input.plasmid_data) != ""
11 --plasmid_data '$plasmid_data'
12 #end if
13 --kmer $opt_input.kmer
14 #if str($opt_output.filtered_reads_file) != ""
15 --filtered_reads_file $opt_output.filtered_reads_file
16 #end if
17 #if str($opt_output.output_file) != ""
18 --output_file $opt_output.output_file
19 #end if
20 #if $opt_adv.no_hc_compression
21 --no_hc_compression
22 #end if
23 #if $opt_adv.no_gene_filter
24 --no_gene_filter
25 #end if
26 --max_gap $opt_adv.max_gap
27 --max_kmer_count $opt_adv.max_kmer_count
28 --margin $opt_adv.margin
29 --min_block_size $opt_adv.min_block_size
30 --min_fasta_hits $opt_adv.min_fasta_hits
31 --min_perc_coverage $opt_adv.min_perc_coverage
32 --min_kmers_for_onex_pass $opt_adv.min_kmers_for_onex_pass
33 '$fastq' > '$output'
34 ]]></command>
35
36 <inputs>
37 <param name="fastq" type="data" format="fastqsanger,fastqsanger.gz" label="Select fastq dataset" help="Specify dataset with single reads"/>
38
39 <section name="opt_input" title="Optional Input">
40 <param name="plasmid_data" argument="--plasmid_data" type="data" format="fasta" label="Plasmid database" help="A fasta file containing plasmid data. Defaults to bundled database"/>
41 <param argument="--kmer" type="integer" value="13" label="K-mer size" help="Default: 13"/>
42 </section>
43
44 <section name="opt_output" title="Optional Output">
45 <param argument="--filtered_reads_file" type="text" value="" label="Filename to save matching reads to" help="Default: None" />
46 <param argument="--output_file" type="text" value="" label="Output file" help="Default: None" />
47 </section>
48
49 <section name="opt_adv" title="Optional Advanced Input Arguments">
50 <param argument="--no_hc_compression" type="boolean" truevalue="--no_hc_compression" falsevalue="" checked="false" label="Turn off homoploymer compression of k-mers" help="Default:No" />
51 <param argument="--no_gene_filter" type="boolean" truevalue="--no_gene_filter" falsevalue="" checked="false" label="Dont filter out lower coverage genes from same group" help="Default:No" />
52 <param argument="--max_gap" type="integer" value="3" label="Maximum gap for blocks to be contigous, measured in
53 multiples of the k-mer size" help="Default:3" />
54 <param argument="--max_kmer_count" type="integer" value="10" label="Exclude k-mers which occur more than this number of
55 times in a sequence" help="Default:10" />
56 <param argument="--margin" type="integer" value="10" label="Flanking region around a block to use for mapping" help="Default:10" />
57 <param argument="--min_block_size" type="integer" value="50" label="Minimum block size in bases" help="Default:10" />
58 <param argument="--min_fasta_hits" type="integer" value="8" label="Minimum No. of kmers matching a read" help="Default:8" />
59 <param argument="--min_perc_coverage" type="integer" value="8" label="Minimum percentage coverage of typing sequence to
60 report" help="Default:85" />
61 <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" />
62 </section>
63 </inputs>
64
65 <outputs>
66 <data name="output" format="tabular" label="${tool.name} on ${on_string} report file" />
67 </outputs>
68
69 <tests>
70 <test>
71 <param name="fastq" value="query_gz.fastq" ftype="fastqsanger"/>
72 <param name="plasmid_data" value="plasmid.fa" ftype="fasta"/>
73 <output name="output" file="expected_outputfile" ftype="tabular" />
74 </test>
75 </tests>
76 <help><![CDATA[
77 usage: tiptoft [options] input.fastq
78
79 Plasmid replicon and incompatibility group prediction from uncorrected long
80 reads
81
82 Documentation can be found at `<https://github.com/andrewjpage/tiptoft>`_.
83
84 ]]></help>
85 <citations>
86 <citation type="bibtex">
87 @UNPUBLISHED{Page2018,
88 author = {Page, Andrew},
89 title = {tiptoft: Predict plasmids from uncorrected long read data},
90 year = {2018},
91 url = {https://github.com/andrewjpage/tiptoft},
92 }
93 </citation>
94 </citations>
95 </tool>