gustaveroussy / sopa

Technology-invariant pipeline for spatial omics analysis (Xenium / MERSCOPE / CosMx / PhenoCycler / MACSima / Hyperion) that scales to millions of cells
https://gustaveroussy.github.io/sopa/
BSD 3-Clause "New" or "Revised" License
94 stars 8 forks source link

Comseg cli #76

Open tdefa opened 3 weeks ago

tdefa commented 3 weeks ago

implementation of ComSeg cli

A function transcript_segmentation() was created to handle both Baysor and ComSeg

quentinblampey commented 3 weeks ago

Here is a todo list for the next steps:

quentinblampey commented 3 weeks ago

Thanks for the changes! Regarding the CI, you can install pre-commit locally to fix the issues:

pre-commit install

pre-commit run --all-files
tdefa commented 3 weeks ago

Thanks for the changes! Regarding the CI, you can install pre-commit locally to fix the issues:

pre-commit install

pre-commit run --all-files

Ok thanks I just saw it

tdefa commented 3 weeks ago

I added comseg to the snakemake pipeline + few config file examples.

Now I will complete ComSeg tutorial for API + CLI + snakemake all in the file : "other_segmentations.ipynb" do you agree ?

quentinblampey commented 2 weeks ago

Thanks for your updates, it looks very good!

I fixed and cleaned a few things

Also, I had some issues running comseg, now I get an error 'PCA' object has no attribute 'explained_variance_' when running the patch step of comseg, do you know why? Two other things:

After this, I will merge the PR!

tdefa commented 2 weeks ago

Ok thanks for reviewing!

I will do additional tests on other data this week, before the next push.