def __init__(self, hostname, dbname, schema, type, output, orgn, go_set_fname): GO_graphxml.__init__(self, hostname, dbname, schema, type, output, orgn) self.go_set_file = csv.reader(file(go_set_fname), delimiter='\t') self.go_id_set = Set()
def dstruc_loadin(self): GO_graphxml.dstruc_loadin(self) for row in self.go_set_file: self.go_id_set.add(row[0])
def __init__(self, hostname, dbname, schema, type, dir, output, visualize): GO_graphxml.__init__(self, hostname, dbname, schema, type, output) self.dir = dir self.visualize = visualize