checkQC.handlers.q30_handler module

class checkQC.handlers.q30_handler.Q30Handler(*args, **kwargs)[source]

Bases: checkQC.handlers.qc_handler.QCHandler

This handler checks that the percent of bases on a lane and reads with Q30 or high was above the specified threshold.


The check_qc method provides the core behaviour of the QCHandler. It should check the values provided to it and yield instances of QCHandlerReport (or continue, if there was nothing to report)

Returns:An instance of QCHandlerReport

The implementing subclass should provide this method. It is up to instance receiving the data to decide how to handle it. Below is an example of how to handle a tuple with a key-value pair.

class MySubscriber(Subscriber):

    def __init__(self):
        self.results = []

    def collect(self, signal):
        key, value = signal
        if key == "my_key":

The Q30Handler fetches its data from the Interop files

Returns:A InteropParser callable