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 @context attribute to CX2 networks #13

Open
pkalita-lbl opened this issue Oct 3, 2024 · 0 comments
Open

Add @context attribute to CX2 networks #13

pkalita-lbl opened this issue Oct 3, 2024 · 0 comments
Assignees

Comments

@pkalita-lbl
Copy link
Contributor

Add an @context network attribute in the CX2 conversion process. This will allow IDs to be linked to external resources in NDEx. See https://www.ndexbio.org/viewer/networks/54a9a35b-1e5f-11e8-b939-0ac135e8bacf for an example of a network with a @context attribute. The format appears to be a JSON-encoded string, like so:

"{\"signor\": \"http://signor.uniroma2.it/relation_result.php?id=\", \"BTO\": \"http://identifiers.org/bto/BTO:\", \"uniprot\": \"http://identifiers.org/uniprot/\", \"pubmed\": \"http://identifiers.org/pubmed/\", \"CID\": \"http://identifiers.org/pubchem.compound/\", \"SID\": \"http://identifiers.org/pubchem.substance/\", \"chebi\": \"http://identifiers.org/chebi/CHEBI:\", \"hgnc.symbol\": \"http://identifiers.org/hgnc.symbol/\"}"

JSON-decoded:

{
  signor: 'http://signor.uniroma2.it/relation_result.php?id=',
  BTO: 'http://identifiers.org/bto/BTO:',
  uniprot: 'http://identifiers.org/uniprot/',
  pubmed: 'http://identifiers.org/pubmed/',
  CID: 'http://identifiers.org/pubchem.compound/',
  SID: 'http://identifiers.org/pubchem.substance/',
  chebi: 'http://identifiers.org/chebi/CHEBI:',
  'hgnc.symbol': 'http://identifiers.org/hgnc.symbol/'
}
@pkalita-lbl pkalita-lbl self-assigned this Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

1 participant