TissueNets HowToBuild

From FarsightWiki
(Difference between revisions)
Jump to: navigation, search
 
(17 intermediate revisions by one user not shown)
Line 1: Line 1:
In order to use the TissueNets program with its python GUI, we need to  
+
== TissueNets System ==
 +
 
 +
In order to use the programs included in the TissueNets system with its python GUI, we need to have the following programs:
  
 
{| border="1"
 
{| border="1"
 
|- bgcolor="#abcdef"
 
|- bgcolor="#abcdef"
! Module Name !! What it does !! Contributors !! Location!!What to Build
+
! Module Name !! What it does !! Location!! What to Build
 
|-
 
|-
 
| TissueNets
 
| TissueNets
| Displays biological networks, Creates Cluto files
+
| Main TissueNets module, Displays biological networks, Creates Cluto files
| tissuenets//tissuenets  
+
| tissuenets/tissuenets  
| (tissuenets.cpp)
+
| tissuenets.cpp
| [http://farsight-toolkit.org/mw/scripts/download.php?downloadType=Modules&operatingSystem=win32&downloadFile=register_pair.exe&submit=Download win32]  [http://farsight-toolkit.org/mw/scripts/download.php?downloadType=Modules&operatingSystem=win64&downloadFile=register_pair.exe&submit=Download win64]
+
|-
|[http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0]
+
| read_cell_types
 +
| Extracts all cell types from the input file dynamically
 +
| tissuenets/read_cell_types
 +
| read_cell_types.cpp
 +
|-
 +
| readtextfile
 +
| Reads text file and converts it into the XML that could be used by the main module
 +
| tissuenets/readtextfile
 +
| readtextfile.cpp
 +
|-
 +
| defineNodes
 +
| Creates Nodes of the network
 +
| tissuenets/XQUERY-programs
 +
| defineNodes.XQUERY (no need to build)
 +
|-
 +
| kneighbor
 +
| Creates links based on k-nearest neighbor algorithm (with exact solution)
 +
| tissuenets/XQUERY-programs
 +
| kneighbor.XQUERY (no need to build)
 +
|-
 +
| defineNetwork
 +
| Combines nodes and links and forms a network in [[http://www.cs.rpi.edu/~puninj/XGMML/ XGMML]] form
 +
| tissuenets/XQUERY-programs
 +
| defineNetwork.XQUERY (no need to build)
 +
|-
 +
| defineHistogram
 +
| Creates histogram data by using the given feature name and the input file (which is formatted in XML)
 +
| tissuenets/XQUERY-programs
 +
| defineHistogram.XQUERY (no need to build)
 +
|-
 +
| BioNet
 +
| This is the older version of the main TissueNets module. We use it to create minimum spanning trees (will be removed in the near future)
 +
| tissuenets/
 +
| bionet.cpp
 
|-
 
|-
| [[Registration_page#register_joint|register_joint]]
+
| tissuenets-py
| 3D joint Multi-image Registration
+
| python GUI for all the programs in the TissueNets system.
| [[User:Tsaic|Charlene Tsai]]
+
| tissuenets/python-GUI-and-other-windows-programs
|Y
+
| tissuenets-py.py (no need to build)
|Y
+
|N
+
 
|}
 
|}
  
4- Build BioNet (requires libxml2\include)
+
== How to Run XQUERY Programs ==
  
5- In order to run the XQUERY programs:
+
* Install Java
Install Java
+
* Download and install Saxon-B 9.1 from:
Download and install Saxon-B 9.1 from:
+
http://saxon.sourceforge.net/     (Click on “Download for Java")
http://saxon.sourceforge.net/
+
Click on “Download for Java(2.0 Mbytes)
+
  
Note that I included the required Jar files (saxon9 and others) in bionet directory. They should be sufficient to run XQUERY programs.
+
Note that we have included the required Jar files (saxon9 and others) in \trunk\tissuenets\python-GUI-and-other-windows-programs directory. They should be sufficient to run XQUERY programs.
  
DO NOT install Saxon-SA 9.1 instead. It is NOT OPEN-SOURCE
+
(DO NOT install Saxon-SA 9.1 instead. It is NOT OPEN-SOURCE.)
  
6- Set the CLASSPATH accordingly so that the required jar files can be found. (If the Jar files are in bionet directory, including bionet in the CLASSPATH will do the job
+
* Set the CLASSPATH accordingly so that the required jar files can be found. (If the Jar files are in the current directory, including it in the CLASSPATH will do the job)
  
7- Install Python 2.6
+
* Download and Install Python from http://www.python.org/
  
TO RUN BioNet
+
== To run TissueNets with its Python Interface ==
  
1- Change directory to bionet
+
* Change the directory to where you have all the files
2- Type :  
+
* Type : python tissuenets-py.py
python bionet.py
+

Latest revision as of 17:46, 25 August 2009

TissueNets System

In order to use the programs included in the TissueNets system with its python GUI, we need to have the following programs:

Module Name What it does Location What to Build
TissueNets Main TissueNets module, Displays biological networks, Creates Cluto files tissuenets/tissuenets tissuenets.cpp
read_cell_types Extracts all cell types from the input file dynamically tissuenets/read_cell_types read_cell_types.cpp
readtextfile Reads text file and converts it into the XML that could be used by the main module tissuenets/readtextfile readtextfile.cpp
defineNodes Creates Nodes of the network tissuenets/XQUERY-programs defineNodes.XQUERY (no need to build)
kneighbor Creates links based on k-nearest neighbor algorithm (with exact solution) tissuenets/XQUERY-programs kneighbor.XQUERY (no need to build)
defineNetwork Combines nodes and links and forms a network in [XGMML] form tissuenets/XQUERY-programs defineNetwork.XQUERY (no need to build)
defineHistogram Creates histogram data by using the given feature name and the input file (which is formatted in XML) tissuenets/XQUERY-programs defineHistogram.XQUERY (no need to build)
BioNet This is the older version of the main TissueNets module. We use it to create minimum spanning trees (will be removed in the near future) tissuenets/ bionet.cpp
tissuenets-py python GUI for all the programs in the TissueNets system. tissuenets/python-GUI-and-other-windows-programs tissuenets-py.py (no need to build)

How to Run XQUERY Programs

  • Install Java
  • Download and install Saxon-B 9.1 from:

http://saxon.sourceforge.net/ (Click on “Download for Java")

Note that we have included the required Jar files (saxon9 and others) in \trunk\tissuenets\python-GUI-and-other-windows-programs directory. They should be sufficient to run XQUERY programs.

(DO NOT install Saxon-SA 9.1 instead. It is NOT OPEN-SOURCE.)

  • Set the CLASSPATH accordingly so that the required jar files can be found. (If the Jar files are in the current directory, including it in the CLASSPATH will do the job)

To run TissueNets with its Python Interface

  • Change the directory to where you have all the files
  • Type : python tissuenets-py.py
Personal tools