-
Notifications
You must be signed in to change notification settings - Fork 1
/
ChIPseeqer.spec
73 lines (56 loc) · 1.99 KB
/
ChIPseeqer.spec
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
Name: ChIPseeqer
Version: 2.0
Release: 1%{?dist}
Summary: ChIP-seq dataset analysis
Group: Applications/Engineering
License: GPLv3
URL: http://physiology.med.cornell.edu/faculty/elemento/lab/chipseq.shtml
Source0: http://physiology.med.cornell.edu/faculty/elemento/lab/CS_files/%{name}-%{version}.tar.gz
#Source1: http://physiology.med.cornell.edu/faculty/elemento/lab/CS_files/hg18.tar.gz
#Source2: http://physiology.med.cornell.edu/faculty/elemento/lab/CS_files/Encode.tar.gz
Patch0: %{name}-qmake-qt4.patch
Patch1: %{name}-qmake-qt4-Makefile.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ncurses-devel
BuildRequires: pcre-devel
BuildRequires: poppler-qt4-devel
BuildRequires: qt-devel >= 4.7.2
BuildRequires: perl-ExtUtils-MakeMaker
#Requires: perl-IO-Zlib
%description
ChIPseeqer is a computational framework for the analysis of ChIP-seq datasets.
It includes quality control tools for the raw data and peak detection.
Moreover, it offers: (1) Gene-level annotation of peaks, (2) Pathways
enrichment analysis, (3) Regulatory element analysis, using either a de novo
approach, known or user-defined motifs, (4) Nongenic peak annotation (repeats,
CpG islands, duplications), (5) Conservation analysis, (6) Clustering analysis,
(7) Visualization, (8) Integration and comparison across different ChIP-seq
experiments.
%prep
%setup -q
%patch0 -p1 -b .%{name}-qmake-qt4.patch
%patch1 -p1 -b .%{name}-qmake-qt4-Makefile.patch
%build
cd src
#make %{?_smp_mflags}
make -f Makefile.init
make CFLAGS="%{optflags}"
make dist CFLAGS="%{optflags}"
make tools CFLAGS="%{optflags}"
make gui CFLAGS="%{optflags}"
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_bindir}
cd dist
install -m 0755 ChIP* %{buildroot}%{_bindir}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc README LICENCE
%{_bindir}/ChIP*
%changelog
* Thu Aug 4 2011 Adam Huffman <[email protected]> - 2.0-1
- initial version
- add missing reqs. for perl-IO-Zlib
- patch for qmake-qt4