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

Error finding block data #123

Open
DavidWarrenKatz opened this issue Mar 29, 2023 · 4 comments
Open

Error finding block data #123

DavidWarrenKatz opened this issue Mar 29, 2023 · 4 comments

Comments

@DavidWarrenKatz
Copy link

Often, when calling the getMatrixZoomData function, I receive an "Error finding block data" error. For example, the following code produces the error:

import hicstraw
hic = hicstraw.HiCFile("https://www.encodeproject.org/files/ENCFF247KEK/@@download/ENCFF247KEK.hic")

resolution = 5000;
chromosome = '1';
startingbp = 10000000;
endingbp = 13000000;

matrix_object_chr1 = hic.getMatrixZoomData(chromosome, chromosome, "observed", "NONE", "BP", resolution)

@sa501428
Copy link
Member

Have you tried with 'chr1' instead of '1'? The chromosome depends on the chrom.sizes file specified.

@DavidWarrenKatz
Copy link
Author

Thank you.

@DavidWarrenKatz
Copy link
Author

DavidWarrenKatz commented Mar 30, 2023

where is the chrome.sizes file located? I am pretty sure the name of the chromosomes is correct, as it matches what is output for hic.getChromosomes()[1].name. However, I am now receiving the error "Remote file doesn't have the given chr_chr map", but the map I am requesting for sure exists.

@danidigi
Copy link

Hi, I get the same errors when I try to use a .hic file as input for fithichip. Did you find a solution?
Thank you ;)

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

3 participants