[BioC] convertion from SAM to BAM

Steve Lianoglou mailinglist.honeypot at gmail.com
Tue Apr 26 15:26:00 CEST 2011


Hi,

On Tue, Apr 26, 2011 at 9:17 AM, João Moura <palerma at gmail.com> wrote:
> Thank you Sean and Paul,
>
> Actually I was looking for something to using in R without calling samtools.

To convert sam -> bam without leaving the comfort of your aRm chair, try:

R> library(Rsamtools)
R> ?asBam

Scan the docs to see how asBam works.

I'm not sure when that was added. If you don't see it in your install,
maybe you need to be running R-2.13 and bioc 2.8

-steve

-- 
Steve Lianoglou
Graduate Student: Computational Systems Biology
 | Memorial Sloan-Kettering Cancer Center
 | Weill Medical College of Cornell University
Contact Info: http://cbio.mskcc.org/~lianos/contact



More information about the Bioconductor mailing list