Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • lukas1848
    Member
    • Jun 2011
    • 54

    samtools rmdup error

    Hi,

    I am trying to run samtools rmdup on a bam file and I get the following error messages.

    [bam_rmdup_core] inconsistent BAM file for pair 'HWI-ST1027:65: D03FGACXX:4:2107:2691:8134'. Continue anyway.
    [bam_rmdup_core] inconsistent BAM file for pair 'HWI-ST1027:65: D03FGACXX:4:2208:17576:79909'. Continue anyway.
    [bam_rmdup_core] inconsistent BAM file for pair 'HWI-ST1027:65: D03FGACXX:4:2301:18313:189015'. Continue anyway.
    [bam_rmdup_core] inconsistent BAM file for pair 'HWI-ST1027:65: D03FGACXX:4:2307:15133:98183'. Continue anyway.
    [bam_rmdup_core] inconsistent BAM file for pair 'HWI-ST1027:65: D03FGACXX:4:2301:4254:2861'. Continue anyway.
    I googled and didn't find anything on that, so I hope that someone here might be able to help me.


    edit: just some additional info. I mapped 100 bp PE Illumina reads with stampy&bwa.
    Last edited by lukas1848; 05-08-2012, 03:08 AM.
  • airtime
    Member
    • Jan 2011
    • 14

    #2
    Hi,

    did you sort your bam file before?
    Some further proceeding steps would be helpful (like full command execution).

    Comment

    • lukas1848
      Member
      • Jun 2011
      • 54

      #3
      I sorted my bam files
      samtools view -uS ACAGTG_001.sam | samtools sort - ACAGTG
      and removed the pcr dups like this

      samtools rmdup ACAGTG_001.bam ACAGTG_001_rmdup.bam
      If I use the -S option in rmdup to force treating PE reads as SE reads, the error does not occur (which seems not really surprising, though)

      Comment

      • airtime
        Member
        • Jan 2011
        • 14

        #4
        Hi,

        ok. How big are your files and your RAM? If you convert sam to uncompressed bam is their size similar?

        regards Air

        Comment

        • lukas1848
          Member
          • Jun 2011
          • 54

          #5
          I used a m1.large EC2 instance, so I had 7.5 gb ram. The sam files are ~2.2 gb each. The uncompressed bams are 1/4th of the sam files' size.
          Is this somehow suspicious? I mean, should uncompressed bams be of roughly the same size as the sam template?

          I am thinking about trying out Picard's duplicate removal, but I want to make sure first that my bam files are correct.

          Comment

          • lukas1848
            Member
            • Jun 2011
            • 54

            #6
            I contacted the authors of stampy and they said that they occasionally record errors of that kind but that it does not show any ill effects. According to them, samtools is complaining without good reason.

            I think I'll just go with that, even if it still is odd though.
            Last edited by lukas1848; 05-09-2012, 06:38 AM.

            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
            19 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-08-2026, 10:08 AM
            0 responses
            11 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-07-2026, 11:05 AM
            0 responses
            26 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...