view seg2matrix/CGData/ProbeMap.py @ 60:bf57076e27b9 default tip

change genomicSegment input data
author jingchunzhu@gmail.com
date Tue, 27 Oct 2015 16:07:09 -0700
parents ab20c0d04f4a
children
line wrap: on
line source


import CGData.BaseTable


class ProbeMap(CGData.BaseTable.BaseTable):
    __format__ =  {
            "name" : "probeMap",
            "form" : "table",
            "columnOrder" : [
                "probe",
                "aliases",
                "chrom",
                "chrom_start",
                "chrom_end",
                "strand"
            ],
            "primaryKey" : "probe",
            "columnDef" : {
				"chrom_start" : { "type" : "int", "index" : 1 },
				"chrom_end" : { "type" : "int", "index" : 1 }
            }
        }
        
    def __init__(self):
        CGData.BaseTable.BaseTable.__init__(self)