From 90653626e880e93fcbdae8f726859a39d04622d6 Mon Sep 17 00:00:00 2001 From: JoseEspinosa Date: Mon, 17 Jun 2024 14:55:26 +0200 Subject: [PATCH] Fix file staging --- subworkflows/local/prepare_alphafold2_dbs.nf | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/subworkflows/local/prepare_alphafold2_dbs.nf b/subworkflows/local/prepare_alphafold2_dbs.nf index 349b9384..85ce5e48 100644 --- a/subworkflows/local/prepare_alphafold2_dbs.nf +++ b/subworkflows/local/prepare_alphafold2_dbs.nf @@ -61,16 +61,16 @@ workflow PREPARE_ALPHAFOLD2_DBS { ch_small_bfd = file( small_bfd_path ) } - ch_params = file( alphafold2_params_path ) - ch_mgnify = file( mgnify_path ) - ch_pdb70 = file( pdb70_path, type: 'dir' ) - ch_mmcif_files = file( pdb_mmcif_path, type: 'dir' ) - ch_mmcif_obsolete = file( pdb_mmcif_path, type: 'file' ) - ch_mmcif = ch_mmcif_files + ch_mmcif_obsolete - ch_uniref30 = file( uniref30_alphafold2_path, type: 'any' ) - ch_uniref90 = file( uniref90_path ) - ch_pdb_seqres = file( pdb_seqres_path ) - ch_uniprot = file( uniprot_path ) + ch_params = Channel.value(file(alphafold2_params_path)) + ch_mgnify = Channel.value(file(mgnify_path)) + ch_pdb70 = Channel.value(file(pdb70_path, type: 'dir' )) + ch_mmcif_files = file(pdb_mmcif_path, type: 'dir') + ch_mmcif_obsolete = file(pdb_mmcif_path, type: 'file') + ch_mmcif = Channel.value(ch_mmcif_files + ch_mmcif_obsolete) + ch_uniref30 = Channel.value(file(uniref30_alphafold2_path, type: 'any')) + ch_uniref90 = Channel.value(file(uniref90_path)) + ch_pdb_seqres = Channel.value(file(pdb_seqres_path)) + ch_uniprot = Channel.value(file(uniprot_path)) } else { if (full_dbs) {