Skip to content

Commit 461f3bb

Browse files
remove unused multiqc channel which used to just plot plddt, and blocks the way for PR nf-core#450
1 parent 9c26e56 commit 461f3bb

19 files changed

Lines changed: 11 additions & 131 deletions

File tree

main.nf

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ workflow NFCORE_PROTEINFOLD {
6767

6868
main:
6969
ch_samplesheet = samplesheet
70-
ch_multiqc = channel.empty()
7170
ch_versions = channel.empty()
7271
ch_report_input = channel.empty()
7372
ch_top_ranked_model = channel.empty()
@@ -136,7 +135,6 @@ workflow NFCORE_PROTEINFOLD {
136135
PREPARE_ALPHAFOLD2_DBS.out.pdb_seqres,
137136
PREPARE_ALPHAFOLD2_DBS.out.uniprot
138137
)
139-
ch_multiqc = ch_multiqc.mix(ALPHAFOLD2.out.multiqc_report.collect())
140138
ch_versions = ch_versions.mix(ALPHAFOLD2.out.versions)
141139
ch_report_input = ch_report_input
142140
.mix(
@@ -195,7 +193,6 @@ workflow NFCORE_PROTEINFOLD {
195193
PREPARE_ALPHAFOLD3_DBS.out.uniprot
196194
)
197195

198-
ch_multiqc = ch_multiqc.mix(ALPHAFOLD3.out.multiqc_report)
199196
ch_versions = ch_versions.mix(ALPHAFOLD3.out.versions)
200197
ch_report_input = ch_report_input
201198
.mix(
@@ -240,7 +237,6 @@ workflow NFCORE_PROTEINFOLD {
240237
params.colabfold_num_recycles
241238
)
242239

243-
ch_multiqc = ch_multiqc.mix(COLABFOLD.out.multiqc_report)
244240
ch_versions = ch_versions.mix(COLABFOLD.out.versions)
245241
ch_report_input = ch_report_input
246242
.mix(
@@ -279,7 +275,6 @@ workflow NFCORE_PROTEINFOLD {
279275
params.esmfold_num_recycles
280276
)
281277

282-
ch_multiqc = ch_multiqc.mix(ESMFOLD.out.multiqc_report.collect())
283278
ch_versions = ch_versions.mix(ESMFOLD.out.versions)
284279
ch_report_input = ch_report_input
285280
.mix(
@@ -324,7 +319,6 @@ workflow NFCORE_PROTEINFOLD {
324319
PREPARE_ROSETTAFOLD_ALL_ATOM_DBS.out.pdb100,
325320
PREPARE_ROSETTAFOLD_ALL_ATOM_DBS.out.rfaa_paper_weights
326321
)
327-
ch_multiqc = ch_multiqc.mix(ROSETTAFOLD_ALL_ATOM.out.multiqc_report.collect())
328322
ch_versions = ch_versions.mix(ROSETTAFOLD_ALL_ATOM.out.versions)
329323
ch_report_input = ch_report_input
330324
.mix(
@@ -396,7 +390,6 @@ workflow NFCORE_PROTEINFOLD {
396390
PREPARE_HELIXFOLD3_DBS.out.helixfold3_init_models,
397391
PREPARE_HELIXFOLD3_DBS.out.helixfold3_maxit_src
398392
)
399-
ch_multiqc = ch_multiqc.mix(HELIXFOLD3.out.multiqc_report.collect())
400393
ch_versions = ch_versions.mix(HELIXFOLD3.out.versions)
401394
ch_report_input = ch_report_input
402395
.mix(
@@ -446,7 +439,6 @@ workflow NFCORE_PROTEINFOLD {
446439
PREPARE_ROSETTAFOLD2NA_DBS.out.rna,
447440
PREPARE_ROSETTAFOLD2NA_DBS.out.rosettafold2na_weights
448441
)
449-
ch_multiqc = ch_multiqc.mix(ROSETTAFOLD2NA.out.multiqc_report.collect())
450442
ch_versions = ch_versions.mix(ROSETTAFOLD2NA.out.versions)
451443
ch_report_input = ch_report_input
452444
.mix(
@@ -501,7 +493,6 @@ workflow NFCORE_PROTEINFOLD {
501493
PREPARE_COLABFOLD_DBS_BOLTZ.out.uniref30,
502494
params.use_msa_server
503495
)
504-
ch_multiqc = ch_multiqc.mix(BOLTZ.out.multiqc_report)
505496
ch_versions = ch_versions.mix(BOLTZ.out.versions)
506497
ch_report_input = ch_report_input
507498
.mix(
@@ -531,7 +522,6 @@ workflow NFCORE_PROTEINFOLD {
531522
params.skip_multiqc,
532523
params.outdir,
533524
ch_versions,
534-
ch_multiqc,
535525
ch_multiqc_config,
536526
ch_multiqc_custom_config,
537527
ch_multiqc_logo,
@@ -540,7 +530,7 @@ workflow NFCORE_PROTEINFOLD {
540530
)
541531

542532
emit:
543-
multiqc_report = ch_multiqc
533+
multiqc_report = POST_PROCESSING.out.multiqc_report
544534
}
545535

546536
/*

modules/local/colabfold_batch/main.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ process COLABFOLD_BATCH {
1818
tuple val(meta), path ("${meta.id}_colabfold.pdb") , emit: top_ranked_pdb
1919
tuple val(meta), path ("raw/*relaxed_rank_*.pdb") , emit: pdb
2020
tuple val(meta), path ("${meta.id}_colabfold_msa.tsv") , emit: msa
21-
tuple val(meta), path ("${meta.id}_plddt.tsv") , emit: multiqc
21+
tuple val(meta), path ("${meta.id}_plddt.tsv") , emit: plddt
2222
tuple val(meta), path ("${meta.id}_*_pae.tsv") , optional: true, emit: paes
2323
tuple val(meta), path ("${meta.id}_0_pae.tsv") , optional: true, emit: pae
2424
tuple val(meta), path ("${meta.id}_ptm.tsv") , optional: true, emit: ptms

modules/local/run_alphafold2/main.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ process RUN_ALPHAFOLD2 {
2929
path ("raw/**") , emit: raw
3030
tuple val(meta), path ("${meta.id}_alphafold2.pdb") , emit: top_ranked_pdb
3131
tuple val(meta), path ("raw/ranked*.pdb") , emit: pdb
32-
tuple val(meta), path ("${meta.id}_plddt.tsv") , emit: multiqc
32+
tuple val(meta), path ("${meta.id}_plddt.tsv") , emit: plddt
3333
tuple val(meta), path ("${meta.id}_alphafold2_msa.tsv") , emit: msa
3434
// Note: alphafold2_model_preset == "monomer" the pae file won't exist, thus the optional
3535
tuple val(meta), path ("${meta.id}_*_pae.tsv") , optional: true, emit: paes

modules/local/run_alphafold2_pred/main.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ process RUN_ALPHAFOLD2_PRED {
2828
tuple val(meta), path ("${meta.id}_alphafold2.pdb") , emit: top_ranked_pdb
2929
tuple val(meta), path ("raw/ranked*.pdb") , emit: pdb
3030
tuple val(meta), path ("${meta.id}_alphafold2_msa.tsv") , emit: msa
31-
tuple val(meta), path ("${meta.id}_plddt.tsv") , emit: multiqc
31+
tuple val(meta), path ("${meta.id}_plddt.tsv") , emit: plddt
3232
//Note: alphafold2_model_preset == "monomer" the pae file won't exist.
3333
tuple val(meta), path ("${meta.id}_*_pae.tsv") , optional: true, emit: paes
3434
tuple val(meta), path ("${meta.id}_0_pae.tsv") , optional: true, emit: pae

modules/local/run_alphafold3/main.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ process RUN_ALPHAFOLD3 {
2121
path ("raw/**") , emit: raw
2222
tuple val(meta), path ("${meta.id}_alphafold3.cif") , emit: top_ranked_cif
2323
tuple val(meta), path ("raw/*ranked_*.cif") , emit: cif
24-
tuple val(meta), path ("${meta.id}_plddt.tsv") , emit: multiqc
24+
tuple val(meta), path ("${meta.id}_plddt.tsv") , emit: plddt
2525
tuple val(meta), path ("${meta.id}_alphafold3_msa.tsv") , emit: msa
2626
tuple val(meta), path ("${meta.id}_0_pae.tsv") , emit: pae
2727
tuple val(meta), path ("${meta.id}_ptm.tsv") , emit: ptms

modules/local/run_boltz/main.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ process RUN_BOLTZ {
2121
tuple val(meta), path ("boltz_results_*/processed/msa/*.npz") , emit: msa
2222
tuple val(meta), path ("boltz_results_*/processed/structures/*.npz") , emit: structures
2323
tuple val(meta), path ("boltz_results_*/predictions/*/confidence*.json") , emit: confidence
24-
tuple val(meta), path ("${meta.id}_plddt.tsv") , emit: multiqc
24+
tuple val(meta), path ("${meta.id}_plddt.tsv") , emit: plddt
2525
tuple val(meta), path ("${meta.id}_boltz.pdb") , emit: top_ranked_pdb
2626
tuple val(meta), path ("boltz_results_*/predictions/*/*.pdb") , emit: pdb
2727
tuple val(meta), path ("boltz_results_*/predictions/*/plddt_*model_0.npz") , emit: plddt

modules/local/run_esmfold/main.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ process RUN_ESMFOLD {
1313
output:
1414
tuple val(meta), path ("${meta.id}_esmfold.pdb") , emit: top_ranked_pdb
1515
tuple val(meta), path ("*.pdb") , emit: pdb
16-
tuple val(meta), path ("${meta.id}_plddt.tsv") , emit: multiqc
16+
tuple val(meta), path ("${meta.id}_plddt.tsv") , emit: plddt
1717
path "versions.yml" , emit: versions
1818

1919
when:

modules/local/run_helixfold3/main.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ process RUN_HELIXFOLD3 {
3030
tuple val(meta), path ("${meta.id}_helixfold3.pdb") , emit: top_ranked_pdb
3131
tuple val(meta), path ("${meta.id}_helixfold3.cif") , emit: main_cif
3232
tuple val(meta), path ("raw/ranked*.pdb") , emit: pdb
33-
tuple val(meta), path ("${meta.id}_plddt.tsv") , emit: multiqc
33+
tuple val(meta), path ("${meta.id}_plddt.tsv") , emit: plddt
3434
tuple val(meta), path ("${meta.id}_helixfold3_msa.tsv") , emit: msa
3535
// If ${meta.id}-rank*/all_results.json" doesn't have PAE vales in the key, this will be empty
3636
tuple val(meta), path ("${meta.id}_1_pae.tsv") , emit: pae

modules/local/run_rosettafold2na/main.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ process RUN_ROSETTAFOLD2NA {
2020
path ("raw/**") , emit: raw
2121
tuple val(meta), path("${meta.id}_rosettafold2na.pdb") , emit: top_ranked_pdb
2222
tuple val(meta), path("raw/*.pdb") , emit: pdb
23-
tuple val(meta), path("${meta.id}_plddt.tsv") , emit: multiqc
23+
tuple val(meta), path("${meta.id}_plddt.tsv") , emit: plddt
2424
tuple val(meta), path("${meta.id}_rosettafold2na_msa.tsv") , emit: msa
2525
tuple val(meta), path("${meta.id}_0_pae.tsv") , emit: pae
2626
path "versions.yml" , emit: versions

modules/local/run_rosettafold_all_atom/main.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ process RUN_ROSETTAFOLD_ALL_ATOM {
2020
output:
2121
path ("raw/**") , emit: raw
2222
tuple val(meta), path ("${meta.id}_rosettafold_all_atom.pdb") , emit: pdb
23-
tuple val(meta), path ("${meta.id}_plddt.tsv") , emit: multiqc
23+
tuple val(meta), path ("${meta.id}_plddt.tsv") , emit: plddt
2424
tuple val(meta), path ("${meta.id}_rosettafold_all_atom_msa.tsv") , emit: msa
2525
// I think there should always be PAE from the .pt PyTorch model. extract_metrics.py has condition import torch to handle this
2626
tuple val(meta), path ("${meta.id}_*_pae.tsv") , emit: paes

0 commit comments

Comments
 (0)