comparison seg2matrix/segToMatrixGalaxy.py @ 53:7de3db823f90

fix
author jingchunzhu
date Thu, 17 Sep 2015 15:38:53 -0700
parents ab20c0d04f4a
children 59dbe857f5d4
comparison
equal deleted inserted replaced
52:3a036a34c362 53:7de3db823f90
38 sys.exit() 38 sys.exit()
39 seg = CGData.GenomicSegment.GenomicSegment() 39 seg = CGData.GenomicSegment.GenomicSegment()
40 seg.load(sys.argv[1]) 40 seg.load(sys.argv[1])
41 41
42 refgene = CGData.RefGene.RefGene() 42 refgene = CGData.RefGene.RefGene()
43 refgene.load(os.path.dirname(sys.argv[0])+"/"+sys.argv[2]) 43 refgene.load(sys.argv[2])
44 44 # refgene.load(os.path.dirname(sys.argv[0])+"/"+sys.argv[2])
45
45 handle = open(sys.argv[3], "w") 46 handle = open(sys.argv[3], "w")
46 m = matrix_write(handle) 47 m = matrix_write(handle)
47 CGData.SegToMatrix.seg_to_matrix(seg, m) 48 CGData.SegToMatrix.seg_to_matrix(seg, m)
48 handle.close() 49 handle.close()
49 50