Skip to content

Commit a343a17

Browse files
authored
Fix #187 (#188)
* Fix #185 - update regenie to v3.2.8 * fix #187 * fix flake8 warnings * fix flake8 * update REGENIE version
1 parent 371acdf commit a343a17

File tree

7 files changed

+22
-11
lines changed

7 files changed

+22
-11
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,16 @@ If MD5 sum is not listed for a certain release then it means that the container
3939

4040
* Miscellaneous goes here
4141

42+
## [1.3.4] - 2023-06-22
43+
44+
### Updated
45+
46+
* Update regenie to v3.2.8
47+
48+
### Fixed
49+
50+
* #187 - Regression in gwas.py in handling of info, maf, hwe and geno filters
51+
4252
## [1.3.3] - 2023-06-14
4353

4454
### Updated

docker/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ The detailed description of the available container [files](https://github.com/c
5151
| gwas.sif | vcftools | 0.1.17 | [GPLv3](https://www.gnu.org/licenses/gpl-3.0.html)
5252
| gwas.sif | bcftools | 1.12 (using htslib 1.12) | [MIT/Expat/GPLv3](https://github.com/samtools/bcftools/blob/develop/LICENSE)
5353
| gwas.sif | flashpca_x86-64 | 2.0 | [GPLv3](https://www.gnu.org/licenses/gpl-3.0.html)
54-
| gwas.sif | regenie | v2.0.2.gz | [MIT/Boost](https://github.com/rgcgithub/regenie/blob/master/LICENSE)
54+
| gwas.sif | regenie | v3.2.8 | [MIT/Boost](https://github.com/rgcgithub/regenie/blob/master/LICENSE)
5555
| gwas.sif | GWAMA | 2.2.2 | [BSD-3-Clause](https://opensource.org/licenses/BSD-3-Clause)
5656
| gwas.sif | minimac4 | v4.1.0 | [GPLv3](https://www.gnu.org/licenses/gpl-3.0.html)
5757
| gwas.sif | bgenix | 1.1.7 | [Boost](https://www.boost.org/LICENSE_1_0.txt)

docker/scripts/install_regenie.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
2-
wget --no-check-certificate https://github.com/rgcgithub/regenie/releases/download/v2.0.2/regenie_v2.0.2.gz_x86_64_Linux_mkl.zip && \
3-
unzip -j regenie_v2.0.2.gz_x86_64_Linux_mkl.zip && \
4-
rm -rf regenie_v2.0.2.gz_x86_64_Linux_mkl.zip && \
5-
mv regenie_v2.0.2.gz_x86_64_Linux_mkl regenie
2+
wget --no-check-certificate https://github.com/rgcgithub/regenie/releases/download/v3.2.8/regenie_v3.2.8.gz_x86_64_Linux_mkl.zip && \
3+
unzip -j regenie_v3.2.8.gz_x86_64_Linux_mkl.zip && \
4+
rm -rf regenie_v3.2.8.gz_x86_64_Linux_mkl.zip && \
5+
mv regenie_v3.2.8.gz_x86_64_Linux_mkl regenie
66
cp regenie /bin

scripts/gwas/config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ slurm:
1111
- singularity/3.7.1
1212

1313
# folder containing 'containers' subfolder with a full copy of https://github.com/comorment/containers
14-
comorment_folder: "/cluster/projects/p697/github/comorment"
14+
comorment_folder: "/ess/p697/data/durable/s3-api/github/comorment"
1515

1616
# SINGULARITY_BIND variable to set in SLURM scripts
17-
singularity_bind: "$COMORMENT/containers/reference:/REF:ro"
17+
singularity_bind: "$COMORMENT/containers/reference:/REF:ro;/ess/p697:/ess/p697"
1818

1919
saige:
2020
cpus_per_task_stage2: 1

scripts/gwas/gwas.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,8 @@ def make_saige_commands(args, logistic, step):
488488
def pass_arguments_along(args, args_list):
489489
opts = vars(args)
490490
vals = [opts[arg.replace('-', '_')] for arg in args_list]
491-
return ''.join([(' --{} {} '.format(arg, '' if val else val) if val else '') for arg, val in zip(args_list, vals)])
491+
args = [(' --{} {} '.format(arg, '' if (val is True) else val) if val else '') for arg, val in zip(args_list, vals)]
492+
return ''.join(args)
492493

493494
def make_figures_commands(args):
494495
cmd = ''

singularity/gwas.sif

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:a398a2d346365381a7ab04b783aae48b0fbdb7d9c52f86fb4b65fbd03d9e77f0
3-
size 405090304
2+
oid sha256:db7a9e7dc6413a1b2cc5a58ee0abe8188675e63a4f2774d4b4580741edeed452
3+
size 405778432

version/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
_MINOR = "3"
33
# On main and in a nightly release the patch should be one ahead of the last
44
# released build.
5-
_PATCH = "3"
5+
_PATCH = "4"
66
# This is mainly for nightly builds which have the suffix ".dev$DATE". See
77
# https://semver.org/#is-v123-a-semantic-version for the semantics.
88
_SUFFIX = ""

0 commit comments

Comments
 (0)