Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Edmund Miller <[email protected]>
  • Loading branch information
apeltzer and edmundmiller authored Oct 24, 2022
1 parent 4a6d9d9 commit 6363ae3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions subworkflows/local/contaminant_filter.nf
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ workflow CONTAMINANT_FILTER {
ch_versions = ch_versions.mix(BLAT_CDNA.out.versions)
INDEX_CDNA ( BLAT_CDNA.out.filtered_set )
ch_versions = ch_versions.mix(INDEX_CDNA.out.versions)
MAP_CDNA ( trna_reads, INDEX_CDNA.out.index, 'cDNA' )
MAP_CDNA ( trna_reads, INDEX_CDNA.out.index, 'cDNA' )
ch_versions = ch_versions.mix(MAP_CDNA.out.versions)
ch_filter_stats = ch_filter_stats.mix(MAP_CDNA.out.stats.ifEmpty(null))
MAP_CDNA.out.unmapped.set { cdna_reads }
Expand All @@ -100,7 +100,7 @@ workflow CONTAMINANT_FILTER {
ch_versions = ch_versions.mix(BLAT_PIRNA.out.versions)
INDEX_PIRNA ( BLAT_PIRNA.out.filtered_set )
ch_versions = ch_versions.mix(INDEX_PIRNA.out.versions)
MAP_PIRNA (ncrna_reads, INDEX_PIRNA.out.index, 'piRNA' )
MAP_PIRNA ( ncrna_reads, INDEX_PIRNA.out.index, 'piRNA' )
ch_versions = ch_versions.mix(MAP_PIRNA.out.versions)
ch_filter_stats = ch_filter_stats.mix(MAP_PIRNA.out.stats.ifEmpty(null))
MAP_PIRNA.out.unmapped.set { pirna_reads }
Expand All @@ -113,7 +113,7 @@ workflow CONTAMINANT_FILTER {
ch_versions = ch_versions.mix(BLAT_OTHER.out.versions)
INDEX_OTHER ( BLAT_OTHER.out.filtered_set )
ch_versions = ch_versions.mix(INDEX_OTHER.out.versions)
MAP_OTHER (ncrna_reads, INDEX_OTHER.out.index, 'other' )
MAP_OTHER ( ncrna_reads, INDEX_OTHER.out.index, 'other' )
ch_versions = ch_versions.mix(MAP_OTHER.out.versions)
ch_filter_stats = ch_filter_stats.mix(MAP_OTHER.out.stats.ifEmpty(null))
MAP_OTHER.out.unmapped.set { other_cont_reads }
Expand Down

0 comments on commit 6363ae3

Please sign in to comment.