Edge case in VCF format
0
0
Entering edit mode
10.1 years ago
Will 4.6k

I'm trying to create a VCF formatted file from a pairwise alignment of two genomes. Downstream I'm going to use this to calibrate some deep-sequencing data where I know the input sequence (and thus the variants).

I'm just running into an odd edge-case in the VCF format. Following the specifications described in http://samtools.github.io/hts-specs/VCFv4.2.pdf I'm running into the edge-case where there is a "gap" in the first base of the query sequence with respect to the reference:

>Ref
ATTTGT
>Query
-TTTGT

Based on my understanding of the the VCF format I need to put the preceding & current base in the "REF" column and the preceding base in the ALT column. The POS should also be 0?

Any suggestions?

alignment • 2.1k views
ADD COMMENT
0
Entering edit mode
ADD REPLY
0
Entering edit mode

Yup, had the wrong search terms.

ADD REPLY

Login before adding your answer.

Traffic: 3701 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6