Skip to content

Commit

Permalink
Merge pull request #382 from JoseEspinosa/fixes
Browse files Browse the repository at this point in the history
Set chromap to no shift reads by default
  • Loading branch information
JoseEspinosa authored Oct 11, 2024
2 parents ea927b5 + e060f4a commit ed7a5cf
Show file tree
Hide file tree
Showing 11 changed files with 246 additions and 39 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [[#359](https://github.com/nf-core/atacseq/issues/359)] - Fix `--save_unaligned` description in schema.
- [[#344](https://github.com/nf-core/atacseq/issues/344)] - Fix memory issues when sorting merged replicates after `bedtools genomecov`.
- [[#338](https://github.com/nf-core/atacseq/issues/338)] - Check that samplesheet samples IDs do only have alphanumeric characters, dots, dashes or underscores.
- [[#370](https://github.com/nf-core/atacseq/issues/370)] - Adding line numbers to errors messages in `bin/check_samplesheet.py`
- [[#370](https://github.com/nf-core/atacseq/issues/370)] - Adding line numbers to errors messages in `bin/check_samplesheet.py`.
- [[#381](https://github.com/nf-core/atacseq/issues/381)] - Set chromap to no shift reads by default and install `deeptools/alignmentsieve` from modules.

### Parameters

Expand Down
7 changes: 6 additions & 1 deletion conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,12 @@ if (params.aligner == 'chromap') {
}

withName: 'CHROMAP_CHROMAP' {
ext.args = '-l 2000 --Tn5-shift --low-mem --SAM'
ext.args = [
'-l 2000',
'--low-mem',
'--SAM',
params.shift_reads ? '--Tn5-shift' : ''
].join(' ').trim()
ext.prefix = { "${meta.id}.Lb" }
publishDir = [
path: { "${params.outdir}/${params.aligner}/library" },
Expand Down
5 changes: 5 additions & 0 deletions modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@
"git_sha": "911696ea0b62df80e900ef244d7867d177971f73",
"installed_by": ["modules"]
},
"deeptools/alignmentsieve": {
"branch": "master",
"git_sha": "5c2ab5de7e8de33ac7cab83a4cd28a4d29a84049",
"installed_by": ["modules"]
},
"deeptools/computematrix": {
"branch": "master",
"git_sha": "911696ea0b62df80e900ef244d7867d177971f73",
Expand Down
36 changes: 0 additions & 36 deletions modules/local/deeptools_alignmentsieve.nf

This file was deleted.

6 changes: 6 additions & 0 deletions modules/nf-core/deeptools/alignmentsieve/environment.yml

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

49 changes: 49 additions & 0 deletions modules/nf-core/deeptools/alignmentsieve/main.nf

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

56 changes: 56 additions & 0 deletions modules/nf-core/deeptools/alignmentsieve/meta.yml

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

60 changes: 60 additions & 0 deletions modules/nf-core/deeptools/alignmentsieve/tests/main.nf.test

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

59 changes: 59 additions & 0 deletions modules/nf-core/deeptools/alignmentsieve/tests/main.nf.test.snap

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

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

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

2 changes: 1 addition & 1 deletion subworkflows/local/bam_shift_reads.nf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include { SAMTOOLS_SORT } from '../../modules/nf-core/samtools/sort/main'
include { SAMTOOLS_INDEX } from '../../modules/nf-core/samtools/index/main'
include { SAMTOOLS_FLAGSTAT } from '../../modules/nf-core/samtools/flagstat/main'
include { DEEPTOOLS_ALIGNMENTSIEVE } from '../../modules/local/deeptools_alignmentsieve'
include { DEEPTOOLS_ALIGNMENTSIEVE } from '../../modules/nf-core/deeptools/alignmentsieve'

workflow BAM_SHIFT_READS {
take:
Expand Down

0 comments on commit ed7a5cf

Please sign in to comment.