[BioLib-dev] SAMtools: SAM to BAM conversion from Ruby, Python, Perl

Pjotr Prins pjotr.public14 at thebird.nl
Mon Aug 16 07:26:39 UTC 2010


A working Perl example for converting SAM to BAM (and potentially
back) can be found here:

  http://github.com/pjotrp/biolib/blob/samtools/src/mappings/swig/perl/samtools/test/test_sam2bam.pl

On Sun, Aug 15, 2010 at 10:03:18AM +0200, Pjotr Prins wrote:
> I have just completed reading and writing BAM/SAM. And an example of
> converting from SAM to BAM files using the SAMtools library. See the
> last examples in the report:
> 
>   http://thebird.nl/biolib/Adding_BioLib_BAM_SAM_Support.html



More information about the BioLib-dev mailing list