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

eigen decomposition failed error #6

Open
yeroslaviz opened this issue Jun 24, 2022 · 1 comment
Open

eigen decomposition failed error #6

yeroslaviz opened this issue Jun 24, 2022 · 1 comment

Comments

@yeroslaviz
Copy link

yeroslaviz commented Jun 24, 2022

I am running the CALDER tools against several chromosomes of my data set. When I run CALDER against chr1 I get the needed output, but when I tried to run it against chr2 or chr10, I get the following error:

CALDER_main(contact_mat_file = "straw/1082/hic_chr2_5K.txt", chr = 2 , bin_size = 5000, out_dir = "CALDER_output/1082_5k", sub_domains=TRUE, save_intermediate_data=TRUE, genome='mm9')

>>>> Begin process contact matrix and compute correlation score at: 2022-06-24 11:19:33
 >>>> Begin compute compartment domains and their hierachy at: 2022-06-24 11:23:51Error in do.call(.Call, args = dot_call_args) :
  TridiagEigen: eigen decomposition failed
In addition: Warning message:
In cor(t(trend_mean)) : the standard deviation is zero

Any ideas, were this error is coming from or why it happens only at specific chromosomes?

thanks again

Assa

@YuanlongLiu
Copy link
Collaborator

YuanlongLiu commented Jun 27, 2022

Hi, it might be the matrix is too big and the eigen decomposition failed, refer to this (yixuan/RSpectra#1). One suggestion is to run the analysis at bin size >= 10kb. The sub-compartment call should be already quite precise

Also, take a look at CALDER2.0 with several updates

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