bioinformatics-toolkit-0.4.1: A collection of bioinformatics tools

Safe HaskellNone
LanguageHaskell2010

Bio.Data.Bam

Synopsis

Documentation

bamToBed :: Conduit Bam HeaderState BED Source #

Convert bam record to bed record. Unmapped reads will be discarded.

sortedBamToBedPE :: Conduit Bam HeaderState (BED, BED) Source #

Convert pairedend bam file to bed. the bam file must be sorted by names, e.g., using "samtools sort -n". This condition is checked from Bam header.