Skip to content

Commit

Permalink
update to samtools 1.20 (nf-core#5852)
Browse files Browse the repository at this point in the history
* update to samtools 1.20

* keep samtools 1.19.2 for now

* update snapshot

* [automated] Fix linting with Prettier

* keep 1.20 afterall

* update snapshot

---------

Co-authored-by: nf-core-bot <[email protected]>
  • Loading branch information
maxulysse and nf-core-bot authored Jun 20, 2024
1 parent 13c7a1b commit 41a4135
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 9 deletions.
3 changes: 2 additions & 1 deletion modules/nf-core/custom/getchromsizes/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ channels:
- bioconda
- defaults
dependencies:
- bioconda::samtools=1.16.1
- bioconda::samtools=1.20
- bioconda::htslib=1.20
4 changes: 2 additions & 2 deletions modules/nf-core/custom/getchromsizes/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ process CUSTOM_GETCHROMSIZES {

conda "${moduleDir}/environment.yml"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/samtools:1.16.1--h6899075_1' :
'biocontainers/samtools:1.16.1--h6899075_1' }"
'https://depot.galaxyproject.org/singularity/samtools:1.20--h50ea8bc_0' :
'biocontainers/samtools:1.20--h50ea8bc_0' }"

input:
tuple val(meta), path(fasta)
Expand Down
20 changes: 14 additions & 6 deletions modules/nf-core/custom/getchromsizes/tests/main.nf.test.snap
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

],
"3": [
"versions.yml:md5,45a83c5f3dddbc5dcab30035169f7ce8"
"versions.yml:md5,0d5a7c33bddcb1edad6bf0705b258e6f"
],
"fai": [
[
Expand All @@ -44,11 +44,15 @@
]
],
"versions": [
"versions.yml:md5,45a83c5f3dddbc5dcab30035169f7ce8"
"versions.yml:md5,0d5a7c33bddcb1edad6bf0705b258e6f"
]
}
],
"timestamp": "2024-01-17T17:48:35.562918"
"meta": {
"nf-test": "0.8.4",
"nextflow": "24.04.2"
},
"timestamp": "2024-06-20T13:22:34.14237"
},
"test_custom_getchromsizes_bgzip": {
"content": [
Expand Down Expand Up @@ -78,7 +82,7 @@
]
],
"3": [
"versions.yml:md5,45a83c5f3dddbc5dcab30035169f7ce8"
"versions.yml:md5,0d5a7c33bddcb1edad6bf0705b258e6f"
],
"fai": [
[
Expand All @@ -105,10 +109,14 @@
]
],
"versions": [
"versions.yml:md5,45a83c5f3dddbc5dcab30035169f7ce8"
"versions.yml:md5,0d5a7c33bddcb1edad6bf0705b258e6f"
]
}
],
"timestamp": "2024-01-17T17:49:02.562311"
"meta": {
"nf-test": "0.8.4",
"nextflow": "24.04.2"
},
"timestamp": "2024-06-20T13:23:06.241379"
}
}

0 comments on commit 41a4135

Please sign in to comment.