uk.ac.ebi.ep.mm.app
Class CompoundsDAOImpl
java.lang.Object
uk.ac.ebi.ep.mm.app.DatabaseResources
uk.ac.ebi.ep.mm.app.CompoundsDAOImpl
- All Implemented Interfaces:
- ICompoundsDAO
public class CompoundsDAOImpl
- extends DatabaseResources
- implements ICompoundsDAO
This class is to retrieve compounds from chebi database and write them to the mega mapper
- Author:
- joseph
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompoundsDAOImpl
public CompoundsDAOImpl(String dbConfig)
getCHEBI_Compounds
public void getCHEBI_Compounds()
- Specified by:
getCHEBI_Compounds
in interface ICompoundsDAO
getValueOfEnum
public static <T extends Enum<T>> T getValueOfEnum(Class<T> enumeration,
String name)
computeChebiEntry
public Entry computeChebiEntry(String chebiAccession,
String entryName)
computeUniprotEntry
public Entry computeUniprotEntry(String reference_id,
String reference_name)
computeXref
public XRef computeXref(Entry chebiEntry,
Entry uniprotEntry,
String location_in_ref)
Copyright © 2012 EMBL-EBI. All Rights Reserved.