Zhi-Jie Cao
Zhi-Jie Cao
Hi @cynthier, thanks for your interest in GLUE! As the error suggests, you might be having NaN values in the input matrix, which is not supported. Could you confirm if...
Okay thanks. Could you also provide a complete trackback so I can check where exactly was the error raised?
Based on the traceback, I suppose the NaN values are produced when computing TF-IDF, specifically this line: ``` /Conda/R4b/pkgs/glu/lib/python3.10/site-packages/scglue/num.py:289: RuntimeWarning: divide by zero encountered in divide idf = X.shape[0] /...
Well that could be a version problem. Which version of `scglue` are you using?
I see. That's the reason. The `rna_anchored_guidance_graph` was introduced in [v0.3.1](https://scglue.readthedocs.io/en/latest/release.html#v0-3-1). I'd recommend updating to the latest version (v0.3.2).
It seems that you do not have "chromStart", "chromEnd" columns in `adata.var`, or there are NA or inf values in these columns. Could you check on that?
Hi @Van1yu3! We are still ironing out issues with the online portal ([cblast.gao-lab.org](https://cblast.gao-lab.org/)) after this update. v0.5.0 will be released as soon as we are able to update the online...
v0.5.0 is now formally released. You may update via PyPI.
@yujcccc Thank you for the recommendation! A similar approach has been accepted in the lastest [0.5.1](https://github.com/gao-lab/Cell_BLAST/releases/tag/v0.5.1) release.