comparison snippy.xml @ 4:f0b139f53e1f draft

Added genbank support
author simon-gladman
date Tue, 07 Jun 2016 03:40:16 -0400
parents 8b69e4b18a5f
children ff31f16f5dfd
comparison
equal deleted inserted replaced
3:8b69e4b18a5f 4:f0b139f53e1f
11 <stdio> 11 <stdio>
12 <exit_code range="1:" /> 12 <exit_code range="1:" />
13 </stdio> 13 </stdio>
14 14
15 <command><![CDATA[ 15 <command><![CDATA[
16 cp $ref foo.fna && 16 #if str( $reftype.ref_type_selector ) == "fasta"
17 cp $reftype.ref foo.fna &&
18 #end if
19 #if str( $reftype.ref_type_selector ) == "genbank"
20 cp $reftype.ref foo.gbk &&
21 #end if
17 snippy 22 snippy
18 --outdir out 23 --outdir out
19 --cpus "\${GALAXY_SLOTS:-1}" 24 --cpus "\${GALAXY_SLOTS:-1}"
20 --ref foo.fna 25 #if str( $reftype.ref_type_selector ) == "fasta"
26 --ref foo.fna
27 #end if
28 #if str( $reftype.ref_type_selector ) == "genbank"
29 --ref foo.gbk
30 #end if
21 $cleanup 31 $cleanup
22 #if str( $advanced.is_advanced ) == "advanced" 32 #if str( $advanced.is_advanced ) == "advanced"
23 --mapqual $advanced.mapqual 33 --mapqual $advanced.mapqual
24 --mincov $advanced.mincov 34 --mincov $advanced.mincov
25 --minfrac $advanced.minfrac 35 --minfrac $advanced.minfrac
50 gunzip out/snps.depth.gz 60 gunzip out/snps.depth.gz
51 61
52 62
53 ]]></command> 63 ]]></command>
54 <inputs> 64 <inputs>
55 <param name="ref" type="data" format="fasta" label="Reference Fasta" help="Fasta file to use as the reference" /> 65 <conditional name="reftype">
66 <param name="ref_type_selector" type="select" label="Reference type" help="File type of the reference file. (Fasta or Genbank)">
67 <option value="genbank">Genbank</option>
68 <option value="fasta">Fasta</option>
69 </param>
70 <when value="fasta">
71 <param name="ref" type="data" format="fasta" label="Reference Fasta" help="Fasta file to use as the reference" />
72 </when>
73 <when value="genbank">
74 <param name="ref" type="data" format="genbank" label="Reference Genbank" help="Genbank file to use as the reference" />
75 </when>
76 </conditional>
56 <conditional name="fastq_input"> 77 <conditional name="fastq_input">
57 <param name="fastq_input_selector" type="select" label="Single or Paired-end reads" help="Select between paired and single end data"> 78 <param name="fastq_input_selector" type="select" label="Single or Paired-end reads" help="Select between paired and single end data">
58 <option value="paired">Paired</option> 79 <option value="paired">Paired</option>
59 <option value="single">Single</option> 80 <option value="single">Single</option>
60 <option value="paired_collection">Paired Collection</option> 81 <option value="paired_collection">Paired Collection</option>
95 <outputs> 116 <outputs>
96 <data format="vcf" name="snpvcf" label="${tool.name} on ${on_string} snps vcf file" from_work_dir="out/snps.vcf"/> 117 <data format="vcf" name="snpvcf" label="${tool.name} on ${on_string} snps vcf file" from_work_dir="out/snps.vcf"/>
97 <data format="gff3" name="snpgff" label="${tool.name} on ${on_string} snps gff file" from_work_dir="out/snps.gff"/> 118 <data format="gff3" name="snpgff" label="${tool.name} on ${on_string} snps gff file" from_work_dir="out/snps.gff"/>
98 <data format="tabular" name="snptab" label="${tool.name} on ${on_string} snps table" from_work_dir="out/snps.tab"/> 119 <data format="tabular" name="snptab" label="${tool.name} on ${on_string} snps table" from_work_dir="out/snps.tab"/>
99 <data format="tabular" name="snpsum" label="${tool.name} on ${on_string} snps summary" from_work_dir="out/snps.txt"/> 120 <data format="tabular" name="snpsum" label="${tool.name} on ${on_string} snps summary" from_work_dir="out/snps.txt"/>
100 <data format="text" name="snplog" label="${tool.name} on ${on_string} log file" from_work_dir="out/snps.log"/> 121 <data format="txt" name="snplog" label="${tool.name} on ${on_string} log file" from_work_dir="out/snps.log"/>
101 <data format="fasta" name="snpalign" label="${tool.name} on ${on_string} aligned fasta" from_work_dir="out/snps.aligned.fa"/> 122 <data format="fasta" name="snpalign" label="${tool.name} on ${on_string} aligned fasta" from_work_dir="out/snps.aligned.fa"/>
102 <data format="fasta" name="snpconsensus" label="${tool.name} on ${on_string} consensus fasta" from_work_dir="out/snps.consensus.fa"/> 123 <data format="fasta" name="snpconsensus" label="${tool.name} on ${on_string} consensus fasta" from_work_dir="out/snps.consensus.fa"/>
103 <data format="tabular" name="snpsdepth" label="${tool.name} on ${on_string} mapping depth" from_work_dir="out/snps.depth"/> 124 <data format="tabular" name="snpsdepth" label="${tool.name} on ${on_string} mapping depth" from_work_dir="out/snps.depth"/>
104 <data format="bam" name="snpsbam" label="${tool.name} on ${on_string} mapped reads (bam)" from_work_dir="out/snps.bam"> 125 <data format="bam" name="snpsbam" label="${tool.name} on ${on_string} mapped reads (bam)" from_work_dir="out/snps.bam">
105 <filter>cleanup is False</filter> 126 <filter>cleanup is False</filter>
116 </test> 137 </test>
117 </tests> 138 </tests>
118 139
119 140
120 <help><![CDATA[ 141 <help><![CDATA[
121 This is a change to force a reinstall 142 Synopsis:
122 Synopsis:
123 snippy 3.0 - fast bacterial variant calling from NGS reads 143 snippy 3.0 - fast bacterial variant calling from NGS reads
144
124 Author: 145 Author:
125 Torsten Seemann <torsten.seemann@gmail.com> 146 Torsten Seemann <torsten.seemann@gmail.com>
147
126 Usage: 148 Usage:
127 snippy [options] --outdir <dir> --ref <ref> --pe1 <R1.fq.gz> --pe2 <R2.fq.gz> 149 snippy [options] --outdir <dir> --ref <ref> --pe1 <R1.fq.gz> --pe2 <R2.fq.gz>
150
128 snippy [options] --outdir <dir> --ref <ref> --se <454.fastq> 151 snippy [options] --outdir <dir> --ref <ref> --se <454.fastq>
152
129 snippy [options] --outdir <dir> --ref <ref> --peil <velvet.fa.gz> 153 snippy [options] --outdir <dir> --ref <ref> --peil <velvet.fa.gz>
154
130 Options: 155 Options:
131 --help This help 156 --help This help
157
132 --version Print version and exit 158 --version Print version and exit
159
133 --citation Print citation for referencing snippy 160 --citation Print citation for referencing snippy
161
134 --quiet No screen output (default OFF) 162 --quiet No screen output (default OFF)
163
135 --cpus [N] Maximum number of CPU cores to use (default '8') 164 --cpus [N] Maximum number of CPU cores to use (default '8')
165
136 --reference [X] Reference genome. Supports FASTA, GenBank, EMBL (not GFF) (default '') 166 --reference [X] Reference genome. Supports FASTA, GenBank, EMBL (not GFF) (default '')
167
137 --outdir [X] Output folder (default '') 168 --outdir [X] Output folder (default '')
169
138 --prefix [X] Prefix for output files (default 'snps') 170 --prefix [X] Prefix for output files (default 'snps')
171
139 --force Force overwrite of existing output folder (default OFF) 172 --force Force overwrite of existing output folder (default OFF)
173
140 --pe1|R1|left [X] Reads, paired-end R1 (left) (default '') 174 --pe1|R1|left [X] Reads, paired-end R1 (left) (default '')
175
141 --pe2|R2|right [X] Reads, paired-end R2 (right) (default '') 176 --pe2|R2|right [X] Reads, paired-end R2 (right) (default '')
177
142 --se|single [X] Single-end reads (default '') 178 --se|single [X] Single-end reads (default '')
179
143 --peil [X] Reads, paired-end R1/R2 interleaved (default '') 180 --peil [X] Reads, paired-end R1/R2 interleaved (default '')
181
144 --mapqual [n.n] Minimum mapping quality to allow (default '60') 182 --mapqual [n.n] Minimum mapping quality to allow (default '60')
183
145 --mincov [N] Minimum coverage of variant site (default '10') 184 --mincov [N] Minimum coverage of variant site (default '10')
185
146 --minfrac [n.n] Minumum proportion for variant evidence (default '0.9') 186 --minfrac [n.n] Minumum proportion for variant evidence (default '0.9')
187
147 --report Produce long report with visual alignment (slow) (default OFF) 188 --report Produce long report with visual alignment (slow) (default OFF)
189
148 --cleanup Remove all non-SNP files: BAMs, indices etc (default OFF) 190 --cleanup Remove all non-SNP files: BAMs, indices etc (default OFF)
191
149 --rgid [X] Use this @RG ID: in the BAM header (default '') 192 --rgid [X] Use this @RG ID: in the BAM header (default '')
193
150 --bwaopt [X] Extra BWA MEM options, eg. -x pacbio (default '') 194 --bwaopt [X] Extra BWA MEM options, eg. -x pacbio (default '')
151 195
152 ]]></help> 196 ]]></help>
153 197
154 <citations> 198 <citations>