Closed TJonCooper closed 3 years ago
Also happening on the latest git version of Dynamo - so I'm sure it's due to the file structure of the input itself.
Hi @TJonCooper thanks for using our tool. this seems like a umap version mismatch. What umap version are you using? try this builtin dynamo function: dyn.get_all_dependencies_version()
>>> dyn.get_all_dependencies_version()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/tjcooper/.local/lib/python3.8/site-packages/dynamo/get_version.py", line 178, in get_all_dependencies_version
_package = pkg_resources.working_set.by_key[_package_name]
KeyError: 'dynamo-release'
I have some issues running that function (see above).
I installed dynamo within a fresh conda environment, dedicated to it.
@TJonCooper sorry for this. This is certainly a bug. Let me fix this for you today!
Great, thanks! :)
Hi @TJonCooper the bug results from recent changes in umap. Could you please pull the new changes from github and see how it goes with your data (It works on my end now).
Also we have fully worked the theory for dynamo, validated its predictions by a few experiments, and introduced new concepts in dynamical systems and differential geometry to gain deep insights of biological systems. You may find our fully rewritten preprint helpful: https://www.biorxiv.org/content/10.1101/696724v2
For a 3 minute digest of our paper, see my Twitter thread here: https://twitter.com/Xiaojie_Qiu/status/1359183325198512132
(welcome retweet)
dyn.tl.dynamics now correctly runs! Thank you!
As a lot of people work with Seurat, I'd also like to bring your attention to SeuratDisk: https://github.com/mojaveazure/seurat-disk
Which may allow an easy route for the integration of Seurat with Dynamo.
library(SeuratDisk)
library(SeuratWrappers)
ldat<-ReadVelocity(file = "example.loom")
bm<-as.Seurat(x=ldat)
bm[["RNA"]] <- bm[["spliced"]]
DefaultAssay(bm) <- "RNA"
*any Seurat processing here*
SaveH5Seurat(bm, filename = "mouseBM.h5Seurat")
Convert("mouseBM.h5Seurat", dest = "h5ad")
Is all that is needed to produce an AnnData file that is immediately compatible with scvelo - and so far - Dynamo too :)
Also see:
Thanks for the awesome package!
dynamo is compatible with loom or adata objects thanks to AnnData package. I think that is also what you need to move data from R world to dynamo.
We will have a few exciting tutorials demonstrating RNA velocity, acceleration, curvature vector field, RNA divergence, curl and potential landscape, etc soon. Please stayed tuned!
I'm using the PyPi release of Dynamo, and receiving the above error message when attempting to run it on this file:
https://e.pcloud.link/publink/show?code=XZuibkZCBtw4neJ5Q8wpFqcCoHUKjBx2dTX
Preprocessing was originally performed with Seurat and the h5ad file was created via SeuratDisk.
I've also tried reading in the original, unprocessed .loom file via scanpy.read_loom but encounter an identical error:
https://e.pcloud.link/publink/show?code=XZvvbkZfK2Q2yvHnhS8YA0NCtXDWLzqQwh7
What could be causing this?