This repository was archived by the owner on Jan 19, 2026. It is now read-only.
forked from TomSmithCGAT/SetUp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcgat
More file actions
90 lines (61 loc) · 2.35 KB
/
Copy pathcgat
File metadata and controls
90 lines (61 loc) · 2.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
-- 25 JAN 17 --
Following the instructions from the cgatwiki on how to install cgat code collection:
https://cgatwiki.anat.ox.ac.uk/xwiki/bin/view/CGAT/Conda
--> 'Install the development version of the CGAT code (from GitHub)'
# add cgat channel
> conda config --add channels cgat
> source activate cgat_test
> conda install cgat-devel
Run into following error:
(cgat_test) tss38@workstation-tom:~/git_repos$ lsb_release -a
bash: lsb_release: command not found
Looks like I need to install lsb_release:
Following instructions here:
https://www.unixmen.com/linux-troubleshooting-fix-lsb_release-command-found-centos/
> sudo yum provides */lsb_release
> sudo yum install redhat-lsb-core
> sudo yum install redhat-lsb
--> No error with repeat command:
> conda install cgat-devel
Install cgat code:
> python setup.py develop
Got error when running python:
> import GTF as GTF
ImportError: No module named 'bx'
No bx-python 3.5 available on conda. So...
> pip install bx-python
CGATPipelines:
> git clone git@github.com:CGATOxford/CGATPipelines.git
> python setup.py develop
Runs into error:
error: ggplot 0.6.8 is installed but ggplot>=0.9.3 is required by {'CGATReport'}
Resolve with:
> conda install ggplot=0.11.5
-- 26 JAN 17 --
Next error:
./rpy/rinterface/_rinterface.c:80:31: fatal error: readline/readline.h: No such file or directory
#include <readline/readline.h>
Resolve with:
> yum install readline-devel
----------
Next error:
Error: pg_config executable not found.
Resolve with:
> sudo yum install postgresql-devel
----------
Next error:
alignlib_lite.cpp:288:32: fatal error: boost/shared_ptr.hpp: No such file or directory
#include "boost/shared_ptr.hpp"
Resolve with :
> sudo yum install boost-devel
NO MORE ERRORS!!!
-- 27 JAN 17 - CGATREPORT --
cgatreport throws an error with the ggplot version specified in the
cgat-devel conda environment:
When running make build_report with readqc pipeline:
Exception occurred:
File "/home/FILESERVER5/proteomics/tss38/anaconda3/lib/python3.5/site-packages/setuptools-27.2.0-py3.5.egg/pkg_resources/__init__.py", line 859, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.VersionConflict: (ggplot 0.6.8 (/home/FILESERVER5/proteomics/tss38/anaconda3/lib/python3.5/site-packages), Requirement.parse('ggplot>=0.9.3'))
resolved with (conda-forge update):
> conda install ggplot=0.11.5