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

[Question] Assignement of transcripts located on polygons overlap after patch segmentation #198

Open
ConstensouxAlexis opened this issue Feb 4, 2025 · 1 comment

Comments

@ConstensouxAlexis
Copy link

Hello !
I have a question regarding patches aggregation, after Baysor has been run on several patches. Overlap between patches produces overlapping polygons, that are merged (or not) depending on their intersection area. After this step, there are still polygons with little overlap. When building the transcripts table, if a transcript is located on the overlap of several polygons, is there any rule/strategy to decide to which polygon this transcript is assigned ? I couldn't find in your code where this issue could be adressed, so I am curious to know how this is done !
Thank you !

@quentinblampey
Copy link
Collaborator

Hello @ConstensouxAlexis, for now, transcripts that are found on overlapping cells are counted for every cell that it touches.
This will be changed after the release of shapely==2.1.0, because it will add a new feature to ease removing the overlaps between cells!

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