annotate vcfannotate.xml @ 0:027fe0a0076e

Imported from capsule None
author anton
date Wed, 11 Jun 2014 17:10:47 -0400
parents
children 044448c58323
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
1 <tool id="vcfannotate" name="VCFannotate:" version="0.0.1">
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
2 <requirements>
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
3 <requirement type="package" version="586c5ae5d57a38dae6b32ea831fb1f7cfa14c9bd">vcflib</requirement>
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
4 </requirements>
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
5 <description>Intersect VCF records with BED annotations</description>
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
6 <command>vcfannotate --key "${key_option}" -b "${bed_data}" "${input}" > "${out_file1}"</command>
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
7 <inputs>
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
8 <param format="vcf" name="input" type="data" label="Select VCF dataset"/>
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
9 <param name="bed_data" type="data" format="bed" label="BED datasets to itersect with"/>
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
10 <param name="key_option" size="20" type="text" value="BED-features" label="Intersecting VCF records will be prefixed with this TAG within the INFO field" help="--key option"/>
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
11 </inputs>
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
12 <outputs>
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
13 <data format="vcf" name="out_file1" />
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
14 </outputs>
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
15 <tests>
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
16 <test>
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
17 <param name="bed_data" value="vcfannotate.bed" ftype="bed"/>
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
18 <param name="key_option" value="BED-features"/>
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
19 <param name="input" value="vcflib.vcf"/>
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
20 <output name="out_file1" file="vcfannotate-test1.vcf" lines_diff="2" />
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
21 </test>
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
22 </tests>
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
23 <help>
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
24
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
25 Intersect the records in the VCF file with targets provided in a BED file. Intersections are done on the reference sequences in the VCF file.
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
26
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
27 -----
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
28
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
29 .. class:: infomark
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
30
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
31
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
32 **Example**:
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
33
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
34 The following VCF line::
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
35
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
36 #CHROM POS ID REF ALT QUAL FILTER INFO FORMAT NA00001 NA00002 NA00003
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
37 20 1110696 rs6040355 A G,T 67 PASS NS=2;DP=10;AF=0.333,0.667;AA=T;DB GT:GQ:DP:HQ 1|2:21:6:23,27 2|1:2:0:18,2 2/2:35:4:.,.
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
38
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
39 will appear as the follwing after intersectuion with BED records uc010zpo.2, uc002wel.4, uc010zpp.2, and uc002wen::
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
40
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
41 #CHROM POS ID REF ALT QUAL FILTER INFO FORMAT NA00001 NA00002 NA00003
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
42 20 1110696 rs6040355 A G,T 67 PASS AA=T;AF=0.333,0.667;BED-features=uc010zpo.2:uc002wel.4:uc010zpp.2:uc002wen.4;DP=10;NS=2;DB GT:GQ:DP:HQ 1|2:21:6:23,27 2|1:2:0:18,2 2/2:35:4:.,.
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
43
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
44 ----
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
45
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
46 Vcfannotate is a part of VCFlib toolkit developed by Erik Garrison (https://github.com/ekg/vcflib).
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
47
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
48
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
49 </help>
027fe0a0076e Imported from capsule None
anton
parents:
diff changeset
50 </tool>