def get_standard_ids_by_id(self, _id):
    'Get chebi_id, pubmed_id, and kegg_id from\n        database specific id.\n        \n        Args:\n            _id (:obj:`str`): Database specific ID.\n\n        Return:\n            (:obj:`dict`): Dictionary containing the information.\n        '
    if (self.collection_str == 'ecmdb'):
        db_id = 'm2m_id'
    else:
        db_id = 'ymdb_id'
    query = {db_id: _id}
    doc = self.collection.find_one(filter=query)
    if (doc is None):
        return {}
    else:
        return doc
Get chebi_id, pubmed_id, and kegg_id from
database specific id.

Args:
    _id (:obj:`str`): Database specific ID.

Return:
    (:obj:`dict`): Dictionary containing the information.
def get_standard_ids_by_id(self, _id):
    'Get chebi_id, pubmed_id, and kegg_id from\n        database specific id.\n        \n        Args:\n            _id (:obj:`str`): Database specific ID.\n\n        Return:\n            (:obj:`dict`): Dictionary containing the information.\n        '
    if (self.collection_str == 'ecmdb'):
        db_id = 'm2m_id'
    else:
        db_id = 'ymdb_id'
    query = {db_id: _id}
    doc = self.collection.find_one(filter=query)
    if (doc is None):
        return {}
    else:
        return doc