Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.

  • #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


    • #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

      • seqadmin
        Recent Advances in Sequencing Analysis Tools
        by seqadmin


        The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
        05-06-2024, 07:48 AM
      • seqadmin
        Essential Discoveries and Tools in Epitranscriptomics
        by seqadmin




        The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
        04-22-2024, 07:01 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, Yesterday, 06:57 AM
      0 responses
      12 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 05-06-2024, 07:17 AM
      0 responses
      16 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 05-02-2024, 08:06 AM
      0 responses
      21 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-30-2024, 12:17 PM
      0 responses
      24 views
      0 likes
      Last Post seqadmin  
      Working...
      X