annotate vcf_gff.xml @ 3:402c3f0fe807 draft

Uploaded revised vcf_gff.py from Github to fix bug
author john-mccallum
date Thu, 18 Oct 2012 17:54:38 -0400
parents a0689dc29b7f
children b321e0517be3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
1 <?xml version="1.0"?>
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
2 <tool id="vcf2gff_1" name="Convert vcf to gff">
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
3 <description>Convert vcf to gff</description>
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
4 <command interpreter="python">vcf_gff.py $inputVcf $outputfile</command>
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
5 <inputs>
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
6 <param format="vcf" name="inputVcf" type="data" label="vcf file containing SNP data"/>
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
7 </inputs>
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
8 <outputs>
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
9 <data format="gff3" name="outputfile" />
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
10 </outputs>
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
11 <help>
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
12
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
13 ** Convert vcf to gff3**
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
14
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
15 This tool takes vcf output from Samtools mpileup and converts to gff3 format.
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
16 It converts a single vcf output file containing output from a single bam file or from multiple bam files.
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
17 Read counts and GT scores are used as an indicator of whether a mutation is homozygous or heterozygous and outputs in the INFO section.
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
18
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
19 **TIP**
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
20 mpileup **must** be run with Genotype Likelihood Computation selected (-g flag)to generate the GT flag in BCF/VCF output.
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
21 This then used to estimate the SNP presence in one or more samples.
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
22 More info is available in the manual pages at: http://samtools.sourceforge.net/mpileup.shtml
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
23
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
24
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
25 **Example**
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
26
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
27 --input vcf
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
28
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
29 ::
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
30
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
31 #CHROM POS ID REF ALT QUAL FILTER INFO FORMAT bam
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
32 PGSC0003DMB000000001 430 . A T 3.41 . DP=4;AF1=0.9904;CI95=0.125,1;DP4=0,0,2,0;MQ=17 PL:DP:GT:GQ 32,6,0:2:1/1:23
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
33 PGSC0003DMB000000001 445 . G T 3.41 . DP=4;AF1=0.9904;CI95=0.125,1;DP4=0,0,2,0;MQ=17 PL:DP:GT:GQ 32,6,0:2:1/1:23
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
34 PGSC0003DMB000000001 446 . G A 3.41 . DP=4;AF1=0.9904;CI95=0.125,1;DP4=0,0,2,0;MQ=17 PL:DP:GT:GQ 32,6,0:2:1/1:23
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
35 PGSC0003DMB000000001 452 . C T 3.41 . DP=4;AF1=0.9904;CI95=0.125,1;DP4=0,0,2,0;MQ=17 PL:DP:GT:GQ 32,6,0:2:1/1:23
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
36
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
37 --output gff
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
38
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
39 ::
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
40
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
41 #CHROM SOURCE TYPE START STOP QUAL STRAND PHASE INFO
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
42 PGSC0003DMB000000001 SAMTOOLS SNP 430 430 3.41 . . ID=PGSC0003DMB000000001:SNP:430;Variant_seq=T;Reference_seq=A;Total_reads=4:Zygosity=2:HOM_mut
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
43 PGSC0003DMB000000001 SAMTOOLS SNP 445 445 3.41 . . ID=PGSC0003DMB000000001:SNP:445;Variant_seq=T;Reference_seq=G;Total_reads=4:Zygosity=2:HOM_mut
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
44 PGSC0003DMB000000001 SAMTOOLS SNP 446 446 3.41 . . ID=PGSC0003DMB000000001:SNP:446;Variant_seq=A;Reference_seq=G;Total_reads=4:Zygosity=2:HOM_mut
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
45 PGSC0003DMB000000001 SAMTOOLS SNP 452 452 3.41 . . ID=PGSC0003DMB000000001:SNP:452;Variant_seq=T;Reference_seq=C;Total_reads=4:Zygosity=2:HOM_mut
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
46
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
47
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
48
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
49 -----------------------
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
50
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
51 *If you use this tool please cite:*
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
52
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
53 A Toolkit For Bulk PCR-Based Marker Design From Next-Generation Sequence Data:
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
54 Application For Development Of A Framework Linkage Map In Bulb Onion (*Allium cepa* L.)
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
55 (2012)
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
56
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
57 Samantha Baldwin, Roopashree Revanna, Susan Thomson, Meeghan Pither-Joyce, Kathryn Wright,
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
58 Ross Crowhurst, Mark Fiers, Leshi Chen, Richard MacKnight, John A. McCallum
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
59
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
60 </help>
a0689dc29b7f Updated vcf to gff conversion tool
john-mccallum
parents:
diff changeset
61 </tool>