[BioC] convertion from SAM to BAM

Sean Davis sdavis2 at mail.nih.gov
Tue Apr 26 15:13:18 CEST 2011


On Tue, Apr 26, 2011 at 8:52 AM, João Moura <palerma at gmail.com> wrote:
> Hello,
>
> Do you know any way of convertin SAM to BAM using bioconductor?

Hi, Joao.

Untested:

system(sprintf("samtools view -bS %s > %s",samfilename,bamfilename))

Sean



More information about the Bioconductor mailing list