@@ -115,7 +115,7 @@ workflow PROTEIN_DESIGN {
115115 if (params. run_boltz2_refold) {
116116 // Get target sequence FASTA from samplesheet
117117 ch_target_fasta = ch_input
118- .map { meta, design_yaml, structure_files, target_msa, target_sequence, target_template ->
118+ .map { meta, design_yaml, structure_files, target_msa, target_sequence, target_template, boltzgen_output_dir ->
119119 [meta. id, target_sequence]
120120 }
121121
@@ -142,7 +142,7 @@ workflow PROTEIN_DESIGN {
142142 // Prepare Target MSA from Samplesheet
143143 // ================================================================
144144 ch_target_msa = ch_input
145- .map { meta, design_yaml, structure_files, target_msa, target_sequence, target_template ->
145+ .map { meta, design_yaml, structure_files, target_msa, target_sequence, target_template, boltzgen_output_dir ->
146146 def msa_file = target_msa ?: file(' NO_MSA' )
147147 [meta. id, msa_file]
148148 }
@@ -151,7 +151,7 @@ workflow PROTEIN_DESIGN {
151151 // Prepare Target Template from Samplesheet
152152 // ================================================================
153153 ch_target_template = ch_input
154- .map { meta, design_yaml, structure_files, target_msa, target_sequence, target_template ->
154+ .map { meta, design_yaml, structure_files, target_msa, target_sequence, target_template, boltzgen_output_dir ->
155155 def template_file = target_template ?: file(' NO_TEMPLATE' )
156156 [meta. id, template_file]
157157 }
0 commit comments