mgkit.io.glimmer module

mgkit.io.glimmer.parse_glimmer3(file_handle)

Parses an ouput file from glimmer3 and yields the header and prediction lines. Used to feed the mgkit.io.gff.from_glimmer3() function.

Parameters:file_handle (str, file) – file name or file handle to read from
Yields:tuple – first element is the sequence of the predicted gene and the second is the prediction line