owltools.io
Class ChadoGraphClosureRenderer

java.lang.Object
  extended by owltools.io.AbstractClosureRenderer
      extended by owltools.io.ChadoGraphClosureRenderer
All Implemented Interfaces:
GraphRenderer

public class ChadoGraphClosureRenderer
extends AbstractClosureRenderer
implements GraphRenderer

implements a graph closure writer suitable for imports into Chado; in particular: (i) all identifiers are translated to OBO IDs (ii) relationship chains of length > 1 are ignored (iii) SUBCLASS is written as is_a, and only existential restrictions are emitted

Author:
cjm

Field Summary
 boolean isChain
           
 
Fields inherited from class owltools.io.AbstractClosureRenderer
graph, prettyPrinter, stream
 
Constructor Summary
ChadoGraphClosureRenderer(PrintStream stream)
           
ChadoGraphClosureRenderer(String file)
           
 
Method Summary
 void render(OWLGraphEdge e)
           
 
Methods inherited from class owltools.io.AbstractClosureRenderer
getStream, nl, print, print, render, sep, setStream, setStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface owltools.io.GraphRenderer
render
 

Field Detail

isChain

public boolean isChain
Constructor Detail

ChadoGraphClosureRenderer

public ChadoGraphClosureRenderer(PrintStream stream)

ChadoGraphClosureRenderer

public ChadoGraphClosureRenderer(String file)
Method Detail

render

public void render(OWLGraphEdge e)
Specified by:
render in class AbstractClosureRenderer


Copyright © 2010-2012. All Rights Reserved.