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

add seg2matrix tool
author jingchunzhu
date Fri, 24 Jul 2015 13:10:11 -0700
parents
children bf57076e27b9
comparison
equal deleted inserted replaced
30:7a7a52e9b019 31:ab20c0d04f4a
1
2 import CGData
3 import CGData.BaseTable
4
5 class GenomicSegment(CGData.BaseTable.BaseTable):
6
7 __format__ = {
8 "name" : "genomicSegment",
9 "type" : "type",
10 "form" : "table",
11 "columnOrder" : [
12 "id",
13 "chrom",
14 "chrom_start",
15 "chrom_end",
16 "strand",
17 "value"
18 ],
19 "groupKey" : "id",
20 "columnDef" : {
21 "chrom_start" : { "type" : "int" },
22 "chrom_end" : { "type" : "int" },
23 "value" : { "type" : "float" }
24 },
25 "links" : {
26 "assembly" : {},
27 "dataSubType" : {}
28 }
29 }
30
31 def __init__(self):
32 CGData.BaseTable.BaseTable.__init__(self)