Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • PacBio bam mpileup result in Segfault

    Hi, I'm new to this forum and I guess I would like to post this question here.

    I had an aligned bam file with reads from 3 PacBio SMRT runs using blasr.
    When I try to call snp between the bam and another bam file from illumina reads from the same library using "samtools mpileup -u". It raised an error with segmentation fault(core dump).

    The error seems to originate from the pacbio bam file since doing mpileup with the illumina bam file alone, it finishes without error.

    The pacbio bam file is sorted and when I try to index the bam, it also finishes without error. Later I tried mpileup without -u option, the text pileup finishes OK.

    Could anyone give me some hints or directions to debug this issue?

    Best,
    jack

  • #2
    How much memory does you machine have?
    What version of samtools are you using?
    What is your command line?
    Can you "samtools view" the region you think it might be at when it bombs?

    Comment


    • #3
      Originally posted by Richard Finney View Post
      How much memory does you machine have?
      What version of samtools are you using?
      What is your command line?
      Can you "samtools view" the region you think it might be at when it bombs?
      I'm using samtools Version: 0.1.17 (r973:277)

      The following command is run under the headnode of our server. I monitored the mem usage to be less than 1% until segfault. The head node has 70GB of memory.
      Code:
      samtools mpileup -u -f ../hg19/hg19-EBV-fos-ecoli/hg19.fa directmap/PacBio_primary.bam > bcfpileup.bcf
      [mpileup] 1 samples in 1 input files
      <mpileup> Set max per-file depth to 8000
      Segmentation fault (core dumped)
      I did the samtools view into that region and there appears to be normal just like the rest of the reads.

      Comment


      • #4
        Anyone have any idea on this issue?

        Or could someone tell me how to convert text mpileup into bcf file?

        Comment


        • #5
          I'm always frustrated to see somebody answer a how-to question by suggesting somebody use a different method, but that's what I'm going to do here.

          samtools mpileup is not designed to work with pacbio, and will probably give no result at best, and more likely something wrong.

          It is much better to use the quiver software that you can download from github.


          Originally posted by jackshen View Post
          Anyone have any idea on this issue?

          Or could someone tell me how to convert text mpileup into bcf file?

          Comment

          Latest Articles

          Collapse

          • seqadmin
            Advanced Methods for the Detection of Infectious Disease
            by seqadmin




            The recent pandemic caused worldwide health, economic, and social disruptions with its reverberations still felt today. A key takeaway from this event is the need for accurate and accessible tools for detecting and tracking infectious diseases. Timely identification is essential for early intervention, managing outbreaks, and preventing their spread. This article reviews several valuable tools employed in the detection and surveillance of infectious diseases.
            ...
            11-27-2023, 01:15 PM
          • seqadmin
            Strategies for Investigating the Microbiome
            by seqadmin




            Microbiome research has led to the discovery of important connections to human and environmental health. Sequencing has become a core investigational tool in microbiome research, a subject that we covered during a recent webinar. Our expert speakers shared a number of advancements including improved experimental workflows, research involving transmission dynamics, and invaluable analysis resources. This article recaps their informative presentations, offering insights...
            11-09-2023, 07:02 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, 12-01-2023, 09:55 AM
          0 responses
          21 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 11-30-2023, 10:48 AM
          0 responses
          20 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 11-29-2023, 08:26 AM
          0 responses
          15 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 11-29-2023, 08:12 AM
          0 responses
          19 views
          0 likes
          Last Post seqadmin  
          Working...
          X