Class ContextGenerator
- java.lang.Object
-
- de.julielab.jules.ae.genemapping.index.ContextGenerator
-
public class ContextGenerator extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ContextGenerator(java.lang.String resourcesDir, java.lang.String db)constructor which creates semantic context index in the specified directory on the disk file paths are hard-coded due to size issues
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetContext(java.lang.String id)Builds the semantic context for a given Gene ID
-
-
-
Constructor Detail
-
ContextGenerator
public ContextGenerator(java.lang.String resourcesDir, java.lang.String db) throws java.io.FileNotFoundException, java.io.IOExceptionconstructor which creates semantic context index in the specified directory on the disk file paths are hard-coded due to size issues- Parameters:
resourcesDir- path to resources directorydb- type of id (i.e. either "gene" or "protein")- Throws:
java.io.FileNotFoundExceptionjava.io.IOException
-
-