Skip to content

Commit 8dc174a

Browse files
Merge pull request #239 from smithlabcode/remove-old-makefiles
Removing Makefiles from the repo
2 parents 8e82292 + 925ff00 commit 8dc174a

4 files changed

Lines changed: 49 additions & 191 deletions

File tree

Makefile

Lines changed: 0 additions & 36 deletions
This file was deleted.

README.md

Lines changed: 27 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ sequencing (RRBS). These tools focus on overcoming the computing
1212
challenges imposed by the scale of genome-wide DNA methylation data,
1313
which is usually the early parts of data analysis.
1414

15-
## Installing release 1.4.2
15+
## Installing release 1.4.3
1616

1717
The documentation for DNMTools can be found
1818
[here](https://dnmtools.readthedocs.io). But if you want to install
@@ -23,11 +23,12 @@ all the formatting.
2323
### Required libraries
2424

2525
* A recent compiler. Most users will be building and installing this
26-
software with GCC. We require a compiler that supports C++17, so we
27-
recommend using at least GCC 8 (released in 2018). There are still
28-
many systems that install a very old version of GCC by default, so
29-
if you have problems with building this software, that might be the
30-
first thing to check.
26+
software with GCC. We require a compiler that fully supports C++17,
27+
so we recommend using at least GCC 9 (released in 2019). There are
28+
still many systems that install a very old version of GCC by
29+
default, so if you have problems with building this software, that
30+
might be the first thing to check. The clang LLVM compiler can
31+
also be used with a recent enough version.
3132
* The GNU Scientific Library. It can be installed using apt on Linux
3233
(Ubuntu, Debian), using brew on macOS, or from source available
3334
[here](http://www.gnu.org/software/gsl).
@@ -41,14 +42,14 @@ repo, it is easiest if all dependencies are available through conda.
4142

4243
### Configuration
4344

44-
* Download [dnmtools-1.4.2.tar.gz](https://github.com/smithlabcode/dnmtools/releases/download/v1.4.2/dnmtools-1.4.2.tar.gz).
45+
* Download [dnmtools-1.4.3.tar.gz](https://github.com/smithlabcode/dnmtools/releases/download/v1.4.3/dnmtools-1.4.3.tar.gz).
4546
* Unpack the archive:
4647
```console
47-
tar -zxvf dnmtools-1.4.2.tar.gz
48+
tar -zxvf dnmtools-1.4.3.tar.gz
4849
```
4950
* Move into the dnmtools directory and create a build directory:
5051
```console
51-
cd dnmtools-1.4.2 && mkdir build && cd build
52+
cd dnmtools-1.4.3 && mkdir build && cd build
5253
```
5354
* Run the configuration script:
5455
```console
@@ -88,22 +89,23 @@ any arguments and you should see the list of available commands:
8889
```console
8990
dnmtools
9091
```
92+
There is a test suite for `dnmtools` and these test can be performed
93+
as follows:
94+
```console
95+
make check
96+
```
97+
This must be done from the build directory. Note that the tests
98+
performed with `make check` are mostly regression tests that cover
99+
prior issues rather than coverage tests to test all the functionality
100+
of `dnmtools`.
91101

92102
### Using a clone of the repo
93103

94-
Not recommended, but if you want to do it this way, we assume you know
95-
what you are doing. We strongly recommend using DNMTools through the
96-
latest stable release under the releases section on GitHub. Developers
97-
who wish to work on the latest commits, which are unstable, can
98-
compile the source using a `Makefile` left in the root of the source
99-
tree. If HTSLib and other libraries are available system-wide,
100-
compile by running:
101-
```console
102-
make
103-
```
104-
This functionality will probably be removed soon, and if you want to
105-
build the code this way, you should know what you are doing any be
106-
able to make it work yourself.
104+
We strongly recommend using DNMTools through the latest stable release
105+
under the releases section on GitHub or through a package as with
106+
conda/mamba. Developers who wish to work on the latest commits, which
107+
are unstable, can compile the source using `autogen.sh` which just
108+
wraps `autoreconf`.
107109

108110
## Usage
109111

@@ -137,7 +139,7 @@ docker tag ghcr.io/smithlabcode/dnmtools:latest dnmtools:latest
137139

138140
You can also install the image for a particular vertion by running
139141
```console
140-
docker pull ghcr.io/smithlabcode/dnmtools:v[VERSION NUMBER] #(e.g. v1.4.2)
142+
docker pull ghcr.io/smithlabcode/dnmtools:v[VERSION NUMBER] #(e.g. v1.4.3)
141143
```
142144
Not all versions have corresponding images; you can find available images
143145
[here](https://github.com/smithlabcode/dnmtools/pkgs/container/dnmtools).
@@ -205,24 +207,20 @@ docker run -v ./:/app -w /app \
205207
dnmtools abismal -v -t 1 -i artifacts/tRex1.idx artifacts/simreads_{1,2}.fq
206208
```
207209

208-
209210
## Contacts and bug reports
210211

211212
Andrew D. Smith
212213
andrewds@usc.edu
213214

214-
Guilherme de Sena Brandine
215-
desenabr@usc.edu
216-
217215
## Copyright and License Information
218216

219-
Copyright (C) 2022-2023
217+
Copyright (C) 2022-2024
220218
Andrew D. Smith and Guilherme de Sena Brandine
221219

222220
Authors of DNMTools: Andrew D. Smith and Guilherme de Sena Brandine
223221

224222
Essential contributors: Ben Decato, Meng Zhou, Liz Ji, Terence Li,
225-
Jenny Qu, Qiang Song and Fang Fang
223+
Jenny Qu, Qiang Song, Fang Fang and Masaru Nakajima
226224

227225
This is free software: you can redistribute it and/or modify it under
228226
the terms of the GNU General Public License as published by the Free

docs/content/quickstart.md

Lines changed: 22 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -50,19 +50,17 @@ would need to be activated when you want to use dnmtools.
5050

5151
### Required libraries
5252

53-
* A recent compiler: most users will be building and installing this
53+
* A recent compiler. Most users will be building and installing this
5454
software with GCC. We require a compiler that fully supports C++17,
55-
so we recommend using at least GCC 8 (released in 2018). There are
55+
so we recommend using at least GCC 9 (released in 2019). There are
5656
still many systems that install a very old version of GCC by
5757
default, so if you have problems with building this software, that
58-
might be the first thing to check. On macOS and Ubuntu/Debian
59-
systems, the brew and apt package managers can get you a recent
60-
compiler easily. Any cluster or high-performance computing
61-
environment should give you access to a recent compiler.
62-
* The GNU Scientific Library: this has always been required. It can be
63-
installed using apt on Linux (Ubuntu, Debian), using brew on macOS,
64-
or from source available [here](http://www.gnu.org/software/gsl).
65-
* The HTSlib library, which can be installed through brew on macOS,
58+
might be the first thing to check. The clang LLVM compiler can
59+
also be used with a recent enough version.
60+
* The GNU Scientific Library. It can be installed using apt on Linux
61+
(Ubuntu, Debian), using brew on macOS, or from source available
62+
[here](http://www.gnu.org/software/gsl).
63+
* The HTSlib library. This can be installed through brew on macOS,
6664
through apt on Linux (Ubuntu, Debian), or from source downloadable
6765
[here](https://github.com/samtools/htslib).
6866
* The Zlib compression library: Most likely you already have this
@@ -72,14 +70,14 @@ would need to be activated when you want to use dnmtools.
7270

7371
### Configuration
7472

75-
* Download [dnmtools-1.4.2.tar.gz](https://github.com/smithlabcode/dnmtools/releases/download/v1.4.2/dnmtools-1.4.2.tar.gz).
73+
* Download [dnmtools-1.4.3.tar.gz](https://github.com/smithlabcode/dnmtools/releases/download/v1.4.3/dnmtools-1.4.3.tar.gz).
7674
* Unpack the archive:
7775
```console
78-
$ tar -zxvf dnmtools-1.4.2.tar.gz
76+
$ tar -zxvf dnmtools-1.4.3.tar.gz
7977
```
8078
* Move into the dnmtools directory and create a build directory:
8179
```console
82-
$ cd dnmtools-1.4.2
80+
$ cd dnmtools-1.4.3
8381
$ mkdir build && cd build
8482
```
8583
* Run the configuration script:
@@ -119,25 +117,21 @@ $ export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/path/to/htslib/lib
119117
To test if everything was successful, simply run `dnmtools` without
120118
any arguments and you should see the list of available commands:
121119
```console
122-
$ dnmtools
120+
dnmtools
123121
```
124-
If you want to do more extensive tests, you can run:
122+
There is a test suite for `dnmtools` and these test can be performed
123+
as follows:
125124
```console
126-
$ make check
125+
make check
127126
```
128-
from the directory where you run `make`. This will to several tests of
129-
various commands within `dnmtools`, and might take some time.
127+
This must be done from the build directory. Note that the tests
128+
performed with `make check` are mostly regression tests that cover
129+
prior issues rather than coverage tests to test all the functionality
130+
of `dnmtools`.
130131

131132
## Using a clone of the repo
132133

133-
*This option is deprecated; we are no longer maintaining a Makefile
134-
that is not generated by `./configure`.* Not recommended, but if you
135-
want to do it this way, we assume you know what you are doing. We
136-
strongly recommend using dnmtools through the latest stable release
134+
We strongly recommend using dnmtools through the latest stable release
137135
under the releases section on GitHub. Developers who wish to work on
138-
the latest commits, which are unstable, can compile the source using
139-
the `Makefile` available in the root of the source tree. If HTSLib and
140-
other libraries are available system-wide, compile by running:
141-
```console
142-
$ make
143-
```
136+
the latest commits, which are unstable, can start the process using
137+
the `autogen.sh` script and then using the usual autotools approach.

src/Makefile

Lines changed: 0 additions & 98 deletions
This file was deleted.

0 commit comments

Comments
 (0)