Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/s/e/seal-0.4.0-rc2/tests/seal/seqal/test_reducer.py   seal(Download)
 
from seal.lib.aligner.sam_mapping import SAMMapping
from seal.lib.mr.test_utils import reduce_context
from seal.seqal.reducer import reducer
from seal.seqal.seqal_app import PAIR_STRING
    def setUp(self):
        self.__jc = get_JobConf_object({})
        self.__ctx = reduce_context(self.__jc, [])
        self.__reducer = reducer(self.__ctx)
        self.__reducer.discard_duplicates = True