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

Fix gene ID mismatch in projection command #208

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

JeanMainguy
Copy link
Member

This PR fixes the bug reported in #207.

In the projection command using a gbff file as input genome, the input genes weren't linked to any gene families, resulting in all genes being without a pangenome family. This was due to a mismatch between ppanggolin's internal IDs and the original IDs from the GBFF file.

When gene IDs are unique across input genomes, the original ID (local_identifier) should be used instead of the PPanGGOLiN-generated IDs. However, this replacement wasn't happening because of a flaw in the iterator management, which left it empty.

The iterator has been properly fixed, resolving the issue.

@axbazin axbazin merged commit 345c30e into dev Apr 4, 2024
6 checks passed
@axbazin axbazin deleted the fix_id_mismatch_in_projection branch April 4, 2024 08:00
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

Successfully merging this pull request may close these issues.

2 participants