![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Bed to BedGraph | ayushraman | Bioinformatics | 4 | 08-20-2015 07:01 AM |
Bedgraph file upload in UCSC browser - error | anagari | Bioinformatics | 6 | 11-20-2012 08:56 PM |
making non-redundant isotig file from newbler output | Seqasaurus | Bioinformatics | 2 | 09-22-2011 04:44 AM |
Creating a BedGraph file for STRAND-SPECIFIC short read data | woolfman | RNA Sequencing | 0 | 02-23-2011 06:49 AM |
wiggle or bedGraph | statsteam | Bioinformatics | 3 | 10-06-2009 11:49 AM |
![]() |
|
Thread Tools |
![]() |
#1 |
Junior Member
Location: USA Join Date: Jun 2010
Posts: 1
|
![]()
Hi everyone,
I have a few Bowtie alignment files that I would like to view unsmoothed (I usually use Fseq to find peaks and it smoothes things over) to get an idea of read depth. Is there any way to convert a Bowtie output file to a bedGraph? Thanks! |
![]() |
![]() |
![]() |
#2 | |
Senior Member
Location: Charlottesville Join Date: Sep 2008
Posts: 119
|
![]() Quote:
Code:
samtools view -Sb bowtieOut.sam | genomeCoverageBed -ibam stdin -g <genomefile> -bg > out.bedgraph Best, Aaron |
|
![]() |
![]() |
![]() |
#3 |
Junior Member
Location: New Hampshire Join Date: Dec 2010
Posts: 4
|
![]()
Hi,
genomeCoverageBed requires a sorted bowtieOut.sam the following code worked for me: Code:
samtools view -Sbo bowtieOut.bam bowtieOut.sam # convert to bam format samtools sort bowtieOut.bam sortedbowtieOut.bam # sort the bam file genomeCoverageBed -bg -ibam sortedbowtieOut.bam -g chrominfo.txt > out.bedgraph # compute coverage -Lionel |
![]() |
![]() |
![]() |
Thread Tools | |
|
|