annotate vcftools.xml @ 10:83cb434254fb draft

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