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

zero mapped rates uisng rmats #396

Open
wangduo-ux opened this issue Apr 19, 2024 · 3 comments
Open

zero mapped rates uisng rmats #396

wangduo-ux opened this issue Apr 19, 2024 · 3 comments

Comments

@wangduo-ux
Copy link

When I use STAR alone to align reads from two Fastq files, the alignment rate reaches 90%. However, when I use rMATS, the alignment rate is 0%, resulting in no output of any alternative splicing events.

@wangduo-ux
Copy link
Author

After examining the Log.final.out file, >90% of reads were unmapped due to too many mismatches as follows:
UNMAPPED READS:
Number of reads unmapped: too many mismatches | 187596289
% of reads unmapped: too many mismatches | 95.99%
Number of reads unmapped: too short | 6937531
% of reads unmapped: too short | 3.55%
Number of reads unmapped: other | 898527
% of reads unmapped: other | 0.46%

However, when I used STAR for alignment, the unique mapped rates reached 90%.

@wangduo-ux
Copy link
Author

Hi, Dr EricKutschera,

I have found the reasons but I still do not know how to address them.

STAR was run with the default argument "--outFilterMismatchNmax 10 ", however, STAR in rmats was run with the argument "--outFilterMismatchNmax 3", resulting in a high proportion of reads flagged as a mismatch. Thus, only <1% of reads were mapped to the genome, and few AS events were detected.

@EricKutschera
Copy link
Contributor

You can align the reads outside of rMATS and then use --b1/--b2: https://github.com/Xinglab/rmats-turbo/tree/v4.3.0?tab=readme-ov-file#starting-with-bam-files

If you still want to use --s1/--s2 then you can edit the STAR parameters in https://github.com/Xinglab/rmats-turbo/blob/v4.3.0/rmats.py#L66

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

2 participants