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

All Samples(8)  |  Call(4)  |  Derive(0)  |  Import(4)

src/c/o/cogent-1.5.3/cogent/app/rnaalifold.py   cogent(Download)
from cogent.core.moltype import RNA
from cogent.parse.fasta import MinimalFastaParser
from cogent.parse.rnaalifold import rnaalifold_parser, MinimalRnaalifoldParser
from cogent.format.clustal import clustal_from_alignment
from cogent.struct.rna2d import ViennaStructure

src/p/y/pycogent-HEAD/cogent/app/rnaalifold.py   pycogent(Download)
from cogent.core.moltype import RNA
from cogent.parse.fasta import MinimalFastaParser
from cogent.parse.rnaalifold import rnaalifold_parser, MinimalRnaalifoldParser
from cogent.format.clustal import clustal_from_alignment
from cogent.struct.rna2d import ViennaStructure

src/p/y/pycogent-HEAD/tests/test_parse/test_rnaalifold.py   pycogent(Download)
#!/usr/bin/env python
 
from cogent.util.unit_test import TestCase, main
from cogent.core.info import Info
from cogent.parse.rnaalifold import rnaalifold_parser, MinimalRnaalifoldParser
 
        #Test one structure
        obs = rnaalifold_parser(self.rnaalifold_out)
        self.assertEqual(obs,self.rnaalifold_exp)
 
        #Test two structures
        obs_2 = rnaalifold_parser(self.rnaalifold_out_2)

src/c/o/cogent-1.5.3/tests/test_parse/test_rnaalifold.py   cogent(Download)
#!/usr/bin/env python
 
from cogent.util.unit_test import TestCase, main
from cogent.core.info import Info
from cogent.parse.rnaalifold import rnaalifold_parser, MinimalRnaalifoldParser
 
        #Test one structure
        obs = rnaalifold_parser(self.rnaalifold_out)
        self.assertEqual(obs,self.rnaalifold_exp)
 
        #Test two structures
        obs_2 = rnaalifold_parser(self.rnaalifold_out_2)