1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
from nose.tools import assert_equal, assert_true, assert_false
from numpy.testing import assert_array_equal
from StringIO import StringIO
from pbcore.io import BasH5Collection
from pbcore import data
def lookupSomeReadsByName(bc):
pass
def test():
for fofn in data.getFofns():
bc = BasH5Collection(fofn)
for zmw in bc:
zmwAgain = bc[zmw.zmwName]
assert_equal(zmw.zmwName, zmwAgain.zmwName)
def test_read_iterators():
for fofn in data.getFofns():
bc = BasH5Collection(fofn)
# TODO Add some meaningful tests here
list(bc.subreads())
list(bc.reads())
list(bc.ccsReads())
|