Class BioMartEnsemblNcbiObjectGeneratorTest
java.lang.Object
ubic.gemma.core.loader.util.biomart.BioMartEnsemblNcbiObjectGeneratorTest
Class to test BioMartEnsemblNcbiObjectGeneration. Simple class but there is some logic connected to the many to many
relationship between ensembl genes and entrez genes and map manipulation. Using awk on the file validate the numbers.
- Author:
- ldonnison
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidTests that given a taxon biomart file a BioMartEnsembleNcbi can be returned and that the genes are correctly mapped.
-
Constructor Details
-
BioMartEnsemblNcbiObjectGeneratorTest
public BioMartEnsemblNcbiObjectGeneratorTest()
-
-
Method Details
-
setUp
- Throws:
URISyntaxExceptionIOException
-
testGenerate
Tests that given a taxon biomart file a BioMartEnsembleNcbi can be returned and that the genes are correctly mapped. Could be done through parser but thought do a quick test here. AWk commands are given to help give the counts to check validity of the numbers- Throws:
IOException
-