comparison bcftools_view.xml @ 0:f2d331bf3d38

Uploaded
author nilesh
date Thu, 11 Jul 2013 13:00:46 -0400
parents
children 3182c7fac413
comparison
equal deleted inserted replaced
-1:000000000000 0:f2d331bf3d38
1 <tool id="bcftools_view" name="bcftools view" version="0.0.1">
2 <description>Converts BCF format to VCF format</description>
3 <requirements>
4 <requirement type="package" version="0.1.18">samtools</requirement>
5 </requirements>
6 <command interpreter="python">
7 bcftools view
8 #if str( $A ) == "true":
9 -A
10 #end if
11 #if str( $b ) == "true":
12 -b
13 #end if
14 #if $D.seq_dictionary == "true":
15 -D "$D.input"
16 #end if
17 #if str( $F ) == "true":
18 -F
19 #end if
20 #if str( $G ) == "true":
21 -G
22 #end if
23 #if str( $N ) == "true":
24 -N
25 #end if
26 #if str( $S ) == "true":
27 -S
28 #end if
29 #if str( $u) == "true":
30 -u
31 #end if
32 #if str( $c ) == "true":
33 -c
34 #end if
35 #if str( $e ) == "true":
36 -e
37 #end if
38 #if str( $g ) == "true":
39 -g
40 #end if
41 #if $i.alt_indel_snp_ratio == "true":
42 -i $i.ratio
43 #end if
44 #if $p.variant_filter == "true":
45 -p $p.float_value
46 #end if
47 #if $t.mutation_rate == "true":
48 -t $t.rate
49 #end if
50 #if str( $v ) == "true":
51 -v
52 #end if
53 $input
54 > $output
55 </command>
56 <inputs>
57 <param name="input" type="data" format="bcf" label="Choose a bcf file to view" />
58 <param name="A" type="select" label="Retain all possible alternate alleles at variant sites">
59 <option value="true">Yes</option>
60 <option value="false" selected="true">No</option>
61 </param>
62 <param name="b" type="select" label="Output in the BCF format. The default is VCF.">
63 <option value="true">Yes</option>
64 <option value="false" selected="true">No</option>
65 </param>
66 <conditional name="D">
67 <param name="seq_dictionary" type="select" label="Sequence dictionary (list of chromosome names) for VCF->BCF conversion.">
68 <option value="true">Yes</option>
69 <option value="false" selected="true">No</option>
70 </param>
71 <when value="true">
72 <param name="input" type="data" format="tabular" label="Sequence dictionary" />
73 </when>
74 </conditional>
75 <param name="F" type="select" label="Indicate PL is generated by r921 or before (ordering is different).">
76 <option value="true">Yes</option>
77 <option value="false" selected="true">No</option>
78 </param>
79 <param name="G" type="select" label="Suppress all individual genotype information.">
80 <option value="true">Yes</option>
81 <option value="false" selected="true">No</option>
82 </param>
83 <param name="N" type="select" label="Skip sites where the REF field is not A/C/G/T">
84 <option value="true">Yes</option>
85 <option value="false" selected="true">No</option>
86 </param>
87 <param name="S" type="select" label="The input is VCF instead of BCF.">
88 <option value="true">Yes</option>
89 <option value="false" selected="true">No</option>
90 </param>
91 <param name="u" type="select" label="Uncompressed BCF output.">
92 <option value="true">Yes</option>
93 <option value="false" selected="true">No</option>
94 </param>
95 <param name="c" type="select" label="Call variants using Bayesian inference. Automatically performs max-likelihood inference only">
96 <option value="true" selected="true">Yes</option>
97 <option value="false">No</option>
98 </param>
99 <param name="e" type="select" label="Perform max-likelihood inference only, including estimating the site allele frequency, testing Hardy-Weinberg equilibrium and testing associations with LRT.">
100 <option value="true">Yes</option>
101 <option value="false" selected="true">No</option>
102 </param>
103 <param name="g" type="select" label="Call per-sample genotypes at variant sites">
104 <option value="true" selected="true">Yes</option>
105 <option value="false">No</option>
106 </param>
107 <conditional name="i">
108 <param name="alt_indel_snp_ratio" type="select" label="Use alternate INDEL-to-SNP mutation rate, default 0.15.">
109 <option value="true">Yes</option>
110 <option value="false" selected="true">No</option>
111 </param>
112 <when value="true">
113 <param name="ratio" type="float" label="Ratio (float)" value="0.15" />
114 </when>
115 </conditional>
116 <conditional name="p">
117 <param name="variant_filter" type="select" >
118 <option value="true">Yes</option>
119 <option value="false" selected="true">No</option>
120 </param>
121 <when value="true">
122 <param name="float_value" type="float" label="Float" value="0.5" />
123 </when>
124 </conditional>
125 <conditional name="t">
126 <param name="mutation_rate" type="select" label="Specify scaled mutation rate for variant calling, default is 0.001.">
127 <option value="true">Yes</option>
128 <option value="false" selected="true">No</option>
129 </param>
130 <when value="true">
131 <param name="rate" type="float" label="Mutation Rate (float)" value="0.001" />
132 </when>
133 </conditional>
134 <param name="v" type="select" label="Output variant sites only.">
135 <option value="true" selected="true">Yes</option>
136 <option value="false">No</option>
137 </param>
138 </inputs>
139 <outputs>
140 <data format="tabular" name="output" />
141 </outputs>
142 <help>
143 **What it does:**
144
145 This tool converts BCF files into VCF files using BCFtools view from the SAMtools set of utilities:
146
147 http://samtools.sourceforge.net/samtools.shtml#4
148
149 ------
150
151 **Citation:**
152
153 For the underlying tool, please cite `Li H, Handsaker B, Wysoker A, Fennell T, Ruan J, Homer N, Marth G, Abecasis G, Durbin R; 1000 Genome Project Data Processing Subgroup. The Sequence Alignment/Map format and SAMtools. Bioinformatics. 2009 Aug 15;25(16):2078-9. &lt;http://www.ncbi.nlm.nih.gov/pubmed/19505943&gt;`_
154
155
156 If you use this tool within Galaxy, please cite `Gregory Minevich, Danny S. Park, Daniel Blankenberg, Richard J. Poole, and Oliver Hobert. CloudMap: A Cloud-based Pipeline for Analysis of Mutant Genome Sequences. (Genetics 2012 In Press)`__
157
158 .. __: http://biochemistry.hs.columbia.edu/labs/hobert/literature.html
159
160 Correspondence to gm2123@columbia.edu (G.M.) or or38@columbia.edu (O.H.)
161
162 </help>
163 </tool>