question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: Segmentation fault (core dumped) (sorting with picardtools)

See original GitHub issue

Hi Fritz,

I am working a bacterial genome, which is a circular genome. I would like to call SV using Sniffle.

I have mapped my PacBio read to ref genome using NG-MLR. ngmlr -r $REF -q $FILE -o $OUTPATH/$SAMNAME -t 30

Then I sort the sam file and convert it to sorted bam format using picard tool. java -Djava.io.tmpdir=pwd/tmp -jar $PICARD/picard.jar SortSam \ I=$OUTPATH/$SAMNAME O=$OUTPATH/${SAMNAME%%.sam}_sorted.bam \ SO=coordinate TMP_DIR=pwd/tmp

The sorted bam file was fed to Sniffles:

sniffles -m file_sorted.bam -v file.vcf

After running this command, I got an error message: Segmentation fault (core dumped)

Could you help me with this problem?

Jie

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
fritzsedlazeckcommented, Aug 7, 2018

50x is more than enough.

There are no dumb questions. Yes gt is gebotype estimation. You can maybe use it and filter out het SVs. 0/1 Cheers Fritz

0reactions
colinbrislawncommented, Aug 7, 2018

Thank you for your fast feedback!

I have about 50x coverage, all from nanopore (noisy but long).

assumes a diploid organism for predicting GT.

At the risk of asking a dumb question… What is GT in this context? Genotype? How would this assumption conflict with a haploid organism like E. coli?

Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: Segmentation fault (core dumped) - python
"Segmentation fault (core dumped)" is the string that Linux prints when a program exits with a SIGSEGV signal and you have core creation ......
Read more >
Core Dump (Segmentation fault) in C/C++ - GeeksforGeeks
When a piece of code tries to do read and write operation in a read only location in memory or freed block of...
Read more >
Issues with the conventional BWA-Picard-GATK exome ...
Segmentation fault (core dumped). This memory allocation issue is documented on biostars, sourceforge, seqanswers and bioincloud.
Read more >
bedtools bamtofastq: Segmentation fault (core dumped)
I am getting the message "Segmentation fault (core dumped)" while running bedtools bamtofastq -i in.name.sorted.bam -fq out.fq.
Read more >
haplosim.py · master · Motazedi, Ehsan / Haplosim · GitLab
raise DistutilsExecError("ERROR: segmentation fault (core dumped) by '{0}'. ... the reads back to the reference, indexing the bam files, sorting the bam\.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found