-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMACS.spec
87 lines (66 loc) · 2.66 KB
/
MACS.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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
Name: MACS
Version: 1.4.1
Release: 2%{?dist}
Summary: Model-based Analysis for ChIP-Seq
Group: Applications/Engineering
License: Artistic 2.0
URL: http://liulab.dfci.harvard.edu/MACS/index.html
#Source now available on Github
#Source0: https://github.com/taoliu/MACS/tarball/v1.4.1
Source0: taoliu-MACS-v1.4.1-0-ge7c8efe.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel
%description
Next generation parallel sequencing technologies made chromatin
immunoprecipitation followed by sequencing (ChIP-Seq) a popular
strategy to study genome-wide protein-DNA interactions, while creating
challenges for analysis algorithms. We present Model-based Analysis of
ChIP-Seq (MACS) on short reads sequencers such as Genome Analyzer
(Illumina / Solexa). MACS empirically models the length of the
sequenced ChIP fragments, which tends to be shorter than sonication or
library construction size estimates, and uses it to improve the
spatial resolution of predicted binding sites. MACS also uses a
dynamic Poisson distribution to effectively capture local biases in
the genome sequence, allowing for more sensitive and robust
prediction. MACS compares favorably to existing ChIP-Seq peak-finding
algorithms, is publicly available open source, and can be used for
ChIP-Seq with or without control samples.
%prep
%setup -q -n taoliu-MACS-0bb3f3d
%build
%{__python} setup.py build
%install
rm -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
mkdir -p %{buildroot}/%{_mandir}/man1
install -m 0644 DEBIAN/macs.man %{buildroot}/%{_mandir}/man1/macs.1
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc README ChangeLog COPYING NEW_IN_MACS14 TODO
%{_mandir}/man1/macs.1.*
%{python_sitelib}/%{name}*
%{python_sitelib}/%{name}-%{version}-py*.egg*
%{_bindir}/macs14
%{_bindir}/eland*
%{_bindir}/sam2bed
%{_bindir}/wignorm
%changelog
* Sun Oct 9 2011 Adam Huffman <[email protected]> - 1.4.1-2
- remove EPEL-specific macros
- make files and manpages more specific
* Wed Jun 29 2011 Adam Huffman <[email protected]> - 1.4.1-1
- new upstream release 1.4.1
- see https://github.com/taoliu/MACS/blob/macs_v1/ChangeLog for fixes
* Fri Jun 24 2011 Adam Huffman <[email protected]> - 1.4.0-1
- add manpage generated for Debian
* Tue Jun 21 2011 Adam Huffman <[email protected]> - 1.4.0-1
- final 1.4.0 release
- see https://raw.github.com/taoliu/MACS/v1.4.0/ChangeLog
* Thu Apr 21 2011 Adam Huffman <[email protected]> - 1.4.0-0.1.rc2
- new upstream release
- new binary names
* Thu Dec 16 2010 Adam Huffman <[email protected]> - 1.4.0beta-1
- initial version