Class AnnotateDB
java.lang.Object
de.uni_halle.informatik.biodata.mp.db.adb.AnnotateDB
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
AnnotateDB
public AnnotateDB()
-
-
Method Details
-
init
-
init
-
getAnnotations
Retrieves a set of annotated URLs based on the type and BiGG ID provided. This method queries the database to find matching annotations and constructs URLs using the retrieved data.- Parameters:
type
- The type of the BiGG ID, which can be either a metabolite or a reaction.biggId
- The BiGG ID for which annotations are to be retrieved. The ID may be modified if it starts with specific prefixes or ends with an underscore.- Returns:
- A sorted set of URLs that are annotations for the given BiGG ID. If the type is neither metabolite nor reaction, or if an SQL exception occurs, an empty set is returned.
- Throws:
SQLException
-