Converting Wgsim Output To Vcf
0
2
Entering edit mode
12.3 years ago
Pascal ★ 1.5k

Hi

Since I haven't found any tool that does it I will try to do myself a small script that convert the wgsim output (indels) to a VCF file.

Before starting I'd like some confirmations on the way to proceed.

If wgsim simulation output the following variants:

20      74397   GCTTG   -       -
20      86509   -       TCTT    +

The first line is a deletion of GCTTG and the second line is an insert of TCTT. Since at positions 74396 and 86509 of my reference genome there are respectively nucleotides T and C, I can write the corresponding VCF:

#CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO    FORMAT  SAMPLE
20      74396   .       TGCTTG  T       .       .       .       .       .
20      86509   .       C       CTCTT   .       .       .       .       .

Is that correct? (I have serious doubt about the insertion and its correct position, 86508 or 86509)

Thank you. Pascal

vcf variant • 2.3k views
ADD COMMENT

Login before adding your answer.

Traffic: 1478 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