annotate snippy.xml @ 22:577b1b17a0ff draft default tip

Added snippy-core tool
author simon-gladman
date Thu, 09 Jun 2016 09:44:50 -0400
parents 2fbf00cd46ca
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10
0c9f91faff96 Added zippeed output folder as an output for use in snippy core.
simon-gladman
parents: 9
diff changeset
1 <tool id="snippy" name="snippy" version="0.2.0">
13
259aa64b2c99 Updated to new version of snippy with static binaries
simon-gladman
parents: 12
diff changeset
2 <requirements>
259aa64b2c99 Updated to new version of snippy with static binaries
simon-gladman
parents: 12
diff changeset
3 <requirement type="package" version="3.0">snippy</requirement>
259aa64b2c99 Updated to new version of snippy with static binaries
simon-gladman
parents: 12
diff changeset
4 </requirements>
259aa64b2c99 Updated to new version of snippy with static binaries
simon-gladman
parents: 12
diff changeset
5 <stdio>
259aa64b2c99 Updated to new version of snippy with static binaries
simon-gladman
parents: 12
diff changeset
6 <exit_code range="1:" />
259aa64b2c99 Updated to new version of snippy with static binaries
simon-gladman
parents: 12
diff changeset
7 </stdio>
0
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
8
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
9 <command><![CDATA[
9
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
10 #if str( $reftype.ref_type_selector ) == "fasta"
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
11 cp $reftype.ref foo.fna &&
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
12 #end if
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
13 #if str( $reftype.ref_type_selector ) == "genbank"
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
14 cp $reftype.ref foo.gbk &&
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
15 #end if
0
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
16 snippy
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
17 --outdir out
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
18 --cpus "\${GALAXY_SLOTS:-1}"
9
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
19 #if str( $reftype.ref_type_selector ) == "fasta"
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
20 --ref foo.fna
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
21 #end if
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
22 #if str( $reftype.ref_type_selector ) == "genbank"
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
23 --ref foo.gbk
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
24 #end if
0
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
25 $cleanup
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
26 #if str( $advanced.is_advanced ) == "advanced"
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
27 --mapqual $advanced.mapqual
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
28 --mincov $advanced.mincov
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
29 --minfrac $advanced.minfrac
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
30 #if $advanced.rgid
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
31 --rgid $advanced.rgid
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
32 #end if
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
33 #if $advanced.bwaopt
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
34 --bwaopt $advanced.bwaopt
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
35 #end if
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
36 #end if
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
37 #if str( $fastq_input.fastq_input_selector ) == "paired"
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
38 --pe1 $fastq_input.fastq_input1
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
39 --pe2 $fastq_input.fastq_input2
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
40 #end if
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
41 #if str( $fastq_input.fastq_input_selector ) == "paired_collection"
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
42 --pe1 $fastq_input.fastq_input1.forward
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
43 --pe2 $fastq_input.fastq_input1.reverse
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
44 #end if
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
45 #if str( $fastq_input.fastq_input_selector ) == "single"
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
46 --se $fastq_input.fastq_input1
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
47 #end if
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
48 #if str( $fastq_input.fastq_input_selector ) == "paired_iv"
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
49 --peil $fastq_input.fastq_input1
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
50 #end if
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
51
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
52 &&
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
53
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
54 gunzip out/snps.depth.gz
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
55
10
0c9f91faff96 Added zippeed output folder as an output for use in snippy core.
simon-gladman
parents: 9
diff changeset
56 &&
0c9f91faff96 Added zippeed output folder as an output for use in snippy core.
simon-gladman
parents: 9
diff changeset
57
16
29ad0319f14b Updated to new version of snippy with static binaries
simon-gladman
parents: 15
diff changeset
58 tar -czf out.tgz out
10
0c9f91faff96 Added zippeed output folder as an output for use in snippy core.
simon-gladman
parents: 9
diff changeset
59
0
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
60
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
61 ]]></command>
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
62 <inputs>
9
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
63 <conditional name="reftype">
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
64 <param name="ref_type_selector" type="select" label="Reference type" help="File type of the reference file. (Fasta or Genbank)">
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
65 <option value="genbank">Genbank</option>
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
66 <option value="fasta">Fasta</option>
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
67 </param>
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
68 <when value="fasta">
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
69 <param name="ref" type="data" format="fasta" label="Reference Fasta" help="Fasta file to use as the reference" />
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
70 </when>
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
71 <when value="genbank">
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
72 <param name="ref" type="data" format="genbank" label="Reference Genbank" help="Genbank file to use as the reference" />
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
73 </when>
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
74 </conditional>
0
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
75 <conditional name="fastq_input">
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
76 <param name="fastq_input_selector" type="select" label="Single or Paired-end reads" help="Select between paired and single end data">
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
77 <option value="paired">Paired</option>
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
78 <option value="single">Single</option>
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
79 <option value="paired_collection">Paired Collection</option>
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
80 <option value="paired_iv">Paired Interleaved</option>
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
81 </param>
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
82 <when value="paired">
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
83 <param name="fastq_input1" type="data" format="fastqsanger,fasta" label="Select first set of reads" help="Specify dataset with forward reads"/>
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
84 <param name="fastq_input2" type="data" format="fastqsanger,fasta" label="Select second set of reads" help="Specify dataset with reverse reads"/>
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
85 </when>
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
86 <when value="single">
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
87 <param name="fastq_input1" type="data" format="fastqsanger,fasta" label="Select fastq dataset" help="Specify dataset with single reads"/>
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
88 </when>
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
89 <when value="paired_collection">
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
90 <param name="fastq_input1" format="fastqsanger,fasta" type="data_collection" collection_type="paired" label="Select a paired collection" help="See help section for an explanation of dataset collections"/>
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
91 </when>
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
92 <when value="paired_iv">
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
93 <param name="fastq_input1" type="data" format="fastqsanger" label="Select fastq dataset" help="Specify dataset with interleaved reads"/>
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
94 </when>
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
95 </conditional>
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
96 <param name="cleanup" type="boolean" checked="true" truevalue="--cleanup" falsevalue="" label="Cleanup the non-snp output files" help="Remove all non-SNP files: BAMs, indices etc" />
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
97 <conditional name="advanced">
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
98 <param name="is_advanced" type="select" label="Advanced parameters" help="unhide advanced parameter settings">
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
99 <option value="advanced">Show advanced settings</option>
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
100 <option value="simple" selected="true">Hide advanced settings</option>
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
101 </param>
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
102 <when value="advanced">
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
103 <param name="mapqual" type="float" value="60" label="Minimum mapping quality" help="Minimum mapping quality to allow" />
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
104 <param name="mincov" type="float" value="10" label="Minimum coverage" help="Minimum coverage to call a snp" />
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
105 <param name="minfrac" type="float" value="0.9" label="Minumum proportion for variant evidence" help="Minumum proportion for variant evidence" />
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
106 <param name="rgid" type="text" value="" label="Bam header @RG ID" help="Use this @RG ID: in the BAM header" />
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
107 <param name="bwaopt" type="text" value="" label="Extra BWA MEM options" help="Extra BWA MEM options, eg. -x pacbio" />
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
108 </when>
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
109 <when value="simple">
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
110
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
111 </when>
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
112 </conditional>
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
113 </inputs>
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
114 <outputs>
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
115 <data format="vcf" name="snpvcf" label="${tool.name} on ${on_string} snps vcf file" from_work_dir="out/snps.vcf"/>
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
116 <data format="gff3" name="snpgff" label="${tool.name} on ${on_string} snps gff file" from_work_dir="out/snps.gff"/>
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
117 <data format="tabular" name="snptab" label="${tool.name} on ${on_string} snps table" from_work_dir="out/snps.tab"/>
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
118 <data format="tabular" name="snpsum" label="${tool.name} on ${on_string} snps summary" from_work_dir="out/snps.txt"/>
9
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
119 <data format="txt" name="snplog" label="${tool.name} on ${on_string} log file" from_work_dir="out/snps.log"/>
0
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
120 <data format="fasta" name="snpalign" label="${tool.name} on ${on_string} aligned fasta" from_work_dir="out/snps.aligned.fa"/>
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
121 <data format="fasta" name="snpconsensus" label="${tool.name} on ${on_string} consensus fasta" from_work_dir="out/snps.consensus.fa"/>
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
122 <data format="tabular" name="snpsdepth" label="${tool.name} on ${on_string} mapping depth" from_work_dir="out/snps.depth"/>
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
123 <data format="bam" name="snpsbam" label="${tool.name} on ${on_string} mapped reads (bam)" from_work_dir="out/snps.bam">
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
124 <filter>cleanup is False</filter>
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
125 </data>
17
2fbf00cd46ca Updated to new version of snippy with static binaries
simon-gladman
parents: 16
diff changeset
126 <data format="zip" name="outdir" label="${tool.name} on ${on_string} out dir" from_work_dir="out.tgz" />
0
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
127 </outputs>
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
128
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
129 <tests>
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
130 <test>
9
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
131 <param name="ref_type_selector" value="fasta" />
0
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
132 <param name="ref" value="Ecoli.fna" ftype="fasta" />
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
133 <param name="fastq_input_selector" value="paired" />
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
134 <param name="fastq_input1" ftype="fastq" value="reads_1.fq" />
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
135 <param name="fastq_input2" ftype="fastq" value="reads_2.fq" />
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
136 <output name="snpsum" ftype="tabular" file="test/snps.txt" lines-diff="5" />
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
137 </test>
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
138 </tests>
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
139
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
140
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
141 <help><![CDATA[
9
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
142 Synopsis:
7
1034b854d0ba Update to package_snippy_3_0
simon-gladman
parents: 6
diff changeset
143 snippy 3.0 - fast bacterial variant calling from NGS reads
9
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
144
0
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
145 Author:
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
146 Torsten Seemann <torsten.seemann@gmail.com>
9
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
147
0
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
148 Usage:
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
149 snippy [options] --outdir <dir> --ref <ref> --pe1 <R1.fq.gz> --pe2 <R2.fq.gz>
9
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
150
0
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
151 snippy [options] --outdir <dir> --ref <ref> --se <454.fastq>
9
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
152
0
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
153 snippy [options] --outdir <dir> --ref <ref> --peil <velvet.fa.gz>
9
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
154
0
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
155 Options:
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
156 --help This help
9
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
157
0
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
158 --version Print version and exit
9
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
159
0
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
160 --citation Print citation for referencing snippy
9
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
161
0
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
162 --quiet No screen output (default OFF)
9
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
163
0
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
164 --cpus [N] Maximum number of CPU cores to use (default '8')
9
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
165
0
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
166 --reference [X] Reference genome. Supports FASTA, GenBank, EMBL (not GFF) (default '')
9
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
167
0
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
168 --outdir [X] Output folder (default '')
9
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
169
0
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
170 --prefix [X] Prefix for output files (default 'snps')
9
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
171
0
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
172 --force Force overwrite of existing output folder (default OFF)
9
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
173
0
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
174 --pe1|R1|left [X] Reads, paired-end R1 (left) (default '')
9
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
175
0
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
176 --pe2|R2|right [X] Reads, paired-end R2 (right) (default '')
9
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
177
0
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
178 --se|single [X] Single-end reads (default '')
9
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
179
0
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
180 --peil [X] Reads, paired-end R1/R2 interleaved (default '')
9
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
181
0
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
182 --mapqual [n.n] Minimum mapping quality to allow (default '60')
9
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
183
0
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
184 --mincov [N] Minimum coverage of variant site (default '10')
9
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
185
0
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
186 --minfrac [n.n] Minumum proportion for variant evidence (default '0.9')
9
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
187
0
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
188 --report Produce long report with visual alignment (slow) (default OFF)
9
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
189
0
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
190 --cleanup Remove all non-SNP files: BAMs, indices etc (default OFF)
9
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
191
0
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
192 --rgid [X] Use this @RG ID: in the BAM header (default '')
9
234020dc16f7 Updated to new version of snippy with static binaries
simon-gladman
parents: 8
diff changeset
193
0
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
194 --bwaopt [X] Extra BWA MEM options, eg. -x pacbio (default '')
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
195
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
196 ]]></help>
13
259aa64b2c99 Updated to new version of snippy with static binaries
simon-gladman
parents: 12
diff changeset
197 <citations>
259aa64b2c99 Updated to new version of snippy with static binaries
simon-gladman
parents: 12
diff changeset
198 <citation type="bibtex">@UNPUBLISHED{Seemann2013,
259aa64b2c99 Updated to new version of snippy with static binaries
simon-gladman
parents: 12
diff changeset
199 author = "Seemann T",
259aa64b2c99 Updated to new version of snippy with static binaries
simon-gladman
parents: 12
diff changeset
200 title = "snippy: fast bacterial variant calling from NGS reads",
259aa64b2c99 Updated to new version of snippy with static binaries
simon-gladman
parents: 12
diff changeset
201 year = "2015",
259aa64b2c99 Updated to new version of snippy with static binaries
simon-gladman
parents: 12
diff changeset
202 note = "https://github.com/tseemann/snippy"}</citation>
259aa64b2c99 Updated to new version of snippy with static binaries
simon-gladman
parents: 12
diff changeset
203 </citations>
0
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
204
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
205
da9e55d788b8 planemo upload commit 4c7d4bfdccecf4acaf3ba612166182e41e5f398f-dirty
simon-gladman
parents:
diff changeset
206 </tool>