该项目由美国国家科学基金会(NSF)、美国国家人类基因组研究所(NHGRI)、哈克生命科学研究所(The Huck Institutes of the Life Sciences)、宾州州立大学网络科学研究所(The Institute for CyberScience at Penn State),以及约翰霍普金斯大学(Johns Hopkins University)提供支持,是目前生物医学研究领域最受欢迎的在线生物信息分析工具之一。
The Galaxy Project is supported in part by NSF, NHGRI, The Huck Institutes of the Life Sciences, The Institute for CyberScience at Penn State, and Johns Hopkins University.
After almost 3 years of work and more than 100 pull requests, we are proud to announce the Beta-stage support for running Galaxy under Python 3. Lint, unit, API, framework, integration and Selenium tests all pass, time for you to give it a try and report any bug you find!
从 release_19.05 起,Galaxy 对 Python 3 提供了比较好的支持(Galaxy is currently supported on Python 2.7 and >=3.5),在本教程我们将以 release_19.09 最新版本的 Galaxy 为基础,进行一系列安装、部署和简单开发说明。
Galaxy is currently supported on Python 2.7 and >=3.5 . To run Galaxy, please install a supported Python version. If a supported version is already installed but is not your default, https://galaxyproject.org/admin/python/ contains instructions on how to force Galaxy to use a different version.
$ sh run.sh Initializing tool-data/shared/ucsc/builds.txt from builds.txt.sample Initializing tool-data/shared/ucsc/manual_builds.txt from manual_builds.txt.sample Initializing static/welcome.html from welcome.html.sample Creating Python virtual environment for Galaxy: .venv To avoid this, use the --no-create-venv flag or set$GALAXY_VIRTUAL_ENV to an existing environment before starting Galaxy. Fetching https://files.pythonhosted.org/packages/source/v/virtualenv/virtualenv-16.1.0.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 100 1930k 100 1930k 0 0 18308 0 0:01:47 0:01:47 --:--:-- 59849 Verifying /tmp/galaxy-virtualenv-1mvK4M/virtualenv-16.1.0.tar.gz checksum is f899fafcd92e1150f40c8215328be38ff24b519cd95357fa6e78e006c7638208 Using base prefix '/usr/local/software/python-3.7' New python executable in /galaxy-dist/v-19.09/galaxy/.venv/bin/python Installing setuptools, pip, wheel... done. Activating virtualenv at .venv Looking in indexes: https://wheels.galaxyproject.org/simple, https://pypi.python.org/simple Downloading https://files.pythonhosted.org/packages/4f/b5/3ea9ae3d1096b9ff31e8f1846c47d49f3129a12464ac0a73b602de458298/adal-1.2.2-py2.py3-none-any.whl (53kB) 100% |████████████████████████████████| 61kB 24kB/s ...... galaxy.web_stack INFO 2019-09-11 17:08:46,889 [p:11902,w:1,m:0] [MainThread] Galaxy server instance 'main.web.1' is running Starting server in PID 11902. serving on http://localhost:8080 galaxy.model.database_heartbeat DEBUG 2019-09-11 17:08:46,921 [p:11902,w:1,m:0] [database_heartbeart_main.web.1.thread] main.web.1 is config watcher
注意与提示:
使用 Python 3 安装 Galaxy,需要保证 SSL 模块正常可用。
如果在第一次启动 Galaxy 过程中出现如下报错,参考后面的方法进行解决。
$ sh run.sh ...... During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/galaxy-dist/v-19.09/galaxy/.venv/bin/nodeenv", line 11, in sys.exit(main()) File "/galaxy-dist/v-19.09/galaxy/.venv/lib/python3.7/site-packages/nodeenv.py", line 1076, in main create_environment(env_dir, opt) ...... File "/usr/local/software/python-3.7/lib/python3.7/urllib/request.py", line 1319, in do_open raise URLError(err) urllib.error.URLError: local issuer certificate (_ssl.c:1056)>