Mercurial > repos > iuc > circos
comparison stack-histogram.py @ 13:c4bde687c846 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/circos commit 0cfd88d16b0b20a66d4b21b037ddee6a8c440d88
author | iuc |
---|---|
date | Wed, 12 Apr 2023 15:09:05 +0000 |
parents | 4b519282a05b |
children |
comparison
equal
deleted
inserted
replaced
12:290a11559985 | 13:c4bde687c846 |
---|---|
10 if __name__ == "__main__": | 10 if __name__ == "__main__": |
11 files = sys.argv[1:] | 11 files = sys.argv[1:] |
12 bws = [pyBigWig.open(x) for x in files] | 12 bws = [pyBigWig.open(x) for x in files] |
13 | 13 |
14 # obtain some chroms. Hope all sets are identical! | 14 # obtain some chroms. Hope all sets are identical! |
15 k = bws[0].chroms().keys() | 15 k = list(bws[0].chroms().keys()) |
16 | 16 |
17 # do magic? | 17 # do magic? |
18 # nah. | 18 # nah. |
19 # just assert that intervals are identical. | 19 # just assert that intervals are identical. |
20 # and crash otherwise. | 20 # and crash otherwise. |