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

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

src/c/o/cogent-1.5.3/tests/test_parse/test_bowtie.py   cogent(Download)
"""
 
from cogent.parse.bowtie import BowtieOutputParser, BowtieToTable
from cogent.util.unit_test import TestCase, main
from cogent import LoadTable
    def test_psl_to_table(self):
        """make sure that the table is built without any errors"""
        table = BowtieToTable(fname)
 
    def test_getting_seq_coords(self):
        """get correct information from the table"""
        table = BowtieToTable(fname)
 
        # table
        table = BowtieToTable(fname, row_converter=None)
        for index, row in enumerate(table):
            query_offset = row['Offset']

src/p/y/pycogent-HEAD/tests/test_parse/test_bowtie.py   pycogent(Download)
"""
 
from cogent.parse.bowtie import BowtieOutputParser, BowtieToTable
from cogent.util.unit_test import TestCase, main
from cogent import LoadTable
    def test_psl_to_table(self):
        """make sure that the table is built without any errors"""
        table = BowtieToTable(fname)
 
    def test_getting_seq_coords(self):
        """get correct information from the table"""
        table = BowtieToTable(fname)
 
        # table
        table = BowtieToTable(fname, row_converter=None)
        for index, row in enumerate(table):
            query_offset = row['Offset']