Class GeneNamesParser
- java.lang.Object
-
- org.biojava.nbio.genome.parsers.genename.GeneNamesParser
-
public class GeneNamesParser extends java.lang.ObjectParses a file from the www.genenames.org website that contains a mapping of human gene names to other databases- Author:
- Andreas Prlic
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDEFAULT_GENENAMES_URL
-
Constructor Summary
Constructors Constructor Description GeneNamesParser()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<GeneName>getGeneNames()static java.util.List<GeneName>getGeneNames(java.io.InputStream inStream)Get a list of GeneNames from an input stream.static voidmain(java.lang.String[] args)parses a file from the genenames website
-
-
-
Field Detail
-
DEFAULT_GENENAMES_URL
public static final java.lang.String DEFAULT_GENENAMES_URL
- See Also:
- Constant Field Values
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
parses a file from the genenames website- Parameters:
args-
-
getGeneNames
public static java.util.List<GeneName> getGeneNames() throws java.io.IOException
- Throws:
java.io.IOException
-
getGeneNames
public static java.util.List<GeneName> getGeneNames(java.io.InputStream inStream) throws java.io.IOException
Get a list of GeneNames from an input stream.- Parameters:
inStream-- Returns:
- list of geneNames
- Throws:
java.io.IOException
-
-