Skip to content

Installation guide

Yu-Chun Chen (陳育群) edited this page Jul 23, 2017 · 5 revisions

Requirement

The system requires you have:

  1. Access right to Computer center (台灣國網中心)
  2. A Windows-based computer with administration access right

The whole installation process has two parts: 1) Computing Node computer center and 2) local installation

Part 1. Computer Center

  1. Standard configuration as Computer center (台灣國網中心)

  2. Upload the following files to your $HOME directory

    1. TCMAnalyzer2.py
    2. snap.py (Stanford's SNAP library https://snap.stanford.edu/ )
    3. snap.pyc (Stanford's SNAP library https://snap.stanford.edu/ )
  3. Install Python library (for Python 2.6 台灣國網中心)

     pip install --user argparse
     pip install --user json
     pip install --user unicodecsv
     pip install --user bitarray
    
  4. Upload metadata files to $HOME directory (please pick the file with latest date if multiple)

    1. metadata.DRUG.NAME.translation_shortform.20170625.tab
    2. metadata.DRUG.feature.TCM.summary.level123.QiFlavorMeri.20170621.csv
  5. Create a working directory under $HOME directory

    • you may have $HOME/incoming for example
    • just leave the working directory empty

Part 2. Local installation

  1. Standard installation of KNIME

  2. Standard installation of Python 2.7 (3.x does not work)

  3. Install Python library

     pip install pandas
     pip install numpyimport xml.etree.ElementTree as ET
     pip install networkx
     pip install grequests
     pip install json
     pip install urllib
     pip install unicodecsv
     pip install snap
     pip install requests
     pip install numpy
     pip install py2cytoscape
     pip install urllib
    
  4. Download, install and append klink.exe in the PATH variable

  5. Download all files in \src\LocalSetup

Clone this wiki locally