Skip to content

Update DB path for BLAST by adding the genome uuid prefix#58

Open
bilalebi wants to merge 2 commits into
mainfrom
update-db-path
Open

Update DB path for BLAST by adding the genome uuid prefix#58
bilalebi wants to merge 2 commits into
mainfrom
update-db-path

Conversation

@bilalebi

Copy link
Copy Markdown
Contributor

Description

Since it's a tiny change, I went a head and updated the DB path for BLAST by adding the genome UUID prefix.

Please have a look and make sure I didn't miss (up) anything

@bilalebi bilalebi requested review from azangru and veidenberg June 12, 2026 09:34
@bilalebi bilalebi self-assigned this Jun 12, 2026
Comment thread app/blast/blast.py
def get_db_path(genome_id: str, db_type: str) -> str:
return f"ensembl/{genome_id}/{suffix_map.get(db_type, db_type)}"
genome_id_prefix = genome_id[:3]
return f"ensembl/{genome_id_prefix}/{genome_id}/{suffix_map.get(db_type, db_type)}"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this something that the tools api has to work out on its own, or something that it should ask metadata about?

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.

3 participants