comprna / SUPPA

SUPPA: Fast quantification of splicing and differential splicing
MIT License
258 stars 61 forks source link

Seek a help of SUPPA2 #171

Open imustxyq opened 1 year ago

imustxyq commented 1 year ago

Hi, I'm a profeesor from China and my research is alternaitve splicing. The Suppa2 is very useful tool to identify AS events and I employ it to analyze RNA-seq data more than once. Recently I encounter a error when employ suppa.py diffSplice to analyze deltaPSI. The error infomation is "ERROR:main:Unknown error: (<class 'UnboundLocalError'>, UnboundLocalError("local variable 'i' referenced before assignment"), <traceback object at 0x7f2732ea1640>)". However, when I delete the last column (sample ID:SRR8091200) in 077.tmp.txt and 077.psi, then the suppa.py diffSplice is run normally. Or if I replace the expression value in last column (sample ID:SRR8091200) in 077.tmp.txt with other column ( for example: using the expression value of sample SRR8091199), then the suppa.py diffSplice is run normally. I try all method, but don't find reason. I send the input file and command to you and hope you can help me. command: $suppa.py diffSplice -m empirical -p /home/XingBioinfor/ChiHongxia-suppa2/077.psi /home/XingBioinfor/ChiHongxia-suppa2/211.psi -e /home/XingBioinfor/ChiHongxia-suppa2/x.txt /home/XingBioinfor/ChiHongxia-suppa2/211.tpm.txt -i /home/XingBioinfor/ChiHongxia-suppa2/mus.events_all_strict.ioe -gc -nan 0.999 -o /home/XingBioinfor/ChiHongxia-suppa2/RE077_vs_SRR211_diffSplice

Thanks What's the e-mail ? The attachment is too large and wasn't uploaded.

EduEyras commented 1 year ago

Thanks for your message. What you describe sounds like a possible formatting error in the input files. Could you please check that the headers are defined as described in the README from the github? Also, please check that there are no hidden characters at the end of each line (e.g. Windows formatting places a new-line character). I hope this helps Best Eduardo