SystemsGenetics / KINC

Knowledge Independent Network Construction
MIT License
11 stars 4 forks source link

Not sure why cmx and ccm are out of sync #157

Open JohnHadish opened 4 years ago

JohnHadish commented 4 years ago

Just made these ccm and cmx, but I get this error when I go to extract:

warning: cmx and ccm are out of sync
JohnHadish commented 4 years ago

image

The bottom right corner of both files do not match up

bentsherman commented 4 years ago

@JohnHadish I can't think of any way that KINC would produce out-of-sync ccm/cmx files like this, I think it's more likely that a lower-level error occured with the OS or disk, or you were using an old version of KINC. Does the exact same problem happen if you rerun similarity? If you can reproduce the problem then I can probably trace it to something that went wrong in either similarity or corrpower.

spficklin commented 4 years ago

Issue resolved with recent PR.

JohnHadish commented 3 years ago

I just got another one of these errors, I thought there might still be old installs on my system, so I removed all old files and did a fresh install of both ACE (v3.2.0) and KINC (v3.4.2). I ran it again, and got the same error:

kinc run extract --emx "Intermediary_File.emx" --ccm "Intermediary_File.paf.ccm" --cmx "Intermediary_File.paf.cmx" --csm "test.paf.csm" --format "text" --output "test_output.txt" --mincorr 0 --maxcorr 1 --filter-pvalue "0" --filter-rsquare "0.0"
Invalid MIT-MAGIC-COOKIE-1 key1%    6s  9m54s
2%  12s 9m48s
3%  19s 10m14s
4%  25s 10m
5%  32s 10m8s
6%  38s 9m55s
7%  45s 9m57s
8%  51s 9m46s
9%  57s 9m36s
10% 1m4s    9m36s
11% 1m10s   9m26s
12% 1m17s   9m24s
13% 1m23s   9m15s
14% 1m30s   9m12s
15% 1m36s   9m4s
16% 1m43s   9m
17% 1m50s   8m57s
18% 1m56s   8m48s
19% 2m3s    8m44s
20% 2m9s    8m36s
21% 2m15s   8m27s
22% 2m22s   8m23s
23% 2m28s   8m15s
24% 2m34s   8m7s
25% 2m41s   8m3s
26% 2m47s   7m55s
27% 2m53s   7m47s
warning: cmx and csm are out of sync at cmx coordinate: "Mdg_02B008990" , "Mdg_02A006630"  ( 4307 , 4008 ) 
28% 2m59s   7m40s
29% 3m6s    7m35s