Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/a-r-j/drugtranslator

R package for translating between drug identifiers using the Chemical Translation Service (CTS)
https://github.com/a-r-j/drugtranslator

biomedical-data-science biomedical-informatics chemical chemical-identifiers chemical-translation-service cheminformatics chemistry drug-development drug-discovery drug-repurposing identifiers r r-package

Last synced: 5 days ago
JSON representation

R package for translating between drug identifiers using the Chemical Translation Service (CTS)

Awesome Lists containing this project

README

        

# DrugTranslatoR
R package for translating between drug identifiers using the [Chemical Translation Service (CTS)](https://cts.fiehnlab.ucdavis.edu/)

# Details
Simple R wrapper to send HTTP requests to the CTS server.

# Installation
```
# install devtools if required
if (!requireNamespace("devtools")) install.packages("devtools")
# then install DrugTranslatoR
devtools::install_github("a-r-j/DrugTranslatoR")
```

# Usage
`translateDrugID(from, to, query)` - Translate between different drug/chemical identifiers
`sourceIDs()` - Fetch list of valid identifies that can be translated from
`targetIDs()` - Fetch list of valid identifiers that can be translated to
`expandChemicalFormula(formula)` - Expands a compact chemical formula
`InChIKey2MolDef(inchikey)` - Converts InChIKey to molecule definition (MDL/SDF)
`countBiologicalIDs(inchikey)` - Counts biological IDs for InChIKey
`scoredInChiKeys(from, query, algorithm)` - Gets a list of scored InChIKeys

# Reference:
> The Chemical Translation Service—a web-based tool to improve standardization of metabolomic reports. Gert Wohlgemuth, Pradeep Kumar Haldiya, Egon Willighagen, Tobias Kind, Oliver Fiehn. Bioinformatics, Volume 26, Issue 20, 15 October 2010, Pages 2647–2648, https://doi.org/10.1093/bioinformatics/btq476