Skip to content

Commit

Permalink
Merge pull request #328 from nf-core/fix-convert-depths-gzip
Browse files Browse the repository at this point in the history
Fix convert depths gzip
  • Loading branch information
jfy133 authored Aug 25, 2022
2 parents b7d6940 + 1414141 commit 6d26d5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### `Fixed`

- [#329](https://github.com/nf-core/mag/pull/329) Each sample now gets it's own result directory for PyDamage analysis and filter
- [#328](https://github.com/nf-core/mag/pull/328) - Fix too many symbolic links issue in local convert_depths module
- [#329](https://github.com/nf-core/mag/pull/329) - Each sample now gets it's own result directory for PyDamage analysis and filter

### `Dependencies`

Expand Down
2 changes: 1 addition & 1 deletion modules/local/convert_depths.nf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ process CONVERT_DEPTHS {
script:
def prefix = task.ext.prefix ?: "${meta.id}"
"""
gunzip $depth
gunzip -f $depth
bioawk -t '{ { if (NR > 1) { { print \$1, \$3 } } } }' ${depth.toString() - '.gz'} > ${prefix}_mb2_depth.txt
cat <<-END_VERSIONS > versions.yml
Expand Down

0 comments on commit 6d26d5e

Please sign in to comment.