SEQanswers

Go Back   SEQanswers > Bioinformatics > Bioinformatics



Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert BAM file to FASTQ malachig Bioinformatics 28 02-02-2016 03:04 AM
To convert BAM file to BED file Anjali Bioinformatics 10 04-28-2014 04:43 AM
Convert merged BAM back to per lane BAM or FASTQ file danielsbrewer Bioinformatics 6 10-03-2013 07:29 AM
Are there any good ways to use SAMtools java API to convert .bam file into .txt file? alextree Bioinformatics 8 01-24-2012 09:20 AM
How to convert Eland file to BAM or SAM? fanshu Bioinformatics 0 10-30-2010 11:46 PM

Reply
 
Thread Tools
Old 03-22-2011, 06:16 PM   #1
badhikari
Junior Member
 
Location: East Lansing, MI

Join Date: Jan 2011
Posts: 4
Default How to convert a bam file to sam file

Hi how can i convert a .bam file to .sam file. Thanks in advance.
badhikari is offline   Reply With Quote
Old 03-22-2011, 06:17 PM   #2
nilshomer
Nils Homer
 
nilshomer's Avatar
 
Location: Boston, MA, USA

Join Date: Nov 2008
Posts: 1,285
Default

Use samtools "samtools view -h <in.bam> > <out.sam>". See http://samtools.sf.net.
nilshomer is offline   Reply With Quote
Old 04-01-2011, 08:56 AM   #3
badhikari
Junior Member
 
Location: East Lansing, MI

Join Date: Jan 2011
Posts: 4
Default

Thanks for your help.
badhikari is offline   Reply With Quote
Reply

Tags
bam to sam

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 11:29 PM.


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