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
        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
      • seqadmin
        Current Approaches to Protein Sequencing
        by seqadmin


        Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
        04-04-2024, 04:25 PM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, Yesterday, 11:49 AM
      0 responses
      15 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-24-2024, 08:47 AM
      0 responses
      16 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-11-2024, 12:08 PM
      0 responses
      61 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 10:19 PM
      0 responses
      60 views
      0 likes
      Last Post seqadmin  
      Working...
      X