Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • WhatsOEver
    Senior Member
    • Apr 2012
    • 215

    Pre-alignment repeat masking

    Hi @all,

    I'm working currently on human whole genome NGS data and have some questions about repeat masking:

    1) Would you say it's advisable to do masking before mapping to the genome? Why - Why not?

    2) What tools could you suggest to run masking on reads? I am familiar with - and tried already - repeatmasker/repeatmodeler but it's working damn slow on reads. I thought of doing a mapping against the repbase?! Alternatively, I could use a repeat masked genome (where repeats are removed, not only in lower case, of course) and hope that repeats are not mapped anymore.

    3) Through different filtering criteria, I have to discard already ~8% of my reads before doing any alignments against the reference. I think including a repeat-filtering will increase this drastically. Is there any possibility that this will have an effect on downstream analysis? Do you include such things in your calculation when estimating required read numbers to get a certain coverage?

    4) (Not directly related to the question) I have recently tried a mapping against the "new" hg38 and saw that I just got more multi-reads. Having a brief look on the data, these were mainly repetitive sequences... Has anyone observed similar things?

    Thanks for reading and any suggestions
  • Cytosine
    Member
    • Mar 2014
    • 22

    #2
    Hi,

    1) I guess it depends on what you want to achieve. For resequencing runs I would use repeat masking on the genome, for CNV analyses I would not mask the genome.

    2) Why mask reads? That doesn't really make sense... Mask the genome you are trying to map to. Hard-masking will prevent the reads from mapping to those regions.

    3) Masking repeat regions will probably lead to more unmapped reads, but that should not affect any downstream analyses with great effect. I don't remember ever doing read number correction because of repetitive regions, I guess you could do it.

    4) Did not have a look at the hg38 yet.

    Comment

    • dpryan
      Devon Ryan
      • Jul 2011
      • 3478

      #3
      1) Are we talking about masking the genome or the reads? You can just download the repeatmasked genome, though at least if it's only soft-masked most aligners will just ignore that. In general, I'd say it's not advisable to ignore repeat regions without good reason (it's a pretty big chunk of the genome, afterall).

      2) Don't mask the reads, there's no point to that. If you want to filter out reads with long homopolymer runs or that are pure di/tri-nucleotide repeats then that'll save a little time with mapping, but you'd just be spending it with filtering.

      3) Certainly if you filter out reads that would otherwise align then you're biasing against some reasons. Aligning doesn't take that long, so just attempt to align them and then filter out reads with crappy MAPQs.

      4) Depending on what you included in the reference that might not be very surprising. I know the new release contains a LOT of haplotypes and also centromeric sequence, all of which will increase the mapping rate and the numbers of multimappers. That doesn't surprise me really.

      Comment

      • Brian Bushnell
        Super Moderator
        • Jan 2014
        • 2709

        #4
        As Devon said, don't map to a masked genome unless you have a specific reason to do so. Often genomes are masked to increase mapping speed, as things that map to repeats are often uninformative, yet can take N times longer to map (where N is the number of repeats) compared to unique sequences; therefore, masking repeats can in some cases make things orders-of-magnitude faster without losing information. But that's mainly an issue with very large conglomerations of assorted sequences. When I was working with human NGS data, neither I nor anyone that I knew used a masked human reference for anything. That would make a few of the reads that should have mapped to repeat areas instead map to unique areas, leading to false variation calls.
        Last edited by Brian Bushnell; 08-20-2014, 09:36 AM.

        Comment

        • swbarnes2
          Senior Member
          • May 2008
          • 910

          #5
          Don't mask repeated regions before mapping. If a read is repetitive, you want it to map to where it belongs. You don't want it forced to map to the wrong place, because you masked away the right place.

          If it really bothers you, filter away repetitive regions from your .bam after mapping.

          Comment

          • WhatsOEver
            Senior Member
            • Apr 2012
            • 215

            #6
            Thanks for the answers!
            I'm convinced it was a bad idea
            I'll do repeat-filtering after mapping then.

            Comment

            Latest Articles

            Collapse

            • mylaser
              Reply to Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
              by mylaser
              Kheloyar – Everything You Need to Know About Kheloyaar Login and Kheoyar Id
              If you are looking for an online gaming platform that offers a user-friendly experience, Kheloyar has become a name that many users search for. Whether you're interested in creating a new account, accessing your dashboard through Kheloyaar Login, or learning how to obtain a Kheoyar Id, understanding the platform's features and account process is essential.
              This guide explains everything you need to know about...
              Yesterday, 01:13 AM
            • 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

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, 07-09-2026, 10:04 AM
            0 responses
            22 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-08-2026, 10:08 AM
            0 responses
            14 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-07-2026, 11:05 AM
            0 responses
            33 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-02-2026, 11:08 AM
            0 responses
            31 views
            0 reactions
            Last Post SEQadmin2  
            Working...