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

Error 139 #61

Open
JIBINJOHNV opened this issue Jan 23, 2022 · 4 comments
Open

Error 139 #61

JIBINJOHNV opened this issue Jan 23, 2022 · 4 comments

Comments

@JIBINJOHNV
Copy link

Hi,
I tried to assemble an 800mb diploid plant genome. However, it crashed

/wengan/wengan-v0.2-bin-Linux/bin/minia -in /data/Assemblies/wengan/asm.minia_reads.41.txt -kmer-size 41 -abundance-min 2 -out /data/Assemblies/wengan/asm.minia.41 -minimizer-size 10 -max-memory 5000 -nb-cores 5 2> /data/Assemblies/wengan/asm.minia.41.err > /data/Assemblies/wengan/asm.minia.41.log
rm -f /data/Assemblies/wengan/asm.minia.41.unitigs.fa.glue* /data/Assemblies/wengan/asm.minia.41.h5 /data/Assemblies/wengan/asm.minia.41.unitigs.fa
/wengan/wengan-v0.2-bin-Linux/bin/minia -in /data/Assemblies/wengan/asm.minia_reads.81.txt -kmer-size 81 -abundance-min 2 -out /data/Assemblies/wengan/asm.minia.81 -minimizer-size 10 -max-memory 5000 -nb-cores 5 2> /data/Assemblies/wengan/asm.minia.81.err > /data/Assemblies/wengan/asm.minia.81.log

rm -f /data/Assemblies/wengan/asm.minia.81.unitigs.fa.glue* /data/Assemblies/wengan/asm.minia.81.h5 /data/Assemblies/wengan/asm.minia.81.unitigs.fa
/
wengan/wengan-v0.2-bin-Linux/bin/minia -in /data/Assemblies/wengan/asm.minia_reads.121.txt -kmer-size 121 -abundance-min 2 -out /data/Assemblies/wengan/asm.minia.121 -minimizer-size 10 -max-memory 5000 -nb-cores 5 2> /data/Assemblies/wengan/asm.minia.121.err > /data/Assemblies/wengan/asm.minia.121.log
rm -f /data/Assemblies/wengan/asm.minia.121.unitigs.fa.glue* /data/Assemblies/wengan/asm.minia.121.h5 /data/Assemblies/wengan/asm.minia.121.unitigs.fa
/wengan/wengan-v0.2-bin-Linux/bin/seqtk seq -L 200 /data/Assemblies/wengan/asm.minia.121.contigs.fa | /wengan/wengan-v0.2-bin-Linux/bin/seqtk seq -l 60 - > /data/Assemblies/wengan/asm.minia.contigs.fa
grep ">" /data/Assemblies/wengan/asm.minia.contigs.fa | sed 's/km:f://' | awk '{print $1" "$4}' | sed 's/>//g' > /data/Assemblies/wengan/asm.minia.contigs.cov.txt
/wengan/wengan-v0.2-bin-Linux/bin/fastmin-sg shortr -c 50 -k 21 -w 10 -q 20 -r 50000 -t 5 /data/Assemblies/wengan/asm.minia.contigs.fa /data/Assemblies/wengan/asm.fms.txt 2>/data/Assemblies/wengan/asm.fms.err >/data/Assemblies/wengan/asm.fms.log

/wengan/wengan-v0.2-bin-Linux/bin/intervalmiss -d 7 --fst 0.1 -b /data/Assemblies/wengan/asm.minia.contigs.cov.txt -t 5 -s /data/Assemblies/wengan/asm.fms.sams.txt -c /data/Assemblies/wengan/asm.minia.contigs.fa -p /data/Assemblies/wengan/asm 2>/data/Assemblies/wengan/asm.im.err >/data/Assemblies/wengan/asm.im.log
grep ">" /data/Assemblies/wengan/asm.MBC7.msplit.fa | sed 's/>//' | awk '{print $1" "$2}' | sed 's/>//g' > /data/Assemblies/wengan/asm.MBC7.msplit.cov.txt
/wengan/wengan-v0.2-bin-Linux/bin/fastmin-sg ontraw -k 20 -w 5 -q 40 -m 150 -r 300 -t 5 -p /data/Assemblies/wengan/asm -I 500,1000,2000,3000,4000,5000,6000,7000,8000,10000,15000,20000,30000,40000,50000 /data/Assemblies/wengan/asm.MBC7.msplit.fa /data/Assemblies/wengan/asm.fml.txt 2>/data/Assemblies/wengan/asm.fml.err >/data/Assemblies/wengan/asm.fml.log
/data/Assemblies/wengan/asm.mk:60: recipe for target 'longreads./data/Assemblies/wengan/asm1.fa' failed
make: *** [longreads./data/Assemblies/wengan/asm1.fa] Error 139

@adigenova
Copy link
Owner

Hi,
Can you share some of the logs and check the size of "/data/Assemblies/wengan/asm.minia.contigs.fa"?
Best,
Alex

@JIBINJOHNV
Copy link
Author

Thank you for your reply. The size of the file 873M. Link with log files https://drive.google.com/drive/folders/1_ACoiP8TVE24ObL1VPJ8UPCS0lYuaFhk?usp=sharing

@adigenova
Copy link
Owner

Hi,
Thanks for the files, I do see a segfault in the file Pterocarpus.fml.err :

Index construction time: 85.172266 seconds for 360113 target sequence(s)
Segmentation fault (core dumped)

This step is when the long-reads are pseudo-aligned back to corrected short-read contigs.
Can you try to rerun this step using the makefile? whit something similar to :

make -f prefix.mk all

In case of failure can you share the file asm.MBC7.msplit.fa to reproduce the error on my side.
Usually, these segfaults are due to corrupted fastq/fasta files, but this one might be different.
Best,
Alex

@JIBINJOHNV
Copy link
Author

JIBINJOHNV commented Jan 26, 2022 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