Xinglab / rmats-turbo

Other
208 stars 48 forks source link

no files had been generated in prep and post #375

Closed suiyue7 closed 3 months ago

suiyue7 commented 3 months ago

Hi, your software is great and I am very grateful for developing such a good tool. I am trying to run rmats from bam.Howerver,three hours later, no files had been generated in prep and post. rmats was installed through conda. bam was generated by star. Here is my code: /data/users/yekeyue2024/.conda/envs/rMATs/bin/rmats.py --gtf /data/users/yekeyue2024/database/ucsc_human/hg38.ncbiRefSeq.gtf --tmp /data/users/yekeyue2024/rnasplicing/GMCM/cleandata/star/prep/ --od /data/users/yekeyue2024/rnasplicing/GMCM/cleandata/star/post/ --readLength 150 --b1 /data/users/yekeyue2024/rnasplicing/GMCM/cleandata/star/b1.txt --b2 /data/users/yekeyue2024/rnasplicing/GMCM/cleandata/star/b1.txt -t paired --anchorLength 1 --nthread 6 --libType fr-unstranded --task both --variable-read-length --novelSS

1 2 3

Thank you very much for your help resolving this.

EricKutschera commented 3 months ago

That command is using --task both (the default) which runs the prep step and the post step. I would expect the prep step with bam files to take about 1 hour for every 50 million alignments. --nthread can be increased up to the number of bam files to make use of additional CPUs. After the prep step is finished there should be at least 1 non-empty .rmats file in --tmp

The post step can take a long time if --novelSS is used depending on how many novel splice sites are found. You could try running without --novelSS first

You could also try running on a small dataset first to verify that your install of rMATS is working

suiyue7 commented 3 months ago

Thank you for your quick answer ! I run rmats without --novelSS and it now works. I also tried to run rmats with --novelSS and it took half a day and finished successfully.