SEQanswers

Go Back   SEQanswers > Bioinformatics > Bioinformatics



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can GSNAP generate SAM/BAM files? efoss Bioinformatics 4 10-16-2011 08:11 PM
.SAM to .BAM with SAM file header @PG emilyjia2000 Bioinformatics 13 06-14-2011 12:21 PM
NEw to Chip-seq and have .bam/.sam/.bam.bai files... then what? NGS newbie Bioinformatics 11 05-25-2011 07:48 AM
How to convert a bam file to sam file badhikari Bioinformatics 2 04-01-2011 08:56 AM
Getting pileup consensus from BAM files using Bio::DB::Sam ragowthaman Bioinformatics 2 08-03-2010 08:21 AM

Reply
 
Thread Tools
Old 11-10-2010, 06:33 PM   #1
dingkai0564
Member
 
Location: lasvegas

Join Date: Nov 2010
Posts: 10
Default the tophat generate the bam file instead of sam files?

I have a question:

when i trying to use tophat (to alignment in order to generate the SAM file when can be loaded into the cufflinks.Why the output only gives me bam files in the default sub-directories? Is there any way to generate the SAM file? or i have used the wrong parameters? I am using tophat 1.1.0

Thanks!
dingkai0564 is offline   Reply With Quote
Old 11-10-2010, 07:33 PM   #2
krobison
Senior Member
 
Location: Boston area

Join Date: Nov 2007
Posts: 747
Default

bam to sam conversion is easy with samtools

Code:
samtools view -h myfile.bam > myfile.sam
In any case, the current version of cufflinks will accept BAM, but the online documentation doesn't seem to reflect that yet. But I just successfully ran a bunch with bam as input (successfully=cufflinks ran; I haven't looked at the output yet).
krobison is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT -8. The time now is 12:48 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO