Skip to content

Commit

Permalink
added kallisto to correct structure
Browse files Browse the repository at this point in the history
  • Loading branch information
fmalmeida committed Oct 30, 2024
1 parent 206a7c1 commit c4a09e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 3 additions & 1 deletion subworkflows/local/kallisto_bustools.nf
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ workflow KALLISTO_BUSTOOLS {

emit:
ch_versions
counts = ch_raw_counts.mix (ch_filtered_counts)
counts = KALLISTOBUSTOOLS_COUNT.out.count
counts_raw = ch_raw_counts
counts_filtered = ch_filtered_counts
txp2gene = txp2gene.collect()

}
6 changes: 2 additions & 4 deletions workflows/scrnaseq.nf
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ workflow SCRNASEQ {
ch_fastq
)
ch_versions = ch_versions.mix(KALLISTO_BUSTOOLS.out.ch_versions)
ch_mtx_matrices = KALLISTO_BUSTOOLS.out.counts
ch_mtx_matrices = KALLISTO_BUSTOOLS.out.counts_raw.mix( KALLISTO_BUSTOOLS.out.counts_filtered )
ch_txp2gene = KALLISTO_BUSTOOLS.out.txp2gene
}

Expand Down Expand Up @@ -170,9 +170,7 @@ workflow SCRNASEQ {
)
ch_versions = ch_versions.mix(STARSOLO.out.ch_versions)
ch_multiqc_files = ch_multiqc_files.mix(STARSOLO.out.for_multiqc)
ch_mtx_matrices =
STARSOLO.out.raw_counts.map{ meta, files -> [meta + [input_type: 'raw'], files] }
.mix( STARSOLO.out.filtered_counts.map{ meta, files -> [meta + [input_type: 'filtered'], files] } )
ch_mtx_matrices = STARSOLO.out.raw_counts.mix( STARSOLO.out.filtered_counts )
}

// Run cellranger pipeline
Expand Down

0 comments on commit c4a09e0

Please sign in to comment.