Description Usage Arguments Details Note Examples
Convert KEGG identifiers to/from outside identifiers.
1 2 |
target_db |
string. The database convert to. |
source-db |
string. The database convert from. |
dbentries |
string/char array. The IDs of entry we want to convert. |
When converting from database to database,
(target_db, source_db) = (kegg_db, outside_db) | (outside_db, kegg_db)
.
For gene identifiers: kegg_db = org, org = KEGG organism code or T number,
outside_db = ncbi-proteinid | ncbi-geneid | uniprot
.
For chemical substance identifiers: kegg_db = drug | compound | glycan
outside_db = pubchem | chebi
.
When converting entries to target_db, For gene identifiers:
<dbentries> = database entries involving the following <database>,
<database> = <org> | genes | ncbi-proteinid | ncbi-geneid | uniprot,
<org> = KEGG organism code or T number
For chemical substance identifiers:
<dbentries> = database entries involving the following <database>
<database> = drug | compound | glycan | pubchem | chebi
The database name "genes" may be used only in the second form (convert entries to target_db).
1 2 3 4 5 6 7 8 9 10 11 12 | # conversion from NCBI GeneID to KEGG ID for E. coli genes
gene_E.coli = keggConv('eco', 'ncbi-geneid')
# opposite direction
gene_E.coli = keggConv('ncbi-geneid', 'eco')
# conversion from KEGG ID to NCBI ProteinID
keggConv('ncbi-proteinid', 'hsa:10458+ece:Z5100')
# conversion from NCBI GeneID to KEGG ID when the organism code is not known
keggConv('genes', 'ncbi-geneid:19831932')
# same as above
keggConv('lpn', 'ncbi-geneid:19831932')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.