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

All Samples(4)  |  Call(2)  |  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_get_motif_sequences(self):
        """get_motif_sequences tests."""
        motif_list = get_motif_sequences(self.motif_a_lines)
        exp_motif_list = [('2', 71, 'ILAISVDSPFSH', 1.0, '1'),\
                          ('6', 65, 'IYAISNDSHFVQ', 1.0, '1'),\

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_get_motif_sequences(self):
        """get_motif_sequences tests."""
        motif_list = get_motif_sequences(self.motif_a_lines)
        exp_motif_list = [('2', 71, 'ILAISVDSPFSH', 1.0, '1'),\
                          ('6', 65, 'IYAISNDSHFVQ', 1.0, '1'),\