Skip to content

Commit

Permalink
Merge pull request qbic-pipelines#7 from AntoniaSchuster/update_prodigal
Browse files Browse the repository at this point in the history
Update module prodigal
  • Loading branch information
AntoniaSchuster authored Jan 28, 2022
2 parents cda8103 + 03b6f4b commit eb69b10
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 103 deletions.
5 changes: 1 addition & 4 deletions modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,11 @@
"custom/dumpsoftwareversions": {
"git_sha": "20d8250d9f39ddb05dfb437603aaf99b5c0b2b41"
},
"gunzip": {
"git_sha": "20d8250d9f39ddb05dfb437603aaf99b5c0b2b41"
},
"multiqc": {
"git_sha": "20d8250d9f39ddb05dfb437603aaf99b5c0b2b41"
},
"prodigal": {
"git_sha": "d473a247d2e0c619b0df877ea19d9a5a98c8e3c8"
"git_sha": "a45e03016632fe7dc2f48bfa73d9642c7f03e035"
}
}
}
Expand Down
31 changes: 0 additions & 31 deletions modules/nf-core/modules/gunzip/main.nf

This file was deleted.

34 changes: 0 additions & 34 deletions modules/nf-core/modules/gunzip/meta.yml

This file was deleted.

19 changes: 10 additions & 9 deletions modules/nf-core/modules/prodigal/main.nf

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

32 changes: 23 additions & 9 deletions modules/nf-core/modules/prodigal/meta.yml

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

17 changes: 1 addition & 16 deletions workflows/metapep.nf
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ include { INPUT_CHECK } from '../subworkflows/local/input_check'
//
// MODULE: Installed directly from nf-core/modules
//
include { GUNZIP } from '../modules/nf-core/modules/gunzip/main'
include { PRODIGAL } from '../modules/nf-core/modules/prodigal/main'
include { MULTIQC } from '../modules/nf-core/modules/multiqc/main'
include { CUSTOM_DUMPSOFTWAREVERSIONS } from '../modules/nf-core/modules/custom/dumpsoftwareversions/main'
Expand Down Expand Up @@ -225,22 +224,8 @@ workflow METAPEP {
)
ch_versions = ch_versions.mix(DOWNLOAD_PROTEINS.out.versions)

ch_nucl_input
.branch{ meta, file ->
zipped: file.name =~ ~/(?i)[.]gz$/
unzipped: true
}
.set {ch_nucl_unzip}

GUNZIP(
ch_nucl_unzip.zipped
)
ch_versions = ch_versions.mix(GUNZIP.out.versions)

ch_nucl_input_unzipped = GUNZIP.out.gunzip.concat(ch_nucl_unzip.unzipped)

PRODIGAL(
ch_nucl_input_unzipped,
ch_nucl_input,
"gff"
)
ch_versions = ch_versions.mix(PRODIGAL.out.versions)
Expand Down

0 comments on commit eb69b10

Please sign in to comment.