Previous topic

bioa.io.readpairs.write_pairs_to_file

Next topic

bioa.io.readpairs.get_pairs_from_file

This Page

bioa.io.readpairs.parse_pairs

parse_pairs(stream, delimiter=', ')[source]

Parses a stream of read-sequence frequency pairs into a dict.

Parameters :

stream : iterable object

An iterable object which to pull the pairs from.

delimiter : str (optional, default=”,”)

The character which to delimit pairs by.

Returns :

pair_table : dict

Lookup table of read-sequences and their respective frequency.