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

Add ability to define custom aliases for refSeq names #419

Merged
merged 11 commits into from
Aug 20, 2024

Conversation

shashankbrgowda
Copy link
Contributor

@shashankbrgowda shashankbrgowda commented Jul 30, 2024

Fixes #418

image

Rendering of havana evidence track is working as expected after configuring the reference name alias.
image

@garrettjstevens
Copy link
Contributor

I think we can update the aliases on the client by doing something like this in executeOnClient():

async executeOnClient(dataStore: ClientDataStore) {
  if (!dataStore) {
    throw new Error('No data store')
  }
  const { assemblyManager } = getSession(dataStore)
  const assembly = assemblyManager.get(this.assembly)
  assembly.configuration.refNameAliases.set(this.refSeqAliases)
}

@shashankbrgowda shashankbrgowda marked this pull request as ready for review August 14, 2024 06:54
@garrettjstevens garrettjstevens merged commit 59969bf into GMOD:main Aug 20, 2024
1 check failed
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.

Add ability to define custom aliases for refSeq names
2 participants