Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • zhiqiang
    Junior Member
    • Apr 2012
    • 8

    convert bam file to bedgraph format with inconsistent results

    Hi, all

    I was trying to convert a sam/bam file into bedgraph files using two different approaches, and found that the results are different:

    way 1: I used the program 'wiggles' shipped with tophat 1.3.2:

    Code:
     samtools view part1.bam > part1.sam
     wiggles part1.sam part1.wiggles.bedgraph
    way 2: I used the genomeCoverageBed from bedtools v2.16.2:
    Code:
            samtools sort part1.bam part1.sorted
            genomeCoverageBed -bga -ibam part1.sorted.bam -g  chrom.sizes > part1.bedtool.bedgraph
    In the result files, part1.wiggles.bedgraph and part1.bedtool.bedgraph were different in many genomic regions.

    Have anyone experienced with this? it's really confusing.

    one of the differences was like this:
    1 3927 3931 6 | 1 3927 3930 6
    1 3931 3935 5 | 1 3930 3931 2
    1 3935 4092 4 | 1 3931 3935 1
    Attached Files

Latest Articles

Collapse

  • SEQadmin2
    Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
    by SEQadmin2



    Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
    ...
    07-09-2026, 11:10 AM
  • SEQadmin2
    Cancer Drug Resistance: The Lingering Barrier to Rising Survival
    by SEQadmin2



    Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

    There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
    07-08-2026, 05:17 AM
  • GATTACAT
    Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
    by GATTACAT
    Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
    07-01-2026, 11:43 AM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by SEQadmin2, 07-13-2026, 10:26 AM
0 responses
20 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 07-09-2026, 10:04 AM
0 responses
30 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 07-08-2026, 10:08 AM
0 responses
20 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 07-07-2026, 11:05 AM
0 responses
34 views
0 reactions
Last Post SEQadmin2  
Working...