Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

key error #15

Closed
lidaof opened this issue Sep 11, 2017 · 1 comment
Closed

key error #15

lidaof opened this issue Sep 11, 2017 · 1 comment

Comments

@lidaof
Copy link

lidaof commented Sep 11, 2017

Would like to report another issue, thanks

$ hic2cool GSE63525_IMR90_combined_30.hic GSE63525_IMR90_combined_30.cool
################
### hic2cool ###
################
hic file header info:
Chromosomes:  [u'All', u'chr1', u'chr2', u'chr3', u'chr4', u'chr5', u'chr6', u'chr7', u'chr8', u'chr9', u'chr10', u'chr11', u'chr12', u'chr13', u'chr14', u'chr15', u'chr16', u'chr17', u'chr18', u'chr19', u'chr20', u'chr21', u'chr22', u'chrX', u'chrY', u'chrM']
Resolutions:  [2500000, 1000000, 500000, 250000, 100000, 50000, 25000, 10000, 5000]
Genome:  hg19
Traceback (most recent call last):
  File "/opt/apps/python2/bin/hic2cool", line 11, in 
    sys.exit(main())
  File "/opt/apps/python2/lib/python2.7/site-packages/hic2cool/__main__.py", line 46, in main
    args.normalization, args.exclude_MT, True)
  File "/opt/apps/python2/lib/python2.7/site-packages/hic2cool/hic2cool_utils.py", line 769, in hic2cool_convert
    chr_footer_info, bin_map, count_map)
  File "/opt/apps/python2/lib/python2.7/site-packages/hic2cool/hic2cool_utils.py", line 404, in parse_hic
    c2Norm = read_normalization_vector(req, chr_footer_info[c2])
KeyError: 9

@carlvitzthum
Copy link
Collaborator

Please see #14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants