Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • spindrift
    Junior Member
    • Jun 2009
    • 3

    BWA and masking sequences...

    I have a set of data that has a linker (not barcode) that needs to be masked/removed before aligning to the genome. My aligner of choice is BWA.

    If I mask these linkers (using some dynamic programming...) is it possible to use BWA to align these sequences? That is can I replace the linker with 'N's or similar characters and then align? I've tried replacing with 'N's but then the sequences which contain linkers aren't aligned as they then have too many mismatches.

    After no joy with the above I've gone for the option of removing the linker sequences, giving me a mixed set of read lengths which I have to align separately and then recombine the SAM files to create a final BAM file.

    Is this the best way of tackling this problem or am I missing something obvious?

    Thanks
  • lh3
    Senior Member
    • Feb 2008
    • 686

    #2
    Bwa works when you have mixed lengths of reads. Maq does not.

    Comment

    • spindrift
      Junior Member
      • Jun 2009
      • 3

      #3
      Thanks for you prompt response, that seems like a good solution.

      Comment

      • Thomas Doktor
        Senior Member
        • Apr 2009
        • 105

        #4
        The FASTX Toolkit (http://hannonlab.cshl.edu/fastx_toolkit/) has a utility called fastx_clipper which might be able to remove your linker sequences.

        Comment

        • spindrift
          Junior Member
          • Jun 2009
          • 3

          #5
          Thanks, that looks very useful indeed.

          Comment

          Latest Articles

          Collapse

          • SEQadmin2
            Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
            by SEQadmin2



            Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
            ...
            07-09-2026, 11:10 AM
          • SEQadmin2
            Cancer Drug Resistance: The Lingering Barrier to Rising Survival
            by SEQadmin2



            Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

            There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
            07-08-2026, 05:17 AM
          • GATTACAT
            Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
            by GATTACAT
            Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
            07-01-2026, 11:43 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 07-13-2026, 10:26 AM
          0 responses
          26 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-09-2026, 10:04 AM
          0 responses
          35 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-08-2026, 10:08 AM
          0 responses
          22 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-07-2026, 11:05 AM
          0 responses
          34 views
          0 reactions
          Last Post SEQadmin2  
          Working...