Package de.julielab.genemapper.index
Class ContextGenerator
- java.lang.Object
-
- de.julielab.genemapper.index.ContextGenerator
-
public class ContextGenerator extends Object
-
-
Constructor Summary
Constructors Constructor Description ContextGenerator(String resourcesDir, 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 StringgetContext(String id)Builds the semantic context for a given Gene ID
-
-
-
Constructor Detail
-
ContextGenerator
public ContextGenerator(String resourcesDir, String db) throws FileNotFoundException, IOException
constructor 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:
FileNotFoundExceptionIOException
-
-