Extract genotype from hg19
1
0
Entering edit mode
8.8 years ago
DVA ▴ 630

I have a large list of chr and positions, and would like to obtain the genotype of these positions in hg19. I saw this earlier post, but is there any easier way besides using samtools for each of the positions please?

Thank you.

hg19 • 1.7k views
ADD COMMENT
2
Entering edit mode
8.8 years ago
Chris Fields ★ 2.2k

seqtk has the 'subseq' command which has a bed option:

seqtk subseq [options] <in.fa> <in.bed>|<name.list>

This can generate tab-delim output as well using -t.

ADD COMMENT
0
Entering edit mode

Thanks Chris. I will give that a shot.

ADD REPLY

Login before adding your answer.

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