Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • anagari
    replied
    @Shenr: Thanks a lot!! Updating bedtools to 2.16 did work!!

    Leave a comment:


  • shenr
    replied
    This issue bothered me for a while too when I used bedtools v2.13, in which -split didn't work.

    The fix is actually simple: just download the new version bedtools (v2.16.2) and re-run it.

    Originally posted by anagari View Post
    Hi,

    I used the command as you have suggested to split the reads over the splice junctions:
    ./genomeCoverageBed -split -bg -ibam ip_sorted.bam -g genome_hg19.txt > accepted_hits.bedgraph

    #genome_hg19.txt has the chromosome sizes for hg19.

    But, when I upload the bedgraph onto Genomebrowser, it still shows stretch of reads between peaks.

    Could you suggest where the problem might be?

    Thanks in advance!

    Leave a comment:


  • anagari
    replied
    Prob with visualization even after using split

    Hi,

    I used the command as you have suggested to split the reads over the splice junctions:
    ./genomeCoverageBed -split -bg -ibam ip_sorted.bam -g genome_hg19.txt > accepted_hits.bedgraph

    #genome_hg19.txt has the chromosome sizes for hg19.

    But, when I upload the bedgraph onto Genomebrowser, it still shows stretch of reads between peaks.

    Could you suggest where the problem might be?

    Thanks in advance!

    Leave a comment:


  • mgogol
    replied
    If anyone's using bedtools genomeCoverageBed for this, don't forget to use the -split parameter if you're using it with tophat bam files, otherwise the junction reads get stretched across the introns weirdly.



    The commands I ended up using were

    Code:
    genomeCoverageBed -split -bg -ibam accepted_hits.sorted.bam -g dm3.chrom.sizes > accepted_hits.bedgraph
    wigToBigWig accepted_hits.bedgraph dm3.chrom.sizes myfile.bw

    Leave a comment:


  • RockChalkJayhawk
    replied
    Originally posted by natstreet View Post
    I've resorted to converting the .bam file to -sam and using the wiggles program that comes with tophat to create the .wig files but this is hugely inefficient. I really wish they had kept the creation of wig files as standard or that wiggles could be updated to also accept .bam files as input. Then again, I also wish they hadn't dropped support for GFF3 in favour of GFF2!
    I think the reason for dropping wiggle tracks is because they are massive and the server gets bogged down with trying to import all that data. Besides, BAM files can be visualized directly on UCSC - if you can put them on a web-accessible server.

    Leave a comment:


  • dawe
    replied
    Originally posted by kalidaemon View Post
    I'm trying do some sanity checks by putting my TopHat output on the UCSC browser. In order to do this, I need to convert my accepted_hits.bam files to .wig files. Has anyone tried to do this? I know you can do this with SAMtools for .sam files and I was wondering if you can do the same for .bam. If not, what other tools do people use? Also, older TopHat output generated .wig files. Is there any way to get newer builds to do this? Thanks!
    You can try genomeCoverageBed from bedtools suite, it's able to read bam and generate bedgraph files.

    d

    Leave a comment:


  • natstreet
    replied
    I've resorted to converting the .bam file to -sam and using the wiggles program that comes with tophat to create the .wig files but this is hugely inefficient. I really wish they had kept the creation of wig files as standard or that wiggles could be updated to also accept .bam files as input. Then again, I also wish they hadn't dropped support for GFF3 in favour of GFF2!

    Leave a comment:


  • kalidaemon
    started a topic .bam to .wig conversion

    .bam to .wig conversion

    I'm trying do some sanity checks by putting my TopHat output on the UCSC browser. In order to do this, I need to convert my accepted_hits.bam files to .wig files. Has anyone tried to do this? I know you can do this with SAMtools for .sam files and I was wondering if you can do the same for .bam. If not, what other tools do people use? Also, older TopHat output generated .wig files. Is there any way to get newer builds to do this? 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, Yesterday, 08:47 AM
0 responses
16 views
0 likes
Last Post seqadmin  
Started by seqadmin, 04-11-2024, 12:08 PM
0 responses
60 views
0 likes
Last Post seqadmin  
Started by seqadmin, 04-10-2024, 10:19 PM
0 responses
60 views
0 likes
Last Post seqadmin  
Started by seqadmin, 04-10-2024, 09:21 AM
0 responses
54 views
0 likes
Last Post seqadmin  
Working...
X