checkQC.parsers.demux_summary_parser module

class checkQC.parsers.demux_summary_parser.DemuxSummaryParser(runfolder, parser_configurations, *args, **kwargs)[source]

Bases: checkQC.parsers.parser.Parser

The DemuxSummaryParser will read information from the DemuxSummaryF1L<Lane number>.txt files. At the moment it fetches the information about ‘Most Popular Unknown Index Sequences’.

It will send the information lane wise as a tuple on the format:
(“index_counts”, {“lane”: <lane nbr>, “indices”: [<{“index”: <index string>, “count”: <nbr>}>]}

All Parsers must implement this method. Calling it should parse the data, what ever that means in the particular context, and send this data to its subscribers.

The run method should send data to the parsers subscribers using the _send_to_subscribers method.