Full API Documentation¶
WALDO : WHERE PROTEINS ARE
This is a Python library to collect information about proteins from online databases (Uniprot, MGI, ...) and expose it as an easy to use Python library.
-
waldo.
translate
(name, input_namespace, output_namespace, session=None)¶ name = translate(name, input_namespace, output_namespace, session={backend.create_session()})
Translate from one namespace to another.
- name : str
- input name
- input_namespace : str
- namespace to translate from (must be a known namespace)
- output_namespace : str
- namespace to translate to (must be a known namespace)
- session : SQLAlchemy sesion object
- SQLAlchemy session to use (default: call backend.create_session())
- name : str or None
- result of translation or None if not found.