Skip to content

Commit

Permalink
Update cross key to get bamFilesToTranscriptome and bamStatsFiles - f…
Browse files Browse the repository at this point in the history
…ixes #72
  • Loading branch information
emi80 committed May 16, 2023
1 parent 1c8cf1d commit ae1ecc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grape-pipeline.nf
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ inferExpOutput.into {
bamFilesToGenome
}

bamFilesToTranscriptome.cross(bamFilesCrossTranscriptome).map { transcriptome, genome ->
bamFilesToTranscriptome.cross(bamFilesCrossTranscriptome, { it[1] + it[0] }).map { transcriptome, genome ->
transcriptome[0..-2] + genome[-2..-1]
}.into {
bamFilesToTranscriptome
Expand Down Expand Up @@ -665,7 +665,7 @@ process bamStats {
template(command)
}

bamStatsOutput.cross(bamFilesCrossBamStats).map { stats, genome ->
bamStatsOutput.cross(bamFilesCrossBamStats, { it[1] + it[0] }).map { stats, genome ->
stats + genome[-1]
}.set {
bamStatsFiles
Expand Down

0 comments on commit ae1ecc6

Please sign in to comment.