Class GeneNamesParser
- java.lang.Object
-
- org.biojava.nbio.genome.parsers.genename.GeneNamesParser
-
public class GeneNamesParser extends Object
Parses 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 String
DEFAULT_GENENAMES_URL
-
Constructor Summary
Constructors Constructor Description GeneNamesParser()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<GeneName>
getGeneNames()
static List<GeneName>
getGeneNames(InputStream inStream)
Get a list of GeneNames from an input stream.static void
main(String[] args)
parses a file from the genenames website
-
-
-
Field Detail
-
DEFAULT_GENENAMES_URL
public static final String DEFAULT_GENENAMES_URL
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GeneNamesParser
public GeneNamesParser()
-
-
Method Detail
-
main
public static void main(String[] args)
parses a file from the genenames website- Parameters:
args
-
-
getGeneNames
public static List<GeneName> getGeneNames() throws IOException
- Throws:
IOException
-
getGeneNames
public static List<GeneName> getGeneNames(InputStream inStream) throws IOException
Get a list of GeneNames from an input stream.- Parameters:
inStream
-- Returns:
- list of geneNames
- Throws:
IOException
-
-