|
Cytoscape 2.8.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcytoscape.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
|
protected static String |
TERM_TAG
|
| 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 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ONTOLOGY_DAG_ROOT
public static final String OBO_PREFIX
protected static final String TERM_TAG
| 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 OntologyReaderIOExceptionpublic Map<String,String> getHeader()
getHeader in interface OntologyReaderpublic CyAttributes getTermsAttributes()
public CyNetwork getDag()
getDag in interface OntologyReader
|
Cytoscape 2.8.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||