Closed fardokhtsadat closed 3 years ago
An entry where the start and end are the same can just be excluded since it doesn't actually yield information about a base (i.e., the width of the entry is 0 bases). You'll want to just filter those out (no clue how they got there to begin with).
hello! I am trying to change the chromosome names in a gerp bigwig file. In the bigwig file, there are some entries where the start and end positions are the same. here is an example:
When I try to create a bigwig file, i get an error:
I get the following error:
Traceback (most recent call last): File "/usr/lib/python3/dist-packages/IPython/core/interactiveshell.py", line 3417, in run_code exec(code_obj, self.user_global_ns, self.user_ns) File "<ipython-input-5-ee2f75383c55>", line 1, in <module> bw.addEntries(chroms, starts, ends=ends, values=values0) RuntimeError: The entries you tried to add are out of order, precede already added entries, or otherwise use illegal values. Please correct this and try again.
How can this be solved? Thanks!