Пример #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
Пример #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
Пример #3
0
 def __init__(self, filename, verbose = False):
     MessageChunksReader.__init__(self, filename, verbose)
Пример #4
0
 def __init__(self, filename, verbose=False):
     MessageChunksReader.__init__(self, filename, verbose)
Пример #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
Пример #6
0
 def __init__(self, basename, verbose = False):
     MessageChunksReader.__init__(self, get_basename(basename) + ".entries", verbose)