public class BiomartMapping extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SEPARATOR
The separator used to separate line contents.
|
Constructor and Description |
---|
BiomartMapping()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getDataset(String assembly)
Returns the Ensembl dataset for the given assembly.
|
void |
loadMapping(File ensemblFile,
File ensemblGenomeFile)
Loads the species mapping from a file.
|
public static final String SEPARATOR
public void loadMapping(File ensemblFile, File ensemblGenomeFile) throws IOException
ensemblFile
- the Ensembl BioMart fileensemblGenomeFile
- the Ensembl genome BioMart fileIOException
- exception thrown whenever an error occurred while
reading the file.Copyright © 2016. All rights reserved.