Skip to content

Commit

Permalink
Merge pull request #192 from nf-core/wfmash_0104
Browse files Browse the repository at this point in the history
revert `wfmash` to v0.10.4
  • Loading branch information
subwaystation authored Mar 25, 2024
2 parents 190fb05 + e9ee042 commit 5ece245
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 115 deletions.
24 changes: 12 additions & 12 deletions conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ process {
withName: WFMASH_MAP_ALIGN {
ext.args = {
[
"-n ${params.wfmash_n_mappings}",
params.wfmash_n_mappings ? "-n ${params.wfmash_n_mappings}": "-n ${params.n_haplotypes - 1}",
"-s ${parse_int(params.wfmash_segment_length)}",
"-p ${params.wfmash_map_pct_id}",
params.wfmash_merge_segments ? "-M" : "",
Expand All @@ -113,8 +113,8 @@ process {
"-H ${params.wfmash_mash_kmer_thres}",
"${wfmash_sparse_map_cmd}",
params.wfmash_temp_dir ? "-B ${wfmash_temp_dir}" : "",
"-2 ${params.wfmash_hg_filter_ani_diff}",
"--lower-triangular",
// "-2 ${params.wfmash_hg_filter_ani_diff}",
// "--lower-triangular",
].join(" ").trim()
}
publishDir = [
Expand All @@ -127,7 +127,7 @@ process {
withName: WFMASH_MAP {
ext.args = {
[
"-n ${params.wfmash_n_mappings}",
params.wfmash_n_mappings ? "-n ${params.wfmash_n_mappings}": "-n ${params.n_haplotypes - 1}",
"-s ${parse_int(params.wfmash_segment_length)}",
"-p ${params.wfmash_map_pct_id}",
params.wfmash_merge_segments ? "-M" : "",
Expand All @@ -139,8 +139,8 @@ process {
"${wfmash_sparse_map_cmd}",
params.wfmash_temp_dir ? "-B ${wfmash_temp_dir}" : "",
"-m",
"-2 ${params.wfmash_hg_filter_ani_diff}",
"--lower-triangular",
// "-2 ${params.wfmash_hg_filter_ani_diff}",
// "--lower-triangular",
].join(" ").trim()
}
publishDir = [
Expand All @@ -153,7 +153,7 @@ process {
withName: WFMASH_MAP_COMMUNITY {
ext.args = {
[
"-n ${params.wfmash_n_mappings}",
params.wfmash_n_mappings ? "-n ${params.wfmash_n_mappings}": "-n ${params.n_haplotypes - 1}",
"-s ${parse_int(params.wfmash_segment_length)}",
"-p ${params.wfmash_map_pct_id}",
params.wfmash_merge_segments ? "-M" : "",
Expand All @@ -165,8 +165,8 @@ process {
"${wfmash_sparse_map_cmd}",
params.wfmash_temp_dir ? "-B ${wfmash_temp_dir}" : "",
"-m",
"-2 ${params.wfmash_hg_filter_ani_diff}",
"--lower-triangular",
// "-2 ${params.wfmash_hg_filter_ani_diff}",
// "--lower-triangular",
].join(" ").trim()
}
publishDir = [
Expand All @@ -188,7 +188,7 @@ process {
withName: WFMASH_ALIGN {
ext.args = {
[
"-n ${params.wfmash_n_mappings}",
params.wfmash_n_mappings ? "-n ${params.wfmash_n_mappings}": "-n ${params.n_haplotypes - 1}",
"-s ${parse_int(params.wfmash_segment_length)}",
"-p ${params.wfmash_map_pct_id}",
params.wfmash_merge_segments ? "-M" : "",
Expand All @@ -200,8 +200,8 @@ process {
"${wfmash_sparse_map_cmd}",
params.wfmash_temp_dir ? "-B ${wfmash_temp_dir}" : "",
"--invert-filtering",
"-2 ${params.wfmash_hg_filter_ani_diff}",
"--lower-triangular",
// "-2 ${params.wfmash_hg_filter_ani_diff}",
// "--lower-triangular",
].join(" ").trim()
}
publishDir = [
Expand Down
2 changes: 1 addition & 1 deletion modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
},
"wfmash": {
"branch": "master",
"git_sha": "0c49f318ec4701b891a87f25fb07b34713c90203",
"git_sha": "77c0c76b7eb7ec564617e635953addc9fb40b61e",
"installed_by": ["modules"]
}
}
Expand Down
7 changes: 0 additions & 7 deletions modules/nf-core/wfmash/environment.yml

This file was deleted.

6 changes: 3 additions & 3 deletions modules/nf-core/wfmash/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions modules/nf-core/wfmash/meta.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 0 additions & 39 deletions modules/nf-core/wfmash/tests/main.nf.test

This file was deleted.

33 changes: 0 additions & 33 deletions modules/nf-core/wfmash/tests/main.nf.test.snap

This file was deleted.

12 changes: 0 additions & 12 deletions modules/nf-core/wfmash/tests/nextflow.config

This file was deleted.

2 changes: 0 additions & 2 deletions modules/nf-core/wfmash/tests/tags.yml

This file was deleted.

2 changes: 1 addition & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ params {
wfmash_only = false
wfmash_temp_dir = null
wfmash_hg_filter_ani_diff = 30
wfmash_n_mappings = 1
wfmash_n_mappings = null

// Seqwish options
seqwish_paf = null
Expand Down
3 changes: 1 addition & 2 deletions nextflow_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,7 @@
},
"wfmash_n_mappings": {
"type": "integer",
"default": 1,
"description": "Number of mappings for each segment."
"description": "Number of mappings for each segment. [default: n_haplotypes - 1]."
}
}
},
Expand Down

0 comments on commit 5ece245

Please sign in to comment.