class PositionalSchema(IsDescription): """ Stores a triplet of float values for each index. """ # the position arguments must be present idx = IntCol(pos=1) # index fwd = FloatCol(pos=2) # values on the forward strand rev = FloatCol(pos=3) # value on the reverse strand val = FloatCol(pos=4) # weighted value on the combined strands
class Record(tables.IsDescription): var1 = StringCol(itemsize=4) # 4-character String var2 = IntCol() # integer var3 = Int16Col() # short integer
class Record(tables.IsDescription): var1 = StringCol(itemsize=4) # 4-character String var2 = IntCol() # integer var3 = Int16Col() # short integer var4 = FloatCol() # double (double-precision) var5 = Float32Col() # float (single-precision)
class description(IsDescription): name = StringCol(16, pos=1) val = IntCol(pos=2)