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_dialign.py   cogent(Download)
#!/usr/bin/env python
 
import unittest
from cogent import PROTEIN, LoadSeqs
from cogent.parse.dialign import align_block_lines, parse_data_line, DialignParser
    def test_aligned_from_dialign(self):
        """test getting aligned seqs"""
        aligned_seq = dict(list(DialignParser(data, seq_maker=PROTEIN.Sequence)))
        assert aligned_seq == self.aln_seqs
 
    def test_quality_scores(self):
        """test quality scores correctly returned"""
        result = dict(list(DialignParser(data, seq_maker=PROTEIN.Sequence,

src/p/y/pycogent-HEAD/tests/test_parse/test_dialign.py   pycogent(Download)
#!/usr/bin/env python
 
import unittest
from cogent import PROTEIN, LoadSeqs
from cogent.parse.dialign import align_block_lines, parse_data_line, DialignParser
    def test_aligned_from_dialign(self):
        """test getting aligned seqs"""
        aligned_seq = dict(list(DialignParser(data, seq_maker=PROTEIN.Sequence)))
        assert aligned_seq == self.aln_seqs
 
    def test_quality_scores(self):
        """test quality scores correctly returned"""
        result = dict(list(DialignParser(data, seq_maker=PROTEIN.Sequence,