Skip to content

Commit 2794254

Browse files
Fix object type in gene alignment wf
1 parent 74632db commit 2794254

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

subworkflows/local/gene_alignment.nf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,12 @@ workflow GENE_ALIGNMENT {
5454
// }
5555
.splitCsv( header: true, sep:',')
5656
.map{ row ->
57+
def data_file = file(row.data_file, checkIfExists: true)
5758
tuple([ org: row.org,
5859
type: row.type,
59-
id: row.data_file.name.split('.MOD.').first()
60+
id: data_file.name.split('.MOD.').first()
6061
],
61-
file(row.data_file)
62+
data_file
6263
)}
6364
.branch {
6465
pep: it[0].type == 'pep'

0 commit comments

Comments
 (0)