Exemplo n.º 1
0
 def next(self):
     """ Return next read collection from the
     compact reads file
     """
     buf = MessageChunksReader.next(self)
     collection = Reads_pb2.ReadCollection()
     collection.ParseFromString(buf)
     return collection
Exemplo n.º 2
0
 def next(self):
     """ Return next read collection from the
     compact reads file
     """
     buf = MessageChunksReader.next(self)
     collection = Reads_pb2.ReadCollection()
     collection.ParseFromString(buf)
     return collection
Exemplo n.º 3
0
 def __init__(self, filename, verbose = False):
     MessageChunksReader.__init__(self, filename, verbose)
Exemplo n.º 4
0
 def __init__(self, filename, verbose=False):
     MessageChunksReader.__init__(self, filename, verbose)
Exemplo n.º 5
0
 def next(self):
     """ Return next alignment collection from the entries file."""
     buf = MessageChunksReader.next(self)
     collection = Alignments_pb2.AlignmentCollection()
     collection.ParseFromString(buf)
     return collection
Exemplo n.º 6
0
 def __init__(self, basename, verbose = False):
     MessageChunksReader.__init__(self, get_basename(basename) + ".entries", verbose)