Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • BAM + CHAIN = BAM? (liftover woes)

    Hi SEQ Answers,

    Long time reader, first time poster, all around noobie. I have been working with .bam files in a non-canonical reference (but have a .chain file linking the non-canonical reference back to b37). I want to create a new bam file that is based on b37 coordinates. Given that these files, what would be the fastest/most elegant way to convert/liftover to coordinates? Any applications you recommend specifically?

    Best,

    AJB

  • #2
    You certainly can convert from bam to sam to bed-like then liftover then convert back from bedlike to sam to bam.

    but ... Why not just dump the reads to fastq and re-align these reads to the "b37" genome? Probably the same level of work and you don't have to deal with the "umapped" (or "un-lifted-over") file.

    Comment


    • #3
      Excellent! I just tried this protocol and everything seems fine (the reads are well positioned on their new reference), but they are missing their base calls and CIGAR string! The bed file doesn't seem to contain any of the short read bases or CIGAR string or quality scores. What should I do to preserve this information in the conversion? Thanks so much for your help and consideration.

      I used BEDTools in the following manner:

      bamToBed mybam.bam > mybed.bed
      liftOver mybed.bed mychain.chain output.bed unmapped
      bedToBam -i output.bed -g genome.g > output.bam
      Last edited by Ajb123; 11-01-2012, 06:04 AM.

      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...
        Yesterday, 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, 04-11-2024, 12:08 PM
      0 responses
      56 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 10:19 PM
      0 responses
      52 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 09:21 AM
      0 responses
      45 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-04-2024, 09:00 AM
      0 responses
      55 views
      0 likes
      Last Post seqadmin  
      Working...
      X