cljam.io.pileup

read-piles

(read-piles reader)
Reads piled-up bases of the pileup file, returning them as a lazy sequence of
cljam.io.pileup.LocusPile.

reader

(reader f)
Returns an open instance of cljam.io.pileup.PileupReader of f. Should be used
inside with-open to ensure the reader is properly closed.

write-piles

(write-piles pileup-writer piles)
Writes piled-up bases to a file. `pileup-writer` must be an instance of
cljam.io.pileup.PileupWriter.

writer

(writer f)(writer f reference-path)
Returns an open instance of cljam.io.pileup.PileupWriter of f. Should be used
inside with-open to ensure the writer is properly closed. A reference sequence
is used when the second arg `reference-path` is supplied.