This library is used for generating hierarchical (using Sugiyama Layout) and Multi-level layout(MLL) for the results of annotation service. It takes a JSON file representing a graph , parses the JSON into an OGDF [Graph](https://ogdf.uos.de/doc /classogdf_1_1_graph .html ) representation. It then decomposes the graph into two subgraph, GO and Non GO. It then applies hierarchial layout for the GO subgraph and MLL for the non-GO subgraph.
-
- Download the latest version from here and extract the archive
- Run the following to build the library:
$ cd OGDF $ cmake . $ make -j4 && make install
-
- Download the source code from here
- Extract it and copy the
include/rapidjson
directory to the system include directory (e.g/usr/local /include
)
-
- Install pybind11 using pip
$ pip install pybind11
- Install pybind11 using pip
$ git clone https://github.com/rejuve-bio/annotation_graph
$ cd annotation_graph
$ mkdir build && cd build
$ cmake ..
$ make
$ make install