Skip to content

Commit

Permalink
Merge pull request #644 from FriederikeHanssen/bwa_args
Browse files Browse the repository at this point in the history
bwa should use -Y and not -M
  • Loading branch information
maxulysse committed Jul 17, 2022
2 parents e1ae69d + f5f49ea commit d2388d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [#632](https://github.com/nf-core/sarek/pull/632) - Update `VEP` version to `106.1` and cache up to `106`
- [#618](https://github.com/nf-core/sarek/pull/618) - Update `multiqc` module update test yml files
- [#618](https://github.com/nf-core/sarek/pull/618) - Update test yml files
- [#644](https://github.com/nf-core/sarek/pull/644) - Use `-Y` for `bwa-mem(2)` and remove `-M`

### Fixed

Expand Down
4 changes: 2 additions & 2 deletions conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ process {

if (params.umi_read_structure) {
withName: "NFCORE_SAREK:SAREK:CREATE_UMI_CONSENSUS:MAPPING_UMI:BWAMEM.*_MEM" {
ext.args = { "-p -C -M -R ${meta.read_group}" }
ext.args = { "-K 100000000 -p -C -Y -R ${meta.read_group}" }
ext.args2 = '-bS'
ext.prefix = {"${meta.id}.umi_unsorted"}
}
Expand Down Expand Up @@ -276,7 +276,7 @@ process {

withName: "NFCORE_SAREK:SAREK:GATK4_MAPPING:BWAMEM.*_MEM" {
// Using -B 3 for tumor samples
ext.args = { meta.status == 1 ? "-K 100000000 -M -B 3 -R ${meta.read_group}" : "-K 100000000 -M -R ${meta.read_group}" }
ext.args = { meta.status == 1 ? "-K 100000000 -Y -B 3 -R ${meta.read_group}" : "-K 100000000 -Y -R ${meta.read_group}" }
}
}

Expand Down

0 comments on commit d2388d1

Please sign in to comment.