Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue about filter_read.py #16

Open
seven1112233 opened this issue Sep 19, 2024 · 0 comments
Open

issue about filter_read.py #16

seven1112233 opened this issue Sep 19, 2024 · 0 comments

Comments

@seven1112233
Copy link

Hi,

FLARE is a useful tool to call edits for RNA-editing RNA-seq datasets. While I tried to use it to call high-confidence edits, I got a problem with filter_read.py, which was used to remove reads with low quality. Regarding filter_read.py, there is a step filtering reads with
unexpected non-AG mutations. To achieve this aim, for each read, the tool firstly use read.is_reverse function from pysam to judge whether the read is from the reverse strand, then set the sense of this read using "sense = True if read.is_reverse == True else False". But I am confused about this step.

For example, with this workflow, in the case of truseq reverse stranded sequencing and we want to find out A-G mutations, for the read with flag 83, read.is_reverse=TRUE, so the sense=True. It's correct to filter reads with unexpected non-AG mutations. But how about the mate read with flag 163? In this situation, read.is_reverse=False, so the sense=False. the tool will remove this kind of read with unexpected non-TC mutations. But it's incorrect. Because the correct mutation of read with flag 163 is AG, not TC.

I apologize if I have any incorrect understanding. and your assistance will be highly appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant