Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ewilbanks
    Member
    • Mar 2009
    • 83

    #1

    blasr read length filter?

    Hey folks,

    I'm working with aligning some pacbio reads to a reference and have a question about blasr that I can't seem to figure out from the documentation. What I want is to only map the corrected reads which are longer than 3kb, to try to avoid spurious mismapping errors in repeat/transposase regions.

    The flag -minReadLength doesn't behave as I would expect it to though. When I peak at the results by running the following:

    head -5000 blasr.sam | awk '{if ($1 ~/@.*/) next; else if (length($10) < 3000) print length($10);}'

    I see that loads of alignments that are shorter than 3k which leaves me puzzled about a few things.
    • Anyone know what this flag actually does?
    • Am I missing something about what that tenth sequence field in the sam file means?
    • The default behavior is to not clip the alignments, so why are do I see alignments shorter than the shortest read I'm aligning? Shouldn't it only be reporting full length alignments?


    Thanks for your thoughts!
    Lizzy
    Last edited by ewilbanks; 07-17-2014, 08:20 AM.
  • rhall
    Senior Member
    • Aug 2012
    • 324

    #2
    The -minReadLength sets the minimum length of the reads getting aligned, not the minimum alignment length. Blasr finds best local alignment between a read and a reference, it does not align the entire read to the reference.
    To align, and only report alignments above a certain length you can use the pbalign wrapper to blasr, https://github.com/PacificBiosciences/pbalign also part of SMRT Analysis. Or, for aligning low error corrected reads Mummer may be a better option.
    Richard.

    Comment

    Latest Articles

    Collapse

    • SEQadmin2
      Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
      by SEQadmin2



      Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

      Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
      ...
      10-14-2026, 09:55 AM
    • SEQadmin2
      New Genomics Technologies Take Aim at Long-Standing Limits
      by SEQadmin2


      Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

      We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
      ...
      09-28-2026, 10:25 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by SEQadmin2, 10-22-2026, 11:13 AM
    0 responses
    22 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 10-22-2026, 10:48 AM
    0 responses
    19 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 10-15-2026, 10:52 AM
    0 responses
    36 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 10-14-2026, 05:39 AM
    0 responses
    42 views
    0 reactions
    Last Post SEQadmin2  
    Working...