Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(4)  |  Derive(0)  |  Import(2)

src/c/o/cogent-1.5.3/tests/test_parse/test_gibbs.py   cogent(Download)
from cogent.parse.record import DelimitedSplitter
from cogent.parse.record_finder import LabeledRecordFinder
from cogent.parse.gibbs import get_sequence_and_motif_blocks, get_sequence_map,\
    get_motif_blocks, get_motif_sequences, get_motif_p_value, guess_alphabet,\
    build_module_objects, module_ids_to_int, GibbsParser
    def test_build_module_objects(self):
        """build_module_objects tests."""
        module = list(build_module_objects(self.motif_b_lines,\
            self.sequence_map))[0]
        exp_module_dict = {('20151112', 153): 'AQYVAAHPGEVCPAKWKEG',\
    def test_module_ids_to_int(self):
        """module_ids_to_int tests."""
        module = list(build_module_objects(self.motif_b_lines,\
            self.sequence_map))[0]
        module_ids_to_int([module])

src/p/y/pycogent-HEAD/tests/test_parse/test_gibbs.py   pycogent(Download)
from cogent.parse.record import DelimitedSplitter
from cogent.parse.record_finder import LabeledRecordFinder
from cogent.parse.gibbs import get_sequence_and_motif_blocks, get_sequence_map,\
    get_motif_blocks, get_motif_sequences, get_motif_p_value, guess_alphabet,\
    build_module_objects, module_ids_to_int, GibbsParser
    def test_build_module_objects(self):
        """build_module_objects tests."""
        module = list(build_module_objects(self.motif_b_lines,\
            self.sequence_map))[0]
        exp_module_dict = {('20151112', 153): 'AQYVAAHPGEVCPAKWKEG',\
    def test_module_ids_to_int(self):
        """module_ids_to_int tests."""
        module = list(build_module_objects(self.motif_b_lines,\
            self.sequence_map))[0]
        module_ids_to_int([module])