Identify point mutations from each read in bam files and change to N
0
0
Entering edit mode
17 months ago
sam ▴ 30

Hi All,

Is there a way around reading a bam file to change the mutated base to 'N' in the bam file?

Thanks!

base bam file SamTools mutated • 513 views
ADD COMMENT
0
Entering edit mode

why ? what are you trying to do ?

ADD REPLY
0
Entering edit mode

I have short-read data for a cultivar and want to generate assembly for the genic region based on a reference genome. Apart from the uniquely mapped reads, I am also using filtered multi-mapped reads (to improve coverage) with a certain number of mutations in these reads. However, I want to substitute the mismatched base in the muti-mapped read against reference to 'N'.

ADD REPLY

Login before adding your answer.

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