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

Rmats compatibility with gzipped fastq files. #20

Open
serenolopezdarwin opened this issue Mar 3, 2022 · 0 comments
Open

Rmats compatibility with gzipped fastq files. #20

serenolopezdarwin opened this issue Mar 3, 2022 · 0 comments
Assignees

Comments

@serenolopezdarwin
Copy link

Rmats uses STAR as its aligner, and STAR works with gzipped fastq files, but this functionality isn't included in the rmats implementation of STAR. This is because STAR requires the additional argument "--readFilesCommand zcat" in order to process compressed files. I believe this can be fixed in rmats_wrapper.py by adding a conditional that checks if the "sample" argument ends in ".gz" and adding " --readFilesCommand zcat" to doSTARMapping. Something like

if sample[0].endswith('.gz'):
    cmd += ' --readFilesCommand zcat'

at line 146 should work, though I'm not sure of the exact format of the sample list object (I assume it's file name strings).

If there are instances of STAR commands elsewhere in the pipeline they must be remedied in the same fashion.

@zj-zhang zj-zhang self-assigned this Mar 7, 2022
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