Package org.bridgedb.rdb
Class GdbProvider
- java.lang.Object
-
- org.bridgedb.rdb.GdbProvider
-
public class GdbProvider extends Object
Utility class that maintains a list of synonym databases and the species they apply to. This list can be read from a configuration file with on each line:species_latin_name[Tab]database_file_location
If a database applies to all species (e.g. metabolites), use "*" as species.
-
-
Constructor Summary
Constructors Constructor Description GdbProvider()GdbProvider(boolean transitive)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddGlobalGdb(IDMapper gdb)voidaddOrganismGdb(Organism organism, IDMapper gdb)static GdbProviderfromConfigFile(File f)static GdbProviderfromConfigFile(File f, boolean transitive)List<IDMapper>getGdbs(Organism organism)Deprecated.use getStack(organism) insteadSet<Organism>getOrganisms()IDMapperStackgetStack(Organism organism)voidremoveGlobalGdb(IDMapper gdb)voidremoveOrganismGdb(Organism organism, IDMapperRdb gdb)
-
-
-
Method Detail
-
removeOrganismGdb
public void removeOrganismGdb(Organism organism, IDMapperRdb gdb)
-
addGlobalGdb
public void addGlobalGdb(IDMapper gdb)
-
removeGlobalGdb
public void removeGlobalGdb(IDMapper gdb)
-
getGdbs
public List<IDMapper> getGdbs(Organism organism)
Deprecated.use getStack(organism) instead
-
getStack
public IDMapperStack getStack(Organism organism)
-
fromConfigFile
public static GdbProvider fromConfigFile(File f) throws IDMapperException, IOException, ClassNotFoundException
-
fromConfigFile
public static GdbProvider fromConfigFile(File f, boolean transitive) throws IDMapperException, IOException, ClassNotFoundException
-
-