Skip to content

Commit

Permalink
bump pgscatalog-utils version
Browse files Browse the repository at this point in the history
  • Loading branch information
nebfield committed Jul 29, 2024
1 parent 913b191 commit 9f675c0
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 11 deletions.
4 changes: 2 additions & 2 deletions conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ process {
ext.conda = "$projectDir/environments/pgscatalog_utils/environment.yml"
ext.docker = 'ghcr.io/pgscatalog/pygscatalog'
ext.singularity = 'oras://ghcr.io/pgscatalog/pygscatalog'
ext.docker_version = ':pgscatalog-utils-1.1.2'
ext.singularity_version = ':pgscatalog-utils-1.1.2-singularity'
ext.docker_version = ':pgscatalog-utils-1.2.0'
ext.singularity_version = ':pgscatalog-utils-1.2.0-singularity'
}

withLabel: plink2 {
Expand Down
2 changes: 1 addition & 1 deletion environments/pgscatalog_utils/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ channels:
- conda-forge
- bioconda
dependencies:
- pgscatalog-utils=1.1.2
- pgscatalog-utils=1.2.0
2 changes: 1 addition & 1 deletion tests/modules/combine/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
- "effect_weight"
- path: output/combine/versions.yml
contains:
- "pgscatalog.core: 0.2.1"
- "pgscatalog.core: 0.2.2"
4 changes: 2 additions & 2 deletions tests/modules/download/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
- path: output/download/PGS000001_hmPOS_GRCh37.txt.gz
- path: output/download/versions.yml
contains:
- "pgscatalog.core: 0.2.1"
- "pgscatalog.core: 0.2.2"

- name: pgscatalog test --efo_trait --pgp_id and --pgs_id
command: nextflow run ./tests/modules/download -entry testmultipleaccessions -c ./tests/config/nextflow.config
Expand All @@ -24,7 +24,7 @@
- path: output/download/PGS002054_hmPOS_GRCh37.txt.gz
- path: output/download/versions.yml
contains:
- "pgscatalog.core: 0.2.1"
- "pgscatalog.core: 0.2.2"

- name: pgscatalog test bad accession
command: nextflow run ./tests/modules/download -entry testbadaccession -c ./tests/config/nextflow.config
Expand Down
4 changes: 2 additions & 2 deletions tests/modules/match/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
files:
- path: output/test/match/versions.yml
contains:
- "pgscatalog.match: 0.2.2"
- "pgscatalog.match: 0.2.3"
# can't test IPC output (not published)

- name: test match combine module
Expand All @@ -20,7 +20,7 @@
files:
- path: output/test/match/versions.yml
contains:
- "pgscatalog.match: 0.2.2"
- "pgscatalog.match: 0.2.3"
- path: output/test/match/test_ALL_additive_0.scorefile.gz
contains:
- "PGS001229"
Expand Down
2 changes: 1 addition & 1 deletion tests/subworkflows/test_apply_score.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def test_aggregated_scores(workflow_dir):

assert not df.isnull().any().any(), "Missing values in aggregated scores"

cols = ["sampleset", "IID", "PGS", "SUM", "DENOM", "AVG"]
cols = ["sampleset", "FID", "IID", "PGS", "SUM", "DENOM", "AVG"]
assert cols == list(df.columns), "Missing columns"
assert (
len(
Expand Down
3 changes: 3 additions & 0 deletions tests/subworkflows/test_apply_score.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
- "IID"
- "PGS"
- "SUM"
- path: output/score/versions.yml
contains:
- "pgscatalog.calc: 0.2.2"
must_not_contain:
- "percentile_MostSimilarPop"
- "Z_MostSimilarPop"
Expand Down
4 changes: 2 additions & 2 deletions tests/subworkflows/test_liftover_run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
- "5297845"
- path: output/combine/versions.yml
contains:
- "pgscatalog.core: 0.2.1"
- "pgscatalog.core: 0.2.2"

- name: test input check subworkflow with liftover 37to38
command: nextflow run main.nf --only_input --scorefile ./assets/examples/scorefiles/customgrch37.txt --liftover --target_build GRCh38 -c ./tests/config/nextflow.config --hg19_chain https://hgdownload.cse.ucsc.edu/goldenpath/hg19/liftOver/hg19ToHg38.over.chain.gz --hg38_chain https://hgdownload.soe.ucsc.edu/goldenPath/hg38/liftOver/hg38ToHg19.over.chain.gz
Expand All @@ -26,4 +26,4 @@
- "5237785"
- path: output/combine/versions.yml
contains:
- "pgscatalog.core: 0.2.1"
- "pgscatalog.core: 0.2.2"

0 comments on commit 9f675c0

Please sign in to comment.