Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • txl80
    Junior Member
    • Jun 2010
    • 1

    #1

    malformatted region

    I am performing straightforward processing of .bam files using the samtools mpileup command. Specifically, these are files generated for the NCI's Cancer Genome Atlas (TCGA) project by Washington University. Most of the files process with no problem, but a large subset of them give the error:

    [mpileup] malformatted region or wrong seqname for 1-th input.

    The command I am running is exactly:

    samtools mpileup -r chr7:55054218-55242525 -uf hg18.fa TCGA-13-0765-01A-01W-0372-09_capture.bam > tmp.pu

    I have searched for this error (in seqanswers and Google), but there do not seem to be any prior reports of this behavior.
  • sichan
    Junior Member
    • Mar 2008
    • 2

    #2
    I ran into the exact same problem just now and the solution was that the chromosome name in my reference fasta fie did not match the sequence name I specified in my region argument (-r). So, I had specified '-r 4:1-191154276' when it should have been 'chr4:1-191154276' since in my reference fasta file, chromosome 4 is represented by 'chr4'

    Another potential cause of this error could be that the ordering of chromosomes in your reference fasta file do not match the order that is shown in the BAM file header. All of this is to say that, in my experience, it's best to use the same reference file for aligning and mpileup-ing.

    HTH anyone else who has experienced this error.
    Simon.

    Comment

    • swbarnes2
      Senior Member
      • May 2008
      • 910

      #3
      The other quick thing to do is to remake the .bam index. But yes, the most likely cause is that you don't have the chromosome name quite right.

      Comment

      Latest Articles

      Collapse

      • SEQadmin2
        Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
        by SEQadmin2



        CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

        Despite this, “CRISPR helped turn genome editing from a specialized technique into
        ...
        07-31-2026, 11:01 AM
      • SEQadmin2
        Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
        by SEQadmin2


        Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

        The systematic characterization of the human proteome has
        ...
        07-20-2026, 11:48 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, Today, 10:05 AM
      0 responses
      8 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 08-13-2026, 12:22 PM
      0 responses
      32 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 08-11-2026, 10:35 AM
      0 responses
      24 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 08-06-2026, 07:41 AM
      0 responses
      38 views
      0 reactions
      Last Post SEQadmin2  
      Working...