Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • drkijak
    Junior Member
    • Jun 2017
    • 2

    #1

    problem with samstat on PacBio alignment

    Dear all,
    I ran an alignment of Sequel data using blasr. Now I want to get some metrics about the sam file using samstat 1.5.1 (running on Ubuntu 16.04 LTS; 16 Gb of RAM).
    I get a message that reads:

    [2017-08-01 13:26:25] SAMstat 1.5.1, Copyright (C) 2014 Timo Lassmann <[email protected]>
    [2017-08-01 13:26:25] cmd: samstat Ecoli_2K.sam
    [2017-08-01 13:26:25] Ecoli_2K.sam
    --------------------------------------------------
    [2017-08-01 13:26:25] Starting to collect data.
    [2017-08-01 13:26:25] Training a HMM on mapq > 20 reads.
    Segmentation fault (core dumped)


    I suspect the problem is the file size (>150,000 reads, file size: 13.5 Gb), so I trimmed the sam file using "head -n". I am only successful at getting a report when I have 20 reads...

    {I have no problem getting a report when I work with Illumina-based alignments}

    Is this a PacBio-specific problem?
    Is the problem the memory? is there a way to increase the RAM usage of samstat (similar to a -vm function in some Java applications)?
    is there another solution? Are there other programs out there that can do the same as samstat 1.5 (the reports are very cool!)?

    Thanks,

    Gustavo

    PS: there is the same kind of problem if the alignment is done with BWA MEM...
  • GenoMax
    Senior Member
    • Feb 2008
    • 7138

    #2
    What kind of statistics are you looking for? Perhaps Qualimap may work instead.

    Comment

    • drkijak
      Junior Member
      • Jun 2017
      • 2

      #3
      Thanks GenoMax! I wanted to get some qmap summary (the piechart at the top of the samstat report). I may need to script it with Rsamtools...

      I think that samstat and qualimap complement each other.

      Comment

      Latest Articles

      Collapse

      • SEQadmin2
        The Factors Reshaping Genome Assembly
        by SEQadmin2



        When the Human Genome Project declared the human genome finished in 2003, portions of the sequence were still missing, including many of its most repetitive and structurally complex regions.1 Still, for the next two decades, researchers analyzed their sequencing data against the single linear reference that came out of this effort. Released in 2013 as GRCh38, that reference has powered countless discoveries, but it has gaps and cannot capture the genetic diversity of the world’s...
        Yesterday, 07:04 AM
      • SEQadmin2
        16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
        by SEQadmin2





        NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
        10-30-2026, 06:46 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 11-23-2026, 11:11 AM
      0 responses
      19 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 11-17-2026, 06:27 AM
      0 responses
      40 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 11-12-2026, 07:59 AM
      0 responses
      58 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 11-05-2026, 09:25 AM
      0 responses
      65 views
      0 reactions
      Last Post SEQadmin2  
      Working...