File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ workflow GENE_ALIGNMENT {
1818 dot_genome // Channel: [ val(meta), path(file) ]
1919 reference_tuple // Channel: [ val(meta), path(file) ]
2020 reference_index // Channel: [ val(meta), path(file) ]
21- alignment_genesets // Channel: val(geneset_id)
21+ alignment_genesets // Channel: [ path(geneset_csv) ]
2222 intron_size // Channel: val(50k)
2323 as_files // Channel: [ val(meta), path(file) ]
2424
@@ -37,7 +37,7 @@ workflow GENE_ALIGNMENT {
3737 // LIST IS MERGED WITH DATA_DIRECTORY AND ORGANISM_CLASS
3838 //
3939 ch_data = alignment_genesets
40- .splitCsv()
40+ // .splitCsv()
4141 .flatten()
4242
4343 //
@@ -48,15 +48,15 @@ workflow GENE_ALIGNMENT {
4848 // SUBWORKFLOW
4949 //
5050 ch_data
51- .map {
52- geneset_path ->
53- file(geneset_path)
54- }
51+ // .map {
52+ // geneset_path ->
53+ // file(geneset_path)
54+ // }
5555 .splitCsv( header : true , sep :' ,' )
5656 .map{ row ->
5757 tuple([ org : row. org,
5858 type : row. type,
59- id : row. data_file. split( ' / ' )[ -1 ] . split(' .MOD.' )[ 0 ]
59+ id : row. data_file. name . split(' .MOD.' ). first()
6060 ],
6161 file(row. data_file)
6262 )}
You can’t perform that action at this time.
0 commit comments