cannin / ihop-reach

A web application to access biological data extracted from biomedical literature.
https://reach.nrnb-docker.ucsd.edu
GNU Lesser General Public License v3.0
4 stars 4 forks source link

Add Links for Identifiers in Details Panel #10

Closed cannin closed 4 years ago

cannin commented 5 years ago

Primarily the Details section will be linked to other websites. Each identifier is a namepace:id. The links for each namespace can be found here:

https://github.com/clulab/reach/blob/afff6776cf2449c6de1c16c79776a499e1f06dc6/main/src/main/scala/org/clulab/reach/grounding/ReachIMKBLookups.scala

Example:

http://identifiers.org/uniprot/P55851

RohitChattopadhyay commented 5 years ago

@cannin In the file you linked to, for namespace be , baseURL is a GitHub repository (Ref ) Also, the baseURL is permanently redirected. So should I use the URL of the new repository?

cannin commented 5 years ago

For taxonomy, use: http://identifiers.org/taxonomy/ID, example: http://identifiers.org/taxonomy/9606

cannin commented 5 years ago

@cannin In the file you linked to, for namespace be , baseURL is a GitHub repository (Ref ) Also, the baseURL is permanently redirected. So should I use the URL of the new repository?

Yes, use: https://github.com/sorgerlab/famplex

cannin commented 5 years ago

@RohitChattopadhyay can you underline the identifiers that have links?

RohitChattopadhyay commented 5 years ago

@RohitChattopadhyay can you underline the identifiers that have links?

image Requesting feedback

cannin commented 5 years ago

I needed to put more detail. No not that link (remove the CHEBI underline). Links in the sentences the words in red and blue.

RohitChattopadhyay commented 5 years ago

image Added colums mentioned in #39 Requesting feedback

RohitChattopadhyay commented 5 years ago

BaseUrls are set in file components/identifierDetails.js#L13 Identifier link is done in file components/identierDetails.js#L38