Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • different md5sum id for same BAM file

    Hi guys:

    I am new to sequencing and going to ask some silly questions...

    I got some sequence data from the core facility and they are already mapped to human genome. It is exome sequencing.

    For each BAM file, there is a bam.bai file.

    For curiosity, I regenerated the bam.bai files with samtools (samtools-0.1.18) ( samtools index XXXX.bam), and compare old and new bai files use md5. I suppose they should be same since they generated from the same BAM files. But they gave me different md5 ID...

    I was wondering that maybe the original BAM is not sorted, so I sorted them (samtools sort) myself., and re-index them. I got three bam.bai files, each of them have different md5 id.

    I used the "samtools view -H XXX.BAM" to see if the original BAM files are sorted, I got "@HD VN:1.0 SO:coordinate", suggesting they are sorted files. The wired thing is that the original sorted files and new generated files are different in size, the new one is BIGGER!

    I compared the first 10000 lines of each BAM files by "samtools view", they are idential. I have no idea while they are different in size.

    In the beginning I want to use the existed BAM files because core facility are experienced in generating sequence and mapping them to genome, they probably know the best parameters in software (I guess bwa, "@PG ID:bwa PN:bwa").

    Now I am little bit confused, should I use the existed,sorted BAM files with original BAI files? or I should use the BAM with new generated BAI files? or even map the original reads myself? Or I just simply misunderstand the use of md5? How to explain the difference between the old and sorted BAM files?

    Many thanks.

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, Today, 11:49 AM
0 responses
12 views
0 likes
Last Post seqadmin  
Started by seqadmin, Yesterday, 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