annotate vcftools.xml @ 1:2276ef984c62 draft

Uploaded
author nilesh
date Wed, 10 Jul 2013 17:11:18 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
1 <toold id="vcftools" name="VCFtools">
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
2 <description>
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
3 The vcftools program is intended for analysis of diploid SNP data in VCF format.
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
4 </description>
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
5 <requirements>
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
6 <requirement type="package" version="0.1.11">vcftools</requirement>
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
7 </requirements>
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
8 <command>
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
9 vcftools
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
10
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
11 #if str($basic) == "gzvcf"
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
12 --gzvcf
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
13 #elif str($basic) == "bcf"
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
14 --bcf
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
15 #else
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
16 --vcf
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
17 #end if
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
18
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
19 $input
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
20
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
21 #for $chromosome in $chr
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
22 --chr $chromosome.number
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
23 #end for
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
24
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
25 #for $chromosome in $notchr
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
26 --notchr $chromosome.number
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
27 #end for
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
28
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
29 #if str($frombp) != ""
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
30 --from-bp $frombp
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
31 #end if
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
32
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
33 #if str($tobp) != ""
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
34 --to-bp $tobp
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
35 #end if
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
36
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
37 #for $snp in $snps
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
38 --snp $snp.id
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
39 #end for
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
40
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
41 #if str(${snpfile.file_name}) != ""
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
42 --snps $snpfile
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
43 #end if
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
44
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
45 #if str(${excludesnpfile.file_name}) != ""
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
46 --snps $excludesnpfile
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
47 #end if
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
48
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
49 #if str($indels) == "keeponlyindels"
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
50 --keep-only-indels
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
51 #elif str($indels) == "removeindels"
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
52 --removeindels
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
53 #end if
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
54
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
55 $removefilterall $recodetostream > out.recode.vcf
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
56 </command>
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
57 <inputs>
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
58 <param name="input" type="data" label="Input vcf file" format="vcf" />
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
59 <param name="basic" type="select" label="Basic Options" value="vcf">
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
60 <option value="vcf">Decompressed vcf file (default)</option>
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
61 <option value="gzvcf">Compressed (gzipped) vcf file</option>
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
62 <option value="bcf">Compressed (bgzf) bcf file</option
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
63 </param>
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
64 <repeat name="chr" title="Include chromosomes to be processed">
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
65 <param name="number" label="Chromosome number" type="integer" optional="true" />
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
66 </repeat>
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
67 <repeat name="notchr" title="Exclude chromosomes from processing">
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
68 <param name="number" label="Chromosome number" type="integer" optional="true" />
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
69 </repeat>
2276ef984c62 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"/>
2276ef984c62 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."/>
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
72 <repeat name="snps" title="SNPs to include">
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
73 <param name="id" label="ID of SNP" type="text" optional="true" help="e.g. a dbSNP rsID"/>
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
74 </repeat>t
2276ef984c62 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"/>
2276ef984c62 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"/>
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
77 <param name="indels" type="select" label="Indel options" value="none">
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
78 <option value="keeponlyindels">Keep only indels</option>
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
79 <option value="removeindels"> Remove indels</option>
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
80 </param>
2276ef984c62 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" />
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
82 <param name="recodetostream" type="boolean" truevalue="--recode-to-stream" falsevalue="" label="Recode to stream" value="false" />
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
83 </inputs>
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
84 <outputs>
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
85 <data format="vcf" name="output" from_work_dir="out.recode.vcf">
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
86 </outputs>
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
87 <help>
2276ef984c62 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.
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
89 </help>
2276ef984c62 Uploaded
nilesh
parents:
diff changeset
90