[Bioc-sig-seq] use pipes to map reads with bowtie and convert to BAM
James W. MacDonald
jmacdon at med.umich.edu
Thu Apr 29 21:57:06 CEST 2010
Hi Joseph,
I think you want to ask questions about samtools on the samtools listserv!
But this page might be helpful for you:
http://sourceforge.net/apps/mediawiki/samtools/index.php?title=SAM_protocol#Perform_alignment
Best,
Jim
joseph wrote:
> How do I use pipes to map reads with bowtie and convert to BAM without the intermediate files?
>>From the following steps, I am interested only in 'reads_sorted.bam' file:
> #run bowtie to align the reads
> bowtie -S ebwt reads.fastq reads.sam
> #convert the SAM file to BAM
> samtools view -bS -o reads.bam reads.sam
> #sort the alignment
> samtools sort reads.bam reads_sorted
> #index the alignment
> samtools index reads_sorted.bam
>
> Thank you
> Joseph Dhahbi
>
>
>
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> Bioc-sig-sequencing mailing list
> Bioc-sig-sequencing at r-project.org
> https://stat.ethz.ch/mailman/listinfo/bioc-sig-sequencing
--
James W. MacDonald, M.S.
Biostatistician
Douglas Lab
University of Michigan
Department of Human Genetics
5912 Buhl
1241 E. Catherine St.
Ann Arbor MI 48109-5618
734-615-7826
**********************************************************
Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues
More information about the Bioc-sig-sequencing
mailing list