Previous topic

Next topic

This Page

IO based functions for handling read pairsΒΆ

A read pair is a 2-tuple read or sequence along with its respective frequency.

parse_pairs(stream[, delimiter]) Parses a stream of read-sequence frequency pairs into a dict.
get_pairs_from_file(filename[, delimiter]) Opens and parses a file into read-sequence frequency pairs.
write_pairs(read_pairs, stream[, delimiter]) Writes the read-freq pairs out to the stream.
write_pairs_to_file(read_pairs, filename[, ...]) Writes the read-freq pairs out to the specified file.