Skip to content

Commit

Permalink
fix namings
Browse files Browse the repository at this point in the history
  • Loading branch information
fmalmeida committed Apr 10, 2024
1 parent d81062d commit c6e7bfc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions subworkflows/local/align_cellrangermulti.nf
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,9 @@ workflow CELLRANGER_MULTI_ALIGN {
if (meta) {
lines = [ 'sample,probe_barcode_ids,description' ]
meta[0].each{ lines = lines + [ "$it.sample,$it.probe_barcode_ids,$it.description" ] } // groupTuple adds one level nest on array, thus, meta[0] takes the real array with all maps.
cmos = file( "${sample}_cmo_samplesheet.csv" )
cmos.text = lines.join("\n").trim().toString()
cmos
frna = file( "${sample}_frna_samplesheet.csv" )
frna.text = lines.join("\n").trim().toString()
frna
} else { empty_file }
}

Expand Down

0 comments on commit c6e7bfc

Please sign in to comment.