RNAcentral / rnacentral-webcode

RNAcentral website source code
https://rnacentral.org
Apache License 2.0
31 stars 8 forks source link

Include Swiss BioPic images into RNAcentral #579

Closed blakesweeney closed 2 years ago

blakesweeney commented 2 years ago

SwissBioPics (https://www.swissbiopics.org/) are a way of visualizing the localization of molecules. We already have this information displayed in our GO tables, but these are not the easiest way to display these annotations. We should include their diagrams into RNAcentral.

The details of how to include the images are in: https://www.npmjs.com/package/@swissprot/swissbiopics-visualizer. But to me it looks like we could add:

<script type="module" src="https://www.swissbiopics.org/static/swissbiopics.js"></script>
<sib-swissbiopics-sl taxid="9606" gos="GO:0005634"></sib-swissbiopics-sl>

for https://rnacentral.org/rna/URS0000A77400/9606. The GO id used there is actually already part of the search index in the part_of field. We can also pull this data from the database if needed.