Skip to content

Commit 8c1faca

Browse files
committed
Merge branch 'release/0.18.2'
2 parents d5b7f69 + 0b5f766 commit 8c1faca

39 files changed

Lines changed: 1034 additions & 3351 deletions

.codeclimate.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,19 @@ checks:
2121

2222
exclude_patterns:
2323
- ".*"
24+
- "*.cfg"
2425
- "*.md"
26+
- "*.txt"
2527
- "*.yml"
2628
- "*.yaml"
27-
- "*.cff"
28-
- "*.txt"
29-
- "*.cfg"
30-
- "*.py"
29+
- "custom_build.py"
3130
- "COPYING"
32-
- "INSTALL"
33-
- "MANIFEST.in"
3431
- "**/__*"
3532
- "**/*.c"
3633
- "**/*.ccp"
3734
- "binder/*"
3835
- "data/*"
3936
- "docs/*"
37+
- "scripts/*"
4038
- "src/*"
4139
- "test/*"
42-
- "script/download_motif_databases.py"
43-
- "gimmemotifs/_version.py"

.gitattributes

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

.gitignore

Lines changed: 20 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,23 @@
1-
**/*.swp
2-
*egg-info/
3-
gimmemotifs/*.pyc
4-
gimmemotifs/*.so
5-
test/*.pyc
6-
build/*
7-
doc/*
8-
!doc/*.tex
9-
!doc/*.pdf
10-
!doc/*.txt
11-
!doc/*.md
12-
docs/_build/*
13-
data/examples/*
14-
!data/examples/*.bed
15-
!data/examples/*.fa
16-
!data/examples/example.pfm
17-
!data/examples/*jaspar
18-
*.pyc
19-
dist/*
20-
website/**/*
21-
.eggs/
22-
.pytest_cache/
23-
.cache/
1+
# caching
242
.idea/
25-
**/.ipynb_checkpoints/
26-
.vscode
27-
.coverage*
28-
coverage.xml
3+
__pycache__/
4+
.ipynb_checkpoints/
5+
.vscode/
6+
*.pyc
297

8+
# development
9+
build/
10+
dist/
11+
docs/_build/
12+
gimmemotifs/*.so
13+
gimmemotifs/included_tools/
14+
gimmemotifs.egg-info/
15+
src/
16+
test_py/
17+
venv/
18+
19+
# tests
20+
.pytest_cache/
3021
test/data/maelstrom/activity*
3122
test/data/maelstrom/final*
3223
test/data/maelstrom/*png
@@ -39,10 +30,5 @@ test/data/maelstrom/input.table.txt
3930
test/**/*.fa.fai
4031
test/**/*.fa.sizes
4132
test/**/*.gaps.bed
42-
43-
tmp/*
44-
45-
src/meme_4.6.0
46-
src/meme_4.6.0/src/dir.h
47-
src/BioProspector/BioProspector
48-
src/MDmodule/MDmodule
33+
.coverage*
34+
coverage.xml

.pre-commit-config.yaml

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

.rtd-environment.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ dependencies:
1212
- configparser
1313
- diskcache
1414
- feather-format
15-
- genomepy >=0.14.0
16-
# - ipywidgets # optional: progress bar in Jupyter notebook
15+
- genomepy >=0.16.3 # has no dependency on pkg_resources
1716
- iteround
1817
- jinja2
1918
- logomaker
@@ -23,7 +22,7 @@ dependencies:
2322
- pandas >=1.3, <3
2423
- pybedtools >=0.9.0
2524
- pysam >=0.16
26-
- python >=3.7, <3.12 # Motifsampler & setuptools break from py3.12
25+
- python >=3.9, <3.12 # Motifsampler & setuptools break from py3.12
2726
- python-xxhash
2827
- qnorm >=0.8.1
2928
- scikit-learn >=0.23.2 # https://scikit-learn.org/stable/install.html#installing-the-latest-release
@@ -32,4 +31,3 @@ dependencies:
3231
- statsmodels
3332
- tqdm >=4.46.1
3433
- xdg
35-
# - xgboost >=1.0.2 # optional: xgboost regressor for MOAP (1 GB)

.travis.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,17 @@ env:
1313
- CC_TEST_REPORTER_ID=3865090108d29191b1d34760d2ed5825d67b7566f0f87090e688b7513fdef063
1414

1515
before_install:
16-
# setup miniconda
17-
- wget https://repo.anaconda.com/miniconda/Miniconda3-py37_4.12.0-Linux-x86_64.sh -O miniconda.sh
18-
- chmod +x miniconda.sh
19-
- ./miniconda.sh -b -p $HOME/miniconda -f
20-
- export PATH=$HOME/miniconda/bin:$PATH;
21-
- conda config --set always_yes True
16+
# setup miniforge
17+
- wget -O Miniforge3.sh "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh"
18+
- bash Miniforge3.sh -b -p "${HOME}/conda" > /dev/null
19+
- source "${HOME}/conda/etc/profile.d/conda.sh"
20+
- source "${HOME}/conda/etc/profile.d/mamba.sh"
21+
- mamba activate
2222

2323
install:
24-
- conda install -c conda-forge "conda>=4.12.0" "mamba>=0.27"
25-
- mamba env create -f requirements.yaml
26-
- source activate gimme
27-
- python setup.py build # installs the motif discovery tools
28-
- pip install -e . --no-deps --ignore-installed # installs gimme (in editable mode)
24+
- mamba env create -n gimme -f requirements.yaml
25+
- mamba activate gimme
26+
- pip install --no-deps --no-cache-dir --use-pep517 -v -e .
2927

3028
before_script:
3129
# install Code Climate test coverage reporter

CHANGELOG.md

Lines changed: 67 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,31 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
55

66
## Unreleased
77

8+
9+
10+
## [0.18.2] - 2026-04-03
11+
12+
### Changed
13+
14+
- packaging & deployment now uses `pyproject.toml` and wheel
15+
- motif tools installed more robustly
16+
- update minimum python version to 3.9
17+
- updated the install instructions in the README and documentation
18+
- refactored command line interface
19+
- all CLI functions are located in gimmemotifs/cli.py
20+
- all functions now provide help when actions are unspecified
21+
- refactored test/test_09_cli.py to work with new CLI
22+
23+
### Fixed
24+
25+
- the roc report will now display a message when 0 motifs are enriched (if motifs were subset or not)
26+
27+
### Removed
28+
29+
- versioneer
30+
31+
32+
833
## [0.18.1] - 2025-10-02
934

1035
### Changed
@@ -21,6 +46,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
2146
- updated C code, fixes compiler warnings & error (thanks cameronraysmith!)
2247
- updated versioneer, able to update configparser now! resolves #315
2348

49+
50+
2451
## [0.18.0] - 2023-01-11
2552

2653
### Added
@@ -67,6 +94,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
6794

6895
- removed old python2 code (scanning with MOODS & import shenanigans)
6996

97+
98+
7099
## [0.17.2] - 2022-10-12
71100

72101
### Changed
@@ -90,6 +119,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
90119
- pyarrow dependency
91120

92121

122+
93123
## [0.17.1] - 2022-06-02
94124

95125
### Added
@@ -124,6 +154,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
124154
- and Travis asks 5x credits for OSX machines...
125155

126156

157+
127158
## [0.17.0] - 2021-12-22
128159

129160
### Added
@@ -168,7 +199,6 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
168199
* Fix issue with config file getting corrupted.
169200
* Fix FPR threshold calculation.
170201

171-
### Removed
172202

173203

174204
## [0.16.1] - 2021-06-28
@@ -185,6 +215,8 @@ Bugfix release.
185215
* Fixed "Motif does not occur in motif database when running maelstrom" (#192).
186216
* Fixed bugs related to runs where no (significant) motifs is found.
187217

218+
219+
188220
## [0.16.0] - 2021-05-28
189221

190222
Many bugfixes, thanks to @kirbyziegler, @irzhegalova, @wangmhan, @ClarissaFeuersteinAkgoz and @fgualdr for reporting and proposing solutions!
@@ -215,6 +247,8 @@ Thanks to @Maarten-vd-Sande for the speed improvements.
215247
* Fix issue with running `gimme motifs` with the HOMER database (#135)
216248
* Fix issue with the `--size` parameter in `gimme motifs`, which now works as expected (#128)
217249

250+
251+
218252
## [0.15.3] - 2021-02-01
219253

220254
### Fixed
@@ -228,6 +262,7 @@ Thanks to @Maarten-vd-Sande for the speed improvements.
228262
cache.
229263

230264

265+
231266
## [0.15.2] - 2020-11-26
232267

233268
### Changed
@@ -239,6 +274,8 @@ Thanks to @Maarten-vd-Sande for the speed improvements.
239274
- Fix issue with -s parameter of `gimme motifs` (#146)
240275
- Fix issues (hopefully) with scanning large input files.
241276

277+
278+
242279
## [0.15.1] - 2020-10-07
243280

244281
### Added
@@ -250,6 +287,8 @@ Thanks to @Maarten-vd-Sande for the speed improvements.
250287
- Support for pandas>=1.1
251288
- `coverage_table` doesn't add a newline at the end of the file.
252289

290+
291+
253292
## [0.15.0] - 2020-09-29
254293

255294
### Added
@@ -277,6 +316,8 @@ Thanks to @Maarten-vd-Sande for the speed improvements.
277316
- `gimme motifs` doesn't crash when no motifs are found.
278317
- Fixed error with Ensembl chromosome names in `combine_peaks`.
279318

319+
320+
280321
## [0.14.4] - 2020-04-02
281322

282323
### Fixed
@@ -285,12 +326,16 @@ Thanks to @Maarten-vd-Sande for the speed improvements.
285326
- Fixed `combine_peaks` with Ensembl chromosome names (thanks @JGAsmits).
286327
- Fixed bug with pandas>=1.0.
287328

329+
330+
288331
## [0.14.3] - 2020-02-19
289332

290333
### Fixed
291334

292335
- Fixed 'AttributeError: can't delete attribute' in `gimme maelstrom` and `gimme motifs` (#108, #109).
293336

337+
338+
294339
## [0.14.2] - 2020-01-31
295340

296341
Bugfix release
@@ -314,6 +359,7 @@ Bugfix release
314359
- Updated `tqdm` requirement (#98).
315360

316361

362+
317363
## [0.14.1] - 2019-12-19
318364

319365
Bugfix release
@@ -323,6 +369,8 @@ Bugfix release
323369
- Fix function for locating a pwm/pfm motif database.
324370
- Added configparser dependency
325371

372+
373+
326374
## [0.14.0] - 2019-12-05
327375

328376
### Added
@@ -356,6 +404,8 @@ Bugfix release
356404

357405
- Deprecated modules and scripts.
358406

407+
408+
359409
## [0.13.1] - 2018-12-04
360410

361411
### Added
@@ -376,6 +426,8 @@ Bugfix release
376426
- Changed "user" background to "custom" background.
377427
- Updated Posmo to run with a wider variety of settings.
378428

429+
430+
379431
## [0.13.0] - 2018-11-19
380432

381433
### Added
@@ -411,6 +463,8 @@ Bugfix release
411463
- Fixed `scale` for newer `pandas`/`sklearn` combo
412464
- FIxed bug related to backgroundgradient with new pandas
413465

466+
467+
414468
## [0.12.0] - 2018-07-10
415469

416470
**Please note:** the way GimmeMotifs uses genome FASTA files has changed in a
@@ -449,3 +503,15 @@ manage your genomes.
449503
- Fixed issue with nested multiprocessing pools.
450504
- Fix numpy version because of DeprecationWarning in sklearn.
451505
- Updated xgboost dependency, where the API had changed.
506+
507+
508+
509+
[Unreleased]: https://github.com/vanheeringen-lab/gimmemotifs/compare/master...develop
510+
[0.18.2]: https://github.com/vanheeringen-lab/gimmemotifs/compare/0.18.1...0.18.2
511+
[0.18.1]: https://github.com/vanheeringen-lab/gimmemotifs/compare/0.18.0...0.18.1
512+
[0.18.0]: https://github.com/vanheeringen-lab/gimmemotifs/compare/0.17.0...0.18.0
513+
[0.17.0]: https://github.com/vanheeringen-lab/gimmemotifs/compare/0.16.0...0.17.0
514+
[0.16.0]: https://github.com/vanheeringen-lab/gimmemotifs/compare/0.15.0...0.16.0
515+
[0.15.0]: https://github.com/vanheeringen-lab/gimmemotifs/compare/0.14.0...0.15.0
516+
[0.14.0]: https://github.com/vanheeringen-lab/gimmemotifs/compare/0.13.0...0.14.0
517+
[0.13.0]: https://github.com/vanheeringen-lab/gimmemotifs/compare/0.12.0...0.13.0

0 commit comments

Comments
 (0)