This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Extract nucleotide from read at SNP position

I have read alignments in SAM format, I have read fastqs, I have genome fasta, and I have a VCF file with locations of SNPs. Is there an easy way to pull out the sequenced nucleotide for each read at the SNPs?

I'm not interested in calling SNPs (this is already done, I have my VCF) but I would like to know what nucleotide a read had at particular SNPs

rna-seq sam snp

SAM has read sequences for each alignment as well as the alignment position -- you can calculate offset into the read that corresponds to your SNP's location and look at the base

I am trying to do the same. Did you find a solution?

0 answers

No answers yet.

Log in to answer this question.