mpi2 / PhenotypeData

Reorganisation, update, and extend code from PhenotypeArchive
Apache License 2.0
2 stars 5 forks source link

[Crispr sequencing data modal] - Filter results by colony and allele #876

Closed francisco-ebi closed 1 month ago

francisco-ebi commented 1 month ago

Hi,

I have checked the code and currently the website is selecting the first result from this endpoint: https://www.gentar.org/mi/impc/allele-service/v1/alleles/crispr/get_by_mgi?mgiGeneAccessionId=MGI:3045255&alleleSuperscript=em1H Seems like the alleleSuperscript parameters is being ignored because I can see results of all the alleles like em1(IMPC)J. So I'm filtering the results by allele and colony name (I noticed that colonies have different guides) and if there are no results, I'm falling back to show the first result.

rwilson-ebi commented 1 month ago

Approved, should fix the issue.