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

--prior-segmentation-confidence=1 but contradict to prior_segmentation #117

Open
SanoKyohei opened this issue Apr 1, 2024 · 3 comments
Open

Comments

@SanoKyohei
Copy link

SanoKyohei commented Apr 1, 2024

・Command
baysor run input.csv :cell_name -m 30 --prior-segmentation-confidence=1 --plot
・Environment:
Baysor v0.6.2 (in docker)

→This should not change gene assignment, however it changed a lot.
In "segmentation.csv" file, "prior_segmentation" and "cell" doens`t match at all.

Could you give me a solution for this?

@VPetukhov
Copy link
Collaborator

The cell ids can be reordered, and cells can be expanded. The restriction is that for a given prior cell all transcripts, which were assigned to it in the prior segmentation must stay assigned to the same cell in the final segmentation. Is it violated?

@SanoKyohei
Copy link
Author

The restriction has been violated.
But it was partially because CosMx output bug.
There is a bug in the CosMx output where the same transcriptome appears twice at the same x, y, z coordinates. Due to this bug, the restriction that all transcripts assigned to a given prior cell in the initial segmentation must remain assigned to the same cell in the final segmentation is not functioning correctly.

@VPetukhov
Copy link
Collaborator

I'll look into it! Were they also assigned to the same cell in the prior segmentation?

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