Open EricR86 opened 10 years ago
Original report (archived issue) by Eric Roberts (Bitbucket: ericr86, GitHub: ericr86).
From Google Code Issue #17
Imported Labels: enhancement, imported, Priority-Medium
From jay.hesselberth on June 16, 2011 15:10:06
I have multiple discontiguous coords on a chromosome that I want get data for, and I'd like to do it without looping over them.
I can do this with numpy:
temp = numpy.array([1,2,3,4,5]) coords = [1,3] temp[coords] array([2, 4])
but I can't seem to do the same thing with genomedata, e.g.
genome[chrom][coords,trackname] doesn't work.
Am I stuck looping?
Original issue: http://code.google.com/p/genomedata/issues/detail?id=17
Original comment by Eric Roberts (Bitbucket: ericr86, GitHub: ericr86).
Original report (archived issue) by Eric Roberts (Bitbucket: ericr86, GitHub: ericr86).
From Google Code Issue #17
Imported Labels: enhancement, imported, Priority-Medium
From jay.hesselberth on June 16, 2011 15:10:06
I have multiple discontiguous coords on a chromosome that I want get data for, and I'd like to do it without looping over them.
I can do this with numpy:
but I can't seem to do the same thing with genomedata, e.g.
genome[chrom][coords,trackname] doesn't work.
Am I stuck looping?
Original issue: http://code.google.com/p/genomedata/issues/detail?id=17