ChemicalToolBoX can be installed on all common unix systems. However, it is developed on Linux and I don't have access to OS X. You are welcome to help improving this documentation, just contact me.
Prerequisites:
* Python 2.6 or above * standard C compiler, C++ and Fortran compiler * Autotools * CMake * cairo development files (used for PNG depictions) * python development files * Java Runtime Environment (JRE, used by OPSIN and NPLS)
Clone the latest Galaxy platform:
hg clone https://https://bitbucket.org/galaxy/galaxy-central/
Navigate to the galaxy-central folder and update it:
cd ~/galaxy-central hg pull hg update
Create folders for toolshed and dependencies:
mkdir ~/shed_tools mkdir ~/galaxy-central/tool_deps
Create configuration file:
cp ~/galaxy-central/universe_wsgi.ini.sample ~/galaxy-central/universe_wsgi.ini
Open universe_wsgi.ini and change the dependencies directory:
LINUX: gedit ~/galaxy-central/universe_wsgi.ini OS X: open -a TextEdit ~/galaxy-central/universe_wsgi.ini
Search for tool_dependency_dir = None and change it to tool_dependency_dir = ./tool_deps
Remove the hash in front of tool_config_file and tool_path
(Re-)Start the galaxy daemon:
GALAXY_RUN_ALL=1 sh run.sh --stop-daemon GALAXY_RUN_ALL=1 sh run.sh --daemon
After launching galaxy is accessible via the browser at http://localhost:8080/.
To improve the overall performance of NumPy you need to disable CPU throttling:
cpufreq-selector -g performance
Register a new account
Generate an API Key
Run the installation script:
python ./scripts/api/install_tool_shed_repositories.py --api YOUR_API_KEY -l http://localhost:8080 --url http://testtoolshed.g2.bx.psu.edu/ -o bgruening -r 2c9d1a52824d --name chemicaltoolbox --tool-deps --repository-deps --panel-section-name ChemicalToolBoX
JMol Editor needs be run on a webserver, this is how to setup the server:
copy the directory jmoleditor from /galaxytools/chemicaltoolbox/data_source/ into your Galaxy Root directory
cp -a ~/galaxytools/chemicaltoolbox/data_source/jmoleditor/ ~/galaxy-central/
launch the webserver
python -m SimpleHTTPServer &
Donec libero libero, bibendum non condimentum ac, ullamcorper at sapien.\ Duis feugiat urna vel justo cursus facilisis. Vivamus ligula dui, convalli\ s a varius vitae, facilisis eget magna.