annotate vcftools.xml @ 7:2e09b3f332f8 draft

Uploaded
author nilesh
date Wed, 10 Jul 2013 17:23:45 -0400
parents 0bef79a36ae1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
1 <toold id="vcftools" name="VCFtools" version="0.0.1">
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
2 <description>
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
3 The vcftools program is intended for analysis of diploid SNP data in VCF format.
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
4 </description>
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
5 <requirements>
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
6 <requirement type="package" version="0.1.11">vcftools</requirement>
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
7 </requirements>
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
8 <command>
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
9 vcftools
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
10
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
11 #if str($basic) == "gzvcf"
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
12 --gzvcf
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
13 #elif str($basic) == "bcf"
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
14 --bcf
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
15 #else
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
16 --vcf
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
17 #end if
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
18
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
19 $input
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
20
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
21 #for $chromosome in $chr
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
22 --chr $chromosome.number
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
23 #end for
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
24
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
25 #for $chromosome in $notchr
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
26 --notchr $chromosome.number
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
27 #end for
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
28
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
29 #if str($frombp) != ""
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
30 --from-bp $frombp
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
31 #end if
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
32
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
33 #if str($tobp) != ""
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
34 --to-bp $tobp
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
35 #end if
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
36
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
37 #for $snp in $snps
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
38 --snp $snp.id
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
39 #end for
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
40
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
41 #if str(${snpfile.file_name}) != ""
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
42 --snps $snpfile
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
43 #end if
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
44
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
45 #if str(${excludesnpfile.file_name}) != ""
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
46 --snps $excludesnpfile
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
47 #end if
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
48
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
49 #if str($indels) == "keeponlyindels"
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
50 --keep-only-indels
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
51 #elif str($indels) == "removeindels"
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
52 --removeindels
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
53 #end if
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
54
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
55 $removefilterall $recodetostream > out.recode.vcf
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
56 </command>
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
57 <inputs>
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
58 <param name="input" type="data" label="Input vcf file" format="vcf" />
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
59 <param name="basic" type="select" label="Basic Options" value="vcf">
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
60 <option value="vcf">Decompressed vcf file (default)</option>
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
61 <option value="gzvcf">Compressed (gzipped) vcf file</option>
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
62 <option value="bcf">Compressed (bgzf) bcf file</option
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
63 </param>
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
64 <repeat name="chr" title="Include chromosomes to be processed">
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
65 <param name="number" label="Chromosome number" type="integer" optional="true" />
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
66 </repeat>
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
67 <repeat name="notchr" title="Exclude chromosomes from processing">
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
68 <param name="number" label="Chromosome number" type="integer" optional="true" />
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
69 </repeat>
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
70 <param name="frombp" label="Beginning of range to be processed" help="only if chromosomes are included. You must also specify the end of range to be processed." optional="true" type="integer"/>
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
71 <param name="tobp" label="End of range to be processed" optional="true" type="integer" help="only if chromosomes are included. You must also specify the beginning of range to be processed."/>
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
72 <repeat name="snps" title="SNPs to include">
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
73 <param name="id" label="ID of SNP" type="text" optional="true" help="e.g. a dbSNP rsID"/>
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
74 </repeat>t
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
75 <param name="snpfile" type="data" format="txt, tabular" label="List of SNPs to include" help="The file should contain a list of SNP IDs (e.g. dbSNP rsIDs), with one ID per line." optional="true"/>
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
76 <param name="excludesnpfile" type="data" label = "List of SNPs to disclude" format="txt, tabular" help="The file should contain a list of SNP IDs (e.g. dbSNP rsIDs), with one ID per line." optional="true"/>
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
77 <param name="indels" type="select" label="Indel options" value="none">
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
78 <option value="keeponlyindels">Keep only indels</option>
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
79 <option value="removeindels"> Remove indels</option>
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
80 </param>
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
81 <param name="removefilterall" type="boolean" truevalue="--remove-filtered-all" falsevalue="" label="Remove all sites with the FILTER tag" value="false" />
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
82 <param name="recodetostream" type="boolean" truevalue="--recode-to-stream" falsevalue="" label="Recode to stream" value="false" />
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
83 </inputs>
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
84 <outputs>
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
85 <data format="vcf" name="output" from_work_dir="out.recode.vcf">
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
86 </outputs>
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
87 <help>
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
88 Welcome to VCFtools - a program package designed for working with VCF files, such as those generated by the 1000 Genomes Project. The aim of VCFtools is to provide methods for working with VCF files: validating, merging, comparing and calculate some basic population genetic statistics. More information at http://vcftools.sourceforge.net/index.html.
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
89 </help>
0bef79a36ae1 Uploaded
nilesh
parents:
diff changeset
90