How to get sequence size of insertion/deletion in sam file pileup (e.g. using Rsamtools)
0
0
Entering edit mode
madsheilskov ▴ 10
@madsheilskov-9317
Last seen 3.6 years ago
Denmark

Is there a way to get the size of INDELS in Rsamtools similar to the output of samtools mpileup where for instance the G -> GAG insertion is printed as +2AG for each occurence (i.e. read-wise) I failed to find a solution with Rsamtools::pileup(), the tabular output looses the per-read information. Is it possible by other functions in Rsamtools, perhaps via Rsamtools::scanBam() somehow by parsing the CIGAR together with start and end positions ? Thanks

Mads Heilskov

Rsamtools pileup insertion deletion • 733 views
ADD COMMENT

Login before adding your answer.

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