Closed rLannes closed 3 months ago
Here's the line for that error: https://github.com/Xinglab/rmats-turbo/blob/v4.3.0/rMATS_pipeline/rmatspipeline/rmatspipeline.pyx#L124
It looks at the first character of each line in the gtf to see if it is a comment line. It calls line.strip()
first to remove whitespace on that line. Since the error was IndexError: string index out of range
I think your file has a line that is either blank or contains only whitespace. You could filter out those lines with grep -E -v '^[[:space:]]*$' file.gtf > filtered_file.gtf
Thank you, so much! it is working now
Hi,
I try to run rmats-turbo but using a gtf, that I heavily modified working on non reference species, that I use in other softwares (like IGV, featureCount) I got the following error:
This error unhelpful I do not know which line of my gtf rmats-turbo has an issue with, and thus cannot fix it. If rmats-turbo has additional requirements for the gtf format, I did not find them anywhere.
Do you have any way to validate a gtf for rmats-turbo? Or to fix this error?
Best regards, Romain