Mercurial > repos > iuc > circos
comparison stack-histogram.py @ 13:8b1cf140bbd4 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:08:23 +0000 |
| parents | ecaa0210e62b |
| children |
comparison
equal
deleted
inserted
replaced
| 12:7b64033fb9b1 | 13:8b1cf140bbd4 |
|---|---|
| 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. |
