Esempio n. 1
0
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
Esempio n. 2
0
class Record(tables.IsDescription):
    var1 = StringCol(itemsize=4)  # 4-character String
    var2 = IntCol()  # integer
    var3 = Int16Col()  # short integer
Esempio n. 3
0
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)