|
Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cytoscape.data.ontology.readers.OBOFlatFileReader
public class OBOFlatFileReader
OBO file reader.
This is a general OBO (Open Biomedical Ontologies:
http://obo.sourceforge.net/) flatfile reader.
In Cytoscape, This will be used mainly for reading gene ontology. However, it
is compatible with all files written in OBO format.
OBO files are available at:
http://obo.sourceforge.net/cgi-bin/table.cgi
Field Summary | |
---|---|
static String |
OBO_PREFIX
|
static String |
ONTOLOGY_DAG_ROOT
|
Constructor Summary | |
---|---|
OBOFlatFileReader(InputStream oboStream,
String name)
|
|
OBOFlatFileReader(String fileName,
String name)
|
|
OBOFlatFileReader(URL dataSource,
String name)
|
Method Summary | |
---|---|
CyNetwork |
getDag()
DOCUMENT ME! |
Map<String,String> |
getHeader()
DOCUMENT ME! |
CyAttributes |
getTermsAttributes()
DOCUMENT ME! |
void |
readOntology()
DOCUMENT ME! |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ONTOLOGY_DAG_ROOT
public static final String OBO_PREFIX
Constructor Detail |
---|
public OBOFlatFileReader(String fileName, String name) throws FileNotFoundException
fileName
-
FileNotFoundException
public OBOFlatFileReader(URL dataSource, String name) throws IOException
dataSource
-
IOException
public OBOFlatFileReader(InputStream oboStream, String name)
oboStream
- name
- Method Detail |
---|
public void readOntology() throws IOException
OntologyReader
readOntology
in interface OntologyReader
IOException
public Map<String,String> getHeader()
getHeader
in interface OntologyReader
public CyAttributes getTermsAttributes()
public CyNetwork getDag()
getDag
in interface OntologyReader
|
www.cytoscape.org | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |