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