Skip to content

Commit 0269bdd

Browse files
committed
use skip_s4pred flag, removed changelog typos
1 parent 6ba7d55 commit 0269bdd

3 files changed

Lines changed: 9 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ Initial release of nf-core/proteinannotator, created with the [nf-core](https://
99

1010
### `Added`
1111

12-
- [#60](https://github.com/nf-core/proteinannotator/pull/60) - Added nf-core module `S4PRED_RUNMODEL` for secondary structure prediction (i.e., α-helix, a β-strand or a coil). (by @vagkaratzas). (by @vagkaratzas)
13-
- [#59](https://github.com/nf-core/proteinannotator/pull/59) - Added nf-core qc and pre-processing subworkflow for amino acid sequences `FAA_SEQFU_SEQKIT`. (by @vagkaratzas). (by @vagkaratzas)
12+
- [#60](https://github.com/nf-core/proteinannotator/pull/60) - Added nf-core module `S4PRED_RUNMODEL` for secondary structure prediction (i.e., α-helix, a β-strand or a coil). (by @vagkaratzas)
13+
- [#59](https://github.com/nf-core/proteinannotator/pull/59) - Added nf-core qc and pre-processing subworkflow for amino acid sequences `FAA_SEQFU_SEQKIT`. (by @vagkaratzas)
1414
- [#57](https://github.com/nf-core/proteinannotator/pull/57) - nf-core tools template update to 3.5.1. (by @vagkaratzas)
1515
- [#52](https://github.com/nf-core/proteinannotator/pull/52) - Add option to turn off InterProScan for testing
1616
- [#51](https://github.com/nf-core/proteinannotator/pull/51) - Update to nf-core/tools v3.3.1

main.nf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ workflow NFCORE_PROTEINANNOTATOR {
3939
//
4040
PROTEINANNOTATOR (
4141
samplesheet,
42-
params.skip_preprocessing
42+
params.skip_preprocessing,
43+
params.skip_s4pred
4344
)
4445
emit:
4546
multiqc_report = PROTEINANNOTATOR.out.multiqc_report // channel: /path/to/multiqc_report.html

workflows/proteinannotator.nf

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ workflow PROTEINANNOTATOR {
2525
take:
2626
ch_samplesheet // channel: samplesheet read in from --input
2727
skip_preprocessing // boolean
28+
skip_s4pred // boolean
2829

2930
main:
3031

@@ -45,8 +46,10 @@ workflow PROTEINANNOTATOR {
4546
FUNCTIONAL_ANNOTATION( ch_samplesheet_updated )
4647
ch_versions = ch_versions.mix( FUNCTIONAL_ANNOTATION.out.versions.first() )
4748

48-
S4PRED_RUNMODEL( ch_samplesheet_updated )
49-
ch_versions = ch_versions.mix( S4PRED_RUNMODEL.out.versions.first() )
49+
if (!skip_s4pred) {
50+
S4PRED_RUNMODEL( ch_samplesheet_updated )
51+
ch_versions = ch_versions.mix( S4PRED_RUNMODEL.out.versions.first() )
52+
}
5053

5154
//
5255
// Collate and save software versions

0 commit comments

Comments
 (0)