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

TypeError: unsupported operand type(s) for +=: 'NoneType' and 'int' #33

Open
haowBio opened this issue Jan 22, 2024 · 7 comments
Open

Comments

@haowBio
Copy link

haowBio commented Jan 22, 2024

ribotish predict -b ${bams} -g ${gtf} -f ${fa} -o ${res_dir}/longest_pred.txt -p 40 --longest -v -v after run this code, I got the following error
image
How can I deal with it?

@zhpn1024
Copy link
Owner

zhpn1024 commented Jan 24, 2024 via email

@haowBio
Copy link
Author

haowBio commented Jan 24, 2024

It seems that the transcript exon position is not correct. At 2024-01-22 08:49:54, "haowBio" @.> wrote: ribotish predict -b ${bams} -g ${gtf} -f ${fa} -o ${res_dir}/longest_pred.txt -p 40 --longest -v -v after run this code, I got the following error image.png (view on web) How can I deal with it? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.>

Thank you for your response. How can I find out which transcript is causing the problem, or how can I check the GTF file to identify such errors?

@zhpn1024
Copy link
Owner

zhpn1024 commented Jan 24, 2024 via email

@haowBio
Copy link
Author

haowBio commented Jan 24, 2024

You can rerun use -p 1 (default) to process genes sequentially, and use -v -v to show processed genes. The error gene would be the next after the log reported gene in the gtf file. At 2024-01-24 09:58:36, "haowBio" @.> wrote: It seems that the transcript exon position is not correct. At 2024-01-22 08:49:54, "haowBio" @.> wrote: ribotish predict -b ${bams} -g ${gtf} -f ${fa} -o ${res_dir}/longest_pred.txt -p 40 --longest -v -v after run this code, I got the following error image.png (view on web) How can I deal with it? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.> Thank you for your response. How can I find out which transcript is causing the problem, or how can I check the GTF file to identify such errors? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>

Resolved, but I have another question. If I have multiple samples, how should I use the 'predict' function? Should I run it separately for each sample's BAM file and then merge the ORF results, or should I add all the BAM files after the -b parameter?

@zhpn1024
Copy link
Owner

zhpn1024 commented Jan 24, 2024 via email

@haowBio
Copy link
Author

haowBio commented Jan 25, 2024

compare the translation difference between samples

Is translation difference referring to calculating through DESeq2 by utilizing the ORF inframecount computed from each sample?

@zhpn1024
Copy link
Owner

zhpn1024 commented Jan 25, 2024 via email

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