Skip to content

Commit 0e8a387

Browse files
author
Simon Heumos
authored
Merge pull request #194 from nf-core/dev
release 1.1.2 - canguro
2 parents 7fb3047 + 9b4a2ca commit 0e8a387

File tree

13 files changed

+33
-118
lines changed

13 files changed

+33
-118
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
44

5+
## 1.1.2 - canguro
6+
7+
This release reverts the `wfmash` tool version to 0.10.4, because the current releases are unstable, not documented, and I don't understand how to set the parameters properly.
8+
It is currently unclear, when a new _stable_ release will become available. @baozg or @AndreaGuarracino are evaluating.
9+
10+
- Per default, we set the number of mappings in `wfmash` to `--n_haplotypes - 1`. Previously, this was set to `1`.
11+
- Deactivated parameter `wfmash_hg_filter_ani_diff`, because the older `wfmash` version does not support it.
12+
513
## 1.1.1 - LATÜRNICH
614

715
This release fixes some important bugs:

assets/multiqc_config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
report_comment: >
2-
This report has been generated by the <a href="https://github.com/nf-core/pangenome/releases/tag/1.1.1" target="_blank">nf-core/pangenome</a>
2+
This report has been generated by the <a href="https://github.com/nf-core/pangenome/releases/tag/1.1.2" target="_blank">nf-core/pangenome</a>
33
analysis pipeline. For information about how to interpret these results, please see the
4-
<a href="https://nf-co.re/pangenome/1.1.1/docs/output" target="_blank">documentation</a>.
4+
<a href="https://nf-co.re/pangenome/1.1.2/docs/output" target="_blank">documentation</a>.
55
report_section_order:
66
"nf-core-pangenome-methods-description":
77
order: -1000

conf/modules.config

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ process {
102102
withName: WFMASH_MAP_ALIGN {
103103
ext.args = {
104104
[
105-
"-n ${params.wfmash_n_mappings}",
105+
params.wfmash_n_mappings ? "-n ${params.wfmash_n_mappings}": "-n ${params.n_haplotypes - 1}",
106106
"-s ${parse_int(params.wfmash_segment_length)}",
107107
"-p ${params.wfmash_map_pct_id}",
108108
params.wfmash_merge_segments ? "-M" : "",
@@ -113,8 +113,8 @@ process {
113113
"-H ${params.wfmash_mash_kmer_thres}",
114114
"${wfmash_sparse_map_cmd}",
115115
params.wfmash_temp_dir ? "-B ${wfmash_temp_dir}" : "",
116-
"-2 ${params.wfmash_hg_filter_ani_diff}",
117-
"--lower-triangular",
116+
// "-2 ${params.wfmash_hg_filter_ani_diff}",
117+
// "--lower-triangular",
118118
].join(" ").trim()
119119
}
120120
publishDir = [
@@ -127,7 +127,7 @@ process {
127127
withName: WFMASH_MAP {
128128
ext.args = {
129129
[
130-
"-n ${params.wfmash_n_mappings}",
130+
params.wfmash_n_mappings ? "-n ${params.wfmash_n_mappings}": "-n ${params.n_haplotypes - 1}",
131131
"-s ${parse_int(params.wfmash_segment_length)}",
132132
"-p ${params.wfmash_map_pct_id}",
133133
params.wfmash_merge_segments ? "-M" : "",
@@ -139,8 +139,8 @@ process {
139139
"${wfmash_sparse_map_cmd}",
140140
params.wfmash_temp_dir ? "-B ${wfmash_temp_dir}" : "",
141141
"-m",
142-
"-2 ${params.wfmash_hg_filter_ani_diff}",
143-
"--lower-triangular",
142+
// "-2 ${params.wfmash_hg_filter_ani_diff}",
143+
// "--lower-triangular",
144144
].join(" ").trim()
145145
}
146146
publishDir = [
@@ -153,7 +153,7 @@ process {
153153
withName: WFMASH_MAP_COMMUNITY {
154154
ext.args = {
155155
[
156-
"-n ${params.wfmash_n_mappings}",
156+
params.wfmash_n_mappings ? "-n ${params.wfmash_n_mappings}": "-n ${params.n_haplotypes - 1}",
157157
"-s ${parse_int(params.wfmash_segment_length)}",
158158
"-p ${params.wfmash_map_pct_id}",
159159
params.wfmash_merge_segments ? "-M" : "",
@@ -165,8 +165,8 @@ process {
165165
"${wfmash_sparse_map_cmd}",
166166
params.wfmash_temp_dir ? "-B ${wfmash_temp_dir}" : "",
167167
"-m",
168-
"-2 ${params.wfmash_hg_filter_ani_diff}",
169-
"--lower-triangular",
168+
// "-2 ${params.wfmash_hg_filter_ani_diff}",
169+
// "--lower-triangular",
170170
].join(" ").trim()
171171
}
172172
publishDir = [
@@ -188,7 +188,7 @@ process {
188188
withName: WFMASH_ALIGN {
189189
ext.args = {
190190
[
191-
"-n ${params.wfmash_n_mappings}",
191+
params.wfmash_n_mappings ? "-n ${params.wfmash_n_mappings}": "-n ${params.n_haplotypes - 1}",
192192
"-s ${parse_int(params.wfmash_segment_length)}",
193193
"-p ${params.wfmash_map_pct_id}",
194194
params.wfmash_merge_segments ? "-M" : "",
@@ -200,8 +200,8 @@ process {
200200
"${wfmash_sparse_map_cmd}",
201201
params.wfmash_temp_dir ? "-B ${wfmash_temp_dir}" : "",
202202
"--invert-filtering",
203-
"-2 ${params.wfmash_hg_filter_ani_diff}",
204-
"--lower-triangular",
203+
// "-2 ${params.wfmash_hg_filter_ani_diff}",
204+
// "--lower-triangular",
205205
].join(" ").trim()
206206
}
207207
publishDir = [

modules.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
},
8383
"wfmash": {
8484
"branch": "master",
85-
"git_sha": "0c49f318ec4701b891a87f25fb07b34713c90203",
85+
"git_sha": "77c0c76b7eb7ec564617e635953addc9fb40b61e",
8686
"installed_by": ["modules"]
8787
}
8888
}

modules/nf-core/wfmash/environment.yml

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

modules/nf-core/wfmash/main.nf

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/nf-core/wfmash/meta.yml

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/nf-core/wfmash/tests/main.nf.test

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

modules/nf-core/wfmash/tests/main.nf.test.snap

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

modules/nf-core/wfmash/tests/nextflow.config

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

0 commit comments

Comments
 (0)