annotate bcftools_view.xml @ 2:e5e78d1e09a6 draft default tip

Uploaded
author iuc
date Thu, 14 Aug 2014 12:19:22 -0400
parents e88316dc99b5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
e88316dc99b5 Uploaded
iuc
parents: 0
diff changeset
1 <tool id="bcftools_@EXECUTABLE@" name="bcftools @EXECUTABLE@" version="0.1.19.0">
0
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
2 <description>Convert, filter, subset VCF/BCF files</description>
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
3 <expand macro="requirements" />
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
4 <expand macro="version_command" />
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
5 <expand macro="stdio" />
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
6 <macros>
2
e5e78d1e09a6 Uploaded
iuc
parents: 1
diff changeset
7 <token name="@EXECUTABLE@">view</token>
0
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
8 <import>bcftools_macros.xml</import>
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
9 </macros>
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
10 <command>
2
e5e78d1e09a6 Uploaded
iuc
parents: 1
diff changeset
11 bcftools @EXECUTABLE@
0
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
12 $A
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
13 $varsitesonly
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
14 $snpcalling
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
15 ##$F
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
16 $G
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
17 $N
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
18 $e
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
19 $g
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
20
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
21 #if str( $output_format ) == "bcf":
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
22 -b
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
23 #end if
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
24
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
25 -D $seq_dict
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
26
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
27 -i $ratio
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
28 -t $rate
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
29
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
30 $input
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
31 &gt; $output
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
32
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
33 </command>
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
34 <inputs>
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
35 <param name="input" type="data" format="bcf,vcf" label="Choose a bcf file to view" />
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
36 <param name="output_format" type="select" label="Choose the output format" help="-b">
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
37 <option value="vcf" selected="true">VCF</option>
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
38 <option value="bcf">BCF</option>
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
39 </param>
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
40
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
41 <param name="seq_dict" type="data" format="tabular" optional="True" label="List of chromosome names for conversion" help="(-D)" />
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
42
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
43 <param name="ratio" type="float" label="Use alternate INDEL-to-SNP mutation rate" value="-1" help="defaults to 0.15 (-i)" />
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
44 <param name="rate" type="float" label="Mutation rate for variant calling" value="0.001" help="default to 0.001 (-t)" />
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
45
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
46 <param name="A" type="boolean" truevalue="-A" falsevalue="" checked="False"
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
47 label="Retain all possible alternate alleles at variant sites" help="-A" />
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
48 <param name="varsitesonly" type="boolean" truevalue="-v" falsevalue="" checked="false" label="Output Potential Variant Sites Only" help="-v"/>
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
49 <param name="snpcalling" type="boolean" truevalue="-c" falsevalue="" checked="false" label="SNP calling" help="Forces -e the max-likelihood inference parameter. (-c)"/>
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
50 <!--param name="F" type="boolean" truevalue="-F" falsevalue="" checked="False"
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
51 label="Indicate PL is generated by r921 or before (ordering is different)" help="-F" /-->
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
52 <param name="G" type="boolean" truevalue="-G" falsevalue="" checked="False"
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
53 label="Suppress all individual genotype information" help="-G" />
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
54 <param name="N" type="boolean" truevalue="-N" falsevalue="" checked="False"
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
55 label="Skip sites where the REF field is not A/C/G/T" help="-N" />
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
56 <param name="e" type="boolean" truevalue="-e" falsevalue="" checked="False"
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
57 label="Perform max-likelihood inference only"
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
58 help="Including estimating the site allele frequency, testing Hardy-Weinberg equilibrium and testing associations with LRT. (-e)" />
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
59 <param name="g" type="boolean" truevalue="-g" falsevalue="" checked="True"
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
60 label="Call per-sample genotypes at variant sites" help="-g" />
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
61 </inputs>
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
62
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
63 <outputs>
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
64 <data format="bcf" name="output">
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
65 <change_format>
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
66 <when input="output_format" value="vcf" format="vcf" />
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
67 </change_format>
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
68 </data>
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
69 </outputs>
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
70
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
71 <tests>
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
72 </tests>
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
73
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
74 <help>
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
75 <![CDATA[
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
76 **BCFTools View**
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
77
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
78 VCF/BCF conversion, view, subset and filter VCF/BCF files.
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
79
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
80
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
81 **Input format**
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
82
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
83 `BCF files <http://www.1000genomes.org/wiki/analysis/variant-call-format/bcf-binary-vcf-version-2/>`_
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
84
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
85 ------
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
86
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
87 **Outputs**
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
88
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
89 VCF or BCF files
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
90
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
91 ]]>
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
92 </help>
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
93 <expand macro="citations"/>
bdd0cb7fbedf Imported from capsule None
iuc
parents:
diff changeset
94 </tool>