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

most output files with only a header #3

Closed
rstatistics opened this issue Jun 4, 2020 · 4 comments
Closed

most output files with only a header #3

rstatistics opened this issue Jun 4, 2020 · 4 comments

Comments

@rstatistics
Copy link

rstatistics commented Jun 4, 2020

The output of rmats=4.1.0 with only header, pls check, thank you.
rmats.py --b1 b1.txt --b2 b2.txt --gtf ./gene.gtf --od ../rmats --tmp ./tmp
wc -l ../rmats/*

    1 A3SS.MATS.JCEC.txt
    1 A3SS.MATS.JC.txt
    1 A5SS.MATS.JCEC.txt
    1 A5SS.MATS.JC.txt
   29 fromGTF.A3SS.txt
   14 fromGTF.A5SS.txt
   14 fromGTF.MXE.txt
   ...
@EricKutschera
Copy link
Contributor

It's difficult for me to guess what is happening without seeing the stdout/stderr and the input BAMs and GTF. Perhaps there was an error reading the BAM files, or the reads just didn't indicate any alternative splicing

@rstatistics
Copy link
Author

It's difficult for me to guess what is happening without seeing the stdout/stderr and the input BAMs and GTF. Perhaps there was an error reading the BAM files, or the reads just didn't indicate any alternative splicing
Thank you for your reply. I have upload all my bam files and scripts in GitHub: git@github.com:rstatistics/rmats-issue.git
I hope you could help me out. Thank you very much!

@ywang1993
Copy link
Contributor

ywang1993 commented Jun 4, 2020

It seems that you didn't provide --readLength parameter when running both rmats, and the default value is 0 for this parameter. Different from v4.0.2, v4.1.0 version will filter out all reads that not match the input read length (in this case 0). And this is the reason you only have the header in those output files. You can easily fix it by providing the --readLength parameter. You can also add --variable-read-length flag in v4.1.0 to allow variable read length from bam files.

@rstatistics
Copy link
Author

@ywang1993 It works with "--readLength 100 --variable-read-length " parameter, thank you for helping me out!

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

4 participants