extracting one snp position from a vcd file
1
0
Entering edit mode
4.2 years ago
evelyn ▴ 230

Hello,

Is there a way to extract one SNP by POS from a large vcf file.

Thank you!

SNP • 504 views
ADD COMMENT
0
Entering edit mode

you asked many questions on this site. it would be nice if you could validate the correct answers (green ticks on the left).

ADD REPLY
0
Entering edit mode
4.2 years ago
ATpoint 82k

tabix, see the example in the manual: http://www.htslib.org/doc/tabix.html

Essentially you compress the file with bgzip, then index with tabix and then use tabix your.vcf.gz chr:start-end for retrieval.

ADD COMMENT

Login before adding your answer.

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