comparison seg2matrix/CGData/ProbeMap.py @ 31:ab20c0d04f4a

add seg2matrix tool
author jingchunzhu
date Fri, 24 Jul 2015 13:10:11 -0700
parents
children
comparison
equal deleted inserted replaced
30:7a7a52e9b019 31:ab20c0d04f4a
1
2 import CGData.BaseTable
3
4
5 class ProbeMap(CGData.BaseTable.BaseTable):
6 __format__ = {
7 "name" : "probeMap",
8 "form" : "table",
9 "columnOrder" : [
10 "probe",
11 "aliases",
12 "chrom",
13 "chrom_start",
14 "chrom_end",
15 "strand"
16 ],
17 "primaryKey" : "probe",
18 "columnDef" : {
19 "chrom_start" : { "type" : "int", "index" : 1 },
20 "chrom_end" : { "type" : "int", "index" : 1 }
21 }
22 }
23
24 def __init__(self):
25 CGData.BaseTable.BaseTable.__init__(self)
26