Skip to content

Commit 2bf0d10

Browse files
authored
Merge pull request #37 from cokelaer/main
Refactorisation to use click
2 parents c41ddf1 + 21f60b6 commit 2bf0d10

File tree

17 files changed

+429
-510
lines changed

17 files changed

+429
-510
lines changed

.github/workflows/apptainer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
pull_request:
99
branches-ignore: []
1010
schedule:
11-
- cron: '0 0 * * SUN'
11+
- cron: '0 0 20 * *'
1212

1313
jobs:
1414
build-linux:

.github/workflows/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@ on:
55
branches:
66
- main
77
- dev
8+
workflow_dispatch:
89
pull_request:
910
branches-ignore: []
1011
schedule:
11-
- cron: '0 0 1 * *'
12+
- cron: '0 0 20 * *'
1213

1314
jobs:
1415
build-linux:

.github/workflows/pypi.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,20 @@ jobs:
1111
runs-on: ubuntu-20.04
1212
steps:
1313
- uses: actions/checkout@main
14-
- name: Set up Python 3.7
15-
uses: actions/setup-python@v1
14+
- name: Set up Python 3.8
15+
uses: actions/setup-python@v2
1616
with:
17-
python-version: 3.7
17+
python-version: 3.8
1818

19-
- name: Install package
19+
- name: Install package
2020
run: |
21-
pip install build
21+
pip install build poetry
2222
2323
- name: Build source tarball
2424
run: |
2525
rm -rf dist;
26-
python setup.py sdist
27-
26+
poetry build
27+
2828
- name: Publish distribution to Test PyPI
2929
uses: pypa/gh-action-pypi-publish@release/v1
3030
with:

MANIFEST.in

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

README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ Changelog
158158
========= ====================================================================
159159
Version Description
160160
========= ====================================================================
161+
0.19.0 * Refactorisation to use click
161162
0.18.1 * fastp multiqc regression. Fixed missing sample names by updating
162163
multiqc_config and adding sample names in the output filename
163164
0.18.0 * New plots in the HTML reports. Includes version of executables.

pyproject.toml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
[build-system]
2+
requires = ["poetry-core>=1.0.0"]
3+
build-backend = "poetry.core.masonry.api"
4+
5+
[tool.poetry]
6+
name = "sequana-rnaseq"
7+
version = "0.19.0"
8+
description = "A RNAseq pipeline from raw reads to feature counts"
9+
authors = ["Sequana Team"]
10+
license = "BSD-3"
11+
repository = "https://github.com/sequana/rnaseq"
12+
readme = "README.rst"
13+
keywords = ["snakemake, sequana, RNAseq, RNADiff, differential analysis"]
14+
classifiers = [
15+
"Development Status :: 5 - Production/Stable",
16+
"Intended Audience :: Education",
17+
"Intended Audience :: End Users/Desktop",
18+
"Intended Audience :: Developers",
19+
"Intended Audience :: Science/Research",
20+
"License :: OSI Approved :: BSD License",
21+
"Operating System :: POSIX :: Linux",
22+
"Programming Language :: Python :: 3.8",
23+
"Programming Language :: Python :: 3.9",
24+
"Programming Language :: Python :: 3.10",
25+
"Topic :: Software Development :: Libraries :: Python Modules",
26+
"Topic :: Scientific/Engineering :: Bio-Informatics",
27+
"Topic :: Scientific/Engineering :: Information Analysis",
28+
]
29+
30+
packages = [
31+
{include = "sequana_pipelines"}
32+
]
33+
34+
35+
[tool.poetry.dependencies]
36+
python = ">=3.8,<4.0"
37+
sequana = ">=0.16.0"
38+
sequana_pipetools = ">=0.16.2"
39+
click-completion = "^0.5.2"
40+
41+
42+
[tool.poetry.scripts]
43+
sequana_rnaseq = "sequana_pipelines.rnaseq.main:main"
44+
45+
46+
[tool.poetry.group.dev.dependencies]
47+
black = "^23.7.0"
48+
pytest = "^7.4.0"
49+
mock = "^5.1.0"
50+
pytest-mock = "^3.11.1"
51+
pytest-cov = "^4.1.0"
52+

requirements.txt

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

sequana_pipelines/rnaseq/config.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# If input_directory provided, use it otherwise if input_pattern provided,
88
# use it, otherwise use input_samples.
99
# ============================================================================
10-
sequana_wrappers: "v0.15.1"
10+
sequana_wrappers: "v23.12.5"
1111

1212
input_directory:
1313
input_readtag: _R[12]_
@@ -25,6 +25,8 @@ apptainers:
2525
fastp: "https://zenodo.org/record/7319782/files/fastp_0.23.2.img"
2626
igvtools: "https://zenodo.org/record/7022635/files/igvtools_2.12.0.img"
2727
graphviz: "https://zenodo.org/record/7928262/files/graphviz_7.0.5.img"
28+
multiqc: "https://zenodo.org/record/10205070/files/multiqc_1.16.0.img"
29+
2830

2931
# =========================================== Sections for the users
3032

@@ -130,6 +132,8 @@ fastp:
130132
threads: 4
131133
disable_adapter_trimming: false
132134
disable_quality_filtering: false
135+
resources:
136+
mem: 8G
133137

134138
#######################################################
135139
# Quality trimming software choice
@@ -390,6 +394,8 @@ multiqc:
390394
modules: ''
391395
input_directory: .
392396
config_file: multiqc_config.yaml
397+
resources:
398+
mem: 8G
393399

394400

395401

0 commit comments

Comments
 (0)