def test_iterator_generic_uncompressed(): f = open("windows_small.bed") l = len( list( pysam.tabix_generic_iterator( f, parser = pysam.asBed() )))
def test_iterator_generic_compressed(): f = gzip.open(fn_compressed) l = len( list( pysam.tabix_generic_iterator( f, parser = pysam.asBed() )))
def iterate_generic_uncompressed(fn): with open(fn) as f: return len(list(pysam.tabix_generic_iterator(f, parser=pysam.asBed())))
def test_iterator_generic_uncompressed(): f = open("windows_small.bed") l = len(list(pysam.tabix_generic_iterator(f, parser=pysam.asBed())))
def test_iterator_generic_compressed(): f = gzip.open(fn_compressed) l = len(list(pysam.tabix_generic_iterator(f, parser=pysam.asBed())))