reduce function does not support hg19 seqnames
Closed this issue · 1 comments
maayanamid commented
When using seqnames with underscores as defined in hg19 (chrUn_gl000220, chr11_gl000202_random, chrUn_gl000215, chr11_gl000202_random, chr4_gl000193_random, etc), the reduce function fails with the following error:
File "python3.11/site-packages/genomicranges/GenomicRanges.py", line 1554, in
new_strand = np.array([int(x[1]) for x in splits])
^^^^^^^^^
ValueError: invalid literal for int() with base 10: 'gl000202'
jkanche commented
Hi @maayanamid, Thank you for noticing this. The new version should fix this. Let me know if you notice any other issues. Thanks again!