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

Errow when used rawhic input: "File does not exist, please check your file path" #5

Closed
kuangzhuoran opened this issue Jan 11, 2024 · 6 comments

Comments

@kuangzhuoran
Copy link

kuangzhuoran commented Jan 11, 2024

Hi !

My command is:
h1d call TAD ./carmeli.30.hic 25000 Chr29 -o test --datatype rawhic --gt ./carmeli.length

The error message is:
Start dump matrix from hic file
Finish dump
File does not exist, please check your file path

I saw a similar error at "#2", but I found a folder called ‘MatrixTemp0.05099345739986205’ created after running the command line.
It generates the file "observed.KR.chrChr29.matrix.gz", which means "Juicer_tools dump" is working.

When I calculated the PC1 value, my command is "h1d one PC1 ./carmeli.30.hic 50000 Chr29 -o test --datatype rawhic --gt ./carmeli.length -p ./carmeli.geneDensity.txt"
I encountered a similar error report:
Start dump matrix from hic file
Finish dump
Calculating 1D metrics for one sample
File does not exist, please check your file path

My h1d version is 0.1.29;
My Linux system is CentOS Stream release 8

@kuangzhuoran
Copy link
Author

As for "--gt ./carmeli.length"

The path to this file is correct, I've also tried absolute paths still not working.

@wangjk321
Copy link
Owner

Please refer to this issue #1. I think the problem is your chromosome name is "Chr29" not "chr29"

@kuangzhuoran
Copy link
Author

Well, I'm trying to use the "MatrixTemp0.05099345739986205/observed.KR.chrChr29.matrix.gz" that I just generated as an input file. It works.
And my command is "h1d call TAD ./MatrixTemp0.9770529357100954/25000/observed.KR.chrChr29.matrix.gz 25000 Chr29 -o test --gt ./carmeli.length"

It seems that I need to convert the .hic file output by juicer to “matrix” format before continuing to run the other analyses。

@wangjk321
Copy link
Owner

Please refer to this issue #1. I think the problem is your chromosome name is "Chr29" not "chr29"

Please check this. That's why the output name is strange, like "chrChr29"

@kuangzhuoran
Copy link
Author

kuangzhuoran commented Jan 11, 2024

Yes, It is "Chr29" not "chr29".
I know how to handle it.

Thank you !

@Simple53
Copy link

Hi,I have a similar problem when using h1d two. The name of the dumped hic matrix looks good. But I know my matrix chromosomes do not have a 'chr' prefix, is it could be the reson? How to solve it? Thanks.

├── MatrixTemp0.4904302265940076
│   └── 50000
│       └── observed.KR.chr21.matrix.gz
├── MatrixTemp0.6677646599167062
│   └── 50000
│       └── observed.KR.chr21.matrix.gz

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