Mercurial > repos > iuc > circos
comparison stack-histogram.py @ 7:4b519282a05b draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/circos commit ef20b4968a6d00c49209de6b723f8b96d8bd128a"
author | iuc |
---|---|
date | Mon, 25 May 2020 10:52:02 -0400 |
parents | 740057a5126d |
children | c4bde687c846 |
comparison
equal
deleted
inserted
replaced
6:740057a5126d | 7:4b519282a05b |
---|---|
21 # sorry not sorry. | 21 # sorry not sorry. |
22 | 22 |
23 for chrom in k: | 23 for chrom in k: |
24 for interval_set in zip(*[bw.intervals(chrom) for bw in bws]): | 24 for interval_set in zip(*[bw.intervals(chrom) for bw in bws]): |
25 (start, end) = interval_set[0][0:2] | 25 (start, end) = interval_set[0][0:2] |
26 values = ','.join(map(str, [x[2] for x in interval_set])) | 26 values = ",".join(map(str, [x[2] for x in interval_set])) |
27 sys.stdout.write("%s\t%s\t%s\t%s\n" % (chrom, start, end, values)) | 27 sys.stdout.write("%s\t%s\t%s\t%s\n" % (chrom, start, end, values)) |