Hi, I hope everyone is doing well. I'm new to bioinformatics so I'm sorry if my question is silly.
I'm trying to quantify ADAR (A to I) editing index in my RNA-seq data following a specific pipeline (link attached below). Basically, ADAR editing is a defence mechanism against dsRNA. it alters the Adenosines into inosines. inosines are usually interpreted by the translation machinery as guanosines. so in order to measure the editing index, I need to count the number of A-G mismatch and compare it to the total A-A matches. the pipeline recommended marking all matches and mismatches in the BAM files using samtools 1.8 mpileup with the following parameters: --B --ff SECONDARY -d 100000 -l<regions BED>. that gave me a pileup file (very short example of how it's look like is below)
**chr1 15265 C 83 <<><<<<<<<><<<<>>>>>>><>>>>><>>>>>>>><<<>><><><>
>>>><<><<><<<<<><><><<<>>>>>>>><<<< FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFF:FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
chr1 15266 C 83 <<><<<<<<<><<<<>>>>>>><>>>>><>>>>>>>><<<>><><><>
>>>><<><<><<<<<><><><<<>>>>>>>><<<< FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFF:FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
chr1 15267 A 83 <<><<<<<<<><<<<>>>>>>><>>>>><>>>>>>>><<<>><><><>
>>>><<><<><<<<<><><><<<>>>>>>>><<<< FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFF:FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
chr1 15268 C 83 <<><<<<<<<><<<<>>>>>>><>>>>><>>>>>>>><<<>><><><>
>>>><<><<><<<<<><><><<<>>>>>>>><<<< FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFF:FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
chr1 15269 T 83 <<><<<<<<<><<<<>>>>>>><>>>>><>>>>>>>><<<>><><><>
>>>><<><<><<<<<><><><<<>>>>>>>><<<< FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFF:FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF**
Then I should count A to G mismatches and A-A matches. May I ask for any advice on how can I quantify these matches and mismatches from mpileup file?
someone has recommended VARScan for me but the pipeline's publisher disagreed, saying these mismatch is constitute only 1% of the genome and varient calling tools are not good for this purpose. (sadly they didn't recommend any alternative way)
for interested people, the link for the pipeline is
https://www.nature.com/articles/s41592-019-0610-9#Sec8
it's in the method section - index calculation.
Many thanks in advance.
Surar
editing
rna-seq
mpileup
rna
a-i