-
Notifications
You must be signed in to change notification settings - Fork 53
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
Occasional segmentation fault during annotation step #22
Comments
Thanks for sharing the results. Does the file output/PC-1-6/PC-1-6_annot.fa contain any assemblies annotations? |
Hi @mourisl , thank you for your reply. No, for all samples where it fails at the annotation step the
|
Can you share one of the _final.out files that failed to generate the _annot.fa file? Thank you. |
Hi @mourisl , Thank you — I'm checking with my supervisor about sharing the sequences, so will let you know shortly. I noticed while looking at the files that all the failed samples were >= 4.4MB: -rw-rw-r-- 1 ubuntu ubuntu 2.9M Jul 13 21:37 DOR-0-3_final.out.
-rw-rw-r-- 1 ubuntu ubuntu 2.0M Jul 13 21:45 DOR-0-4_final.out
-rw-rw-r-- 1 ubuntu ubuntu 1.7M Jul 13 21:52 DOR-0-7_final.out
-rw-rw-r-- 1 ubuntu ubuntu 4.8M Jul 13 21:59 NC-1-2_final.out <=======
-rw-rw-r-- 1 ubuntu ubuntu 1.4M Jul 13 22:05 NC-1-4_final.out
-rw-rw-r-- 1 ubuntu ubuntu 1.4M Jul 13 22:13 NC-1-5_final.out
-rw-rw-r-- 1 ubuntu ubuntu 2.6M Jul 13 22:20 NC-1-6_final.out
-rw-rw-r-- 1 ubuntu ubuntu 6.2M Jul 13 22:29 NC-2-1_final.out <=======
-rw-rw-r-- 1 ubuntu ubuntu 2.5M Jul 13 22:37 NC-2-7_final.out
-rw-rw-r-- 1 ubuntu ubuntu 3.7M Jul 13 22:44 PC-1-1_final.out
-rw-rw-r-- 1 ubuntu ubuntu 7.2M Jul 13 22:53 PC-1-6_final.out <=======
-rw-rw-r-- 1 ubuntu ubuntu 8.4M Jul 13 23:01 PC-2-3_final.out <=======
-rw-rw-r-- 1 ubuntu ubuntu 4.0M Jul 13 23:09 PC-2-5_final.out
-rw-rw-r-- 1 ubuntu ubuntu 4.4M Jul 13 23:16 XP-1-4_final.out <=======
-rw-rw-r-- 1 ubuntu ubuntu 3.4M Jul 13 23:23 XP-1-5_final.out
-rw-rw-r-- 1 ubuntu ubuntu 5.1M Jul 13 23:31 XP-1-7_final.out <=======
-rw-rw-r-- 1 ubuntu ubuntu 3.8M Jul 13 23:39 XP-1-8_final.out
-rw-rw-r-- 1 ubuntu ubuntu 7.4M Jul 13 23:48 XP-2-1_final.out <=======
-rw-rw-r-- 1 ubuntu ubuntu 8.5M Jul 13 23:58 XP-2-3_final.out <=======
-rw-rw-r-- 1 ubuntu ubuntu 6.6M Jul 14 01:43 XP-2-5_final.out <======= I then took one of the failed samples and cut it in half:
This also worked if I |
Interesting. The annotation shouldn't take much memory so memory should not be the issue. Can you try to run it with single thread (-t 1)? |
Hi @mourisl — I should have included that in the previous comment, but I tried that next and it still failed. I don't know Perl or I would try to take a look, but is it possible there's a fixed-size data structure that is being overflowed?
|
Hi @mourisl — I got permission to share one of the files in case it is helpful for debugging: NC-1-2_final.out |
Thank you! I'll check this right away! |
It finished successfully on my computer. Can you try to run it without option "-r"? |
Hi @mourisl — Thank you for taking the time to run that file. I'm on an Ubuntu EC2 machine, but will try both removing the |
Hi @mourisl , I'm running into the same issue using the singularity container:
Trying the singularity container with minimum commands:
Does the container version work for you? |
I think I've figured out the bug. Can you pull the GitHub repo again and give it a try? Thanks. |
Everything ran without issue — thank you for such a quick patch! |
Thanks for sharing the file! Helped A LOT in the debugging. |
first, thank you so much for TRUST4 - it's a great tool I've experienced a similar issue. (python3.6) yoav@zelda:~$ /home/zel/yoav/TRUST4/annotator -f /home/zel/yoav/TRUST4/mouse/mouse_IMGT+C.fa -a /home/zel/yoav/GBM_data/TCR_seq/TRUST4_all/7_final.out -t 1 -o /home/zel/yoav/GBM_data/TCR_seq/TRUST4_all/7 -r /home/zel/yoav/GBM_data/TCR_seq/TRUST4_all/7_assembled_reads.fa > /home/zel/yoav/GBM_data/TCR_seq/TRUST4_all/7_annot.fa here's a link to the final file in case it helps 7_final.out thanks in advance for your assistance, Yoav |
Hi, thank you for the work on this really interesting tool!
I have a set of RNA-seq samples that I'm iterating over to call TRUST4 on. What is odd is that while most samples run end-to-end without any issue, several of my samples are failing during the annotation step with a segmentation fault, which is a rather opaque failure state so I don't have much insight into why it is failing. Here is an example of the log output for two samples where one succeeds followed by one that fails during the annotation step:
Succeeds
Fails
TRUST4 Script
These samples are all processed the exact same way, so the intermittent failure is somewhat puzzling to me. I will post an update if I figure out how to get the annotation step to run successfully.
Thank you for your time,
John
The text was updated successfully, but these errors were encountered: