This repository has been archived by the owner on Oct 17, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
/
Makefile.am
112 lines (96 loc) · 3.74 KB
/
Makefile.am
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
# This file is part of methpipe
#
# Copyright (C) 2010-2019: Andrew D. Smith
#
# Authors: Andrew D. Smith
#
# This is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This software is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
EXTRA_DIST = README.md
ACLOCAL_AMFLAGS = -I m4
SUBDIRS := src/smithlab_cpp
install installdirs: SUBDIRS := $(filter-out src/smithlab_cpp, $(SUBDIRS))
AM_CPPFLAGS = -I $(top_srcdir)/src/common -I $(top_srcdir)/src/smithlab_cpp
CXXFLAGS = -O3 # default has optimization on
noinst_LIBRARIES = libmethpipe.a
libmethpipe_a_SOURCES = \
src/common/BetaBin.cpp \
src/common/Distro.cpp \
src/common/EmissionDistribution.cpp \
src/common/Epiread.cpp \
src/common/EpireadStats.cpp \
src/common/LevelsCounter.cpp \
src/common/MethpipeSite.cpp \
src/common/Smoothing.cpp \
src/common/ThreeStateHMM.cpp \
src/common/TwoStateHMM.cpp \
src/common/TwoStateHMM_PMD.cpp \
src/common/bsutils.cpp \
src/common/numerical_utils.cpp
libmethpipe_a_SOURCES += \
src/common/BetaBin.hpp \
src/common/Distro.hpp \
src/common/EmissionDistribution.hpp \
src/common/Epiread.hpp \
src/common/EpireadStats.hpp \
src/common/LevelsCounter.hpp \
src/common/MethpipeFiles.hpp \
src/common/MethpipeSite.hpp \
src/common/Smoothing.hpp \
src/common/ThreeStateHMM.hpp \
src/common/TwoStateHMM.hpp \
src/common/TwoStateHMM_PMD.hpp \
src/common/bsutils.hpp \
src/common/numerical_utils.hpp
LDADD = libmethpipe.a src/smithlab_cpp/libsmithlab_cpp.a
### ANALYSIS SUBDIR
bin_PROGRAMS = pmd methcounts bsrate hmr hypermr levels roimethstat \
methstates methentropy hmr_rep multimethstat
pmd_SOURCES = src/analysis/pmd.cpp
methstates_SOURCES = src/analysis/methstates.cpp
bsrate_SOURCES = src/analysis/bsrate.cpp
methentropy_SOURCES = src/analysis/methentropy.cpp
methcounts_SOURCES = src/analysis/methcounts.cpp
roimethstat_SOURCES = src/analysis/roimethstat.cpp
multimethstat_SOURCES = src/analysis/multimethstat.cpp
hmr_SOURCES = src/analysis/hmr.cpp
hmr_rep_SOURCES = src/analysis/hmr_rep.cpp
levels_SOURCES = src/analysis/levels.cpp
hypermr_SOURCES = src/analysis/hypermr.cpp
### UTILS SUBDIR
bin_PROGRAMS += lc_approx fast-liftover lift-filter merge-bsrate \
merge-methcounts duplicate-remover symmetric-cpgs \
clean-hairpins selectsites guessprotocol format_reads
clean_hairpins_SOURCES = src/utils/clean-hairpins.cpp
guessprotocol_SOURCES = src/utils/guessprotocol.cpp
duplicate_remover_SOURCES = src/utils/duplicate-remover.cpp
merge_bsrate_SOURCES = src/utils/merge-bsrate.cpp
format_reads_SOURCES = src/utils/format_reads.cpp
lc_approx_SOURCES = src/utils/lc_approx.cpp
selectsites_SOURCES = src/utils/selectsites.cpp
symmetric_cpgs_SOURCES = src/utils/symmetric-cpgs.cpp
merge_methcounts_SOURCES = src/utils/merge-methcounts.cpp
lift_filter_SOURCES = src/utils/lift-filter.cpp
fast_liftover_SOURCES = src/utils/fast-liftover.cpp
### AMRFINDER SUBDIR
bin_PROGRAMS += allelicmeth amrfinder amrtester
allelicmeth_SOURCES = src/amrfinder/allelicmeth.cpp
amrfinder_SOURCES = src/amrfinder/amrfinder.cpp
amrtester_SOURCES = src/amrfinder/amrtester.cpp
### RADMETH SUBDIR
bin_PROGRAMS += radmeth radmeth-adjust radmeth-merge methdiff dmr
dmr_SOURCES = src/radmeth/dmr.cpp
methdiff_SOURCES = src/radmeth/methdiff.cpp
radmeth_SOURCES = src/radmeth/radmeth.cpp
radmeth_adjust_SOURCES = src/radmeth/radmeth-adjust.cpp
radmeth_merge_SOURCES = src/radmeth/radmeth-merge.cpp
### MLML SUBDIR
bin_PROGRAMS += mlml
mlml_SOURCES = src/mlml/mlml.cpp