SEQanswers

SEQanswers (http://seqanswers.com/forums/index.php)
-   Bioinformatics (http://seqanswers.com/forums/forumdisplay.php?f=18)
-   -   the tophat generate the bam file instead of sam files? (http://seqanswers.com/forums/showthread.php?t=7797)

dingkai0564 11-10-2010 06:33 PM

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!

krobison 11-10-2010 07:33 PM

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).


All times are GMT -8. The time now is 09:30 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2020, vBulletin Solutions, Inc.