bioinformatics-toolkit-0.5.0: A collection of bioinformatics tools

Safe HaskellNone
LanguageHaskell2010

Bio.Data.Bam

Synopsis

Documentation

bamToBed :: ConduitT Bam BED HeaderState () Source #

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

sortedBamToBedPE :: ConduitT Bam (BED, BED) HeaderState () 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.