Previous topic

bioa.io.readpairs.parse_pairs

Next topic

bioa.io.readpairs.write_pairs

This Page

bioa.io.readpairs.get_pairs_from_file

get_pairs_from_file(filename, delimiter=', ')[source]

Opens and parses a file into read-sequence frequency pairs.

Parameters :

filename : str

Path to the file containing the pairs.

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

The character which to delimit pairs by within the file.

Returns :

pair_table : dict

Lookup table of read-sequences and their respective frequency.