Skip to content

Commit 9327ddc

Browse files
authored
Merge pull request #1006 from nf-core/fastq-subsample-index-fix
Fastq-subsample-index-fix
2 parents 2c48c1e + 92dde77 commit 9327ddc

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

workflows/rnaseq.nf

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ workflow RNASEQ {
247247
PREPARE_GENOME.out.fasta
248248
.combine(ch_strand_fastq.auto_strand)
249249
.map { it.first() }
250+
.first()
250251
.set { ch_genome_fasta }
251252

252253
FASTQ_SUBSAMPLE_FQ_SALMON (
@@ -321,7 +322,7 @@ workflow RNASEQ {
321322

322323
//
323324
// Get list of samples that failed trimming threshold for MultiQC report
324-
//
325+
//
325326
ch_trim_read_count
326327
.map {
327328
meta, num_reads ->
@@ -332,7 +333,7 @@ workflow RNASEQ {
332333
}
333334
}
334335
.collect()
335-
.map {
336+
.map {
336337
tsv_data ->
337338
def header = ["Sample", "Reads after trimming"]
338339
WorkflowRnaseq.multiqcTsvFromList(tsv_data, header)
@@ -604,7 +605,7 @@ workflow RNASEQ {
604605
ch_pass_fail_mapped
605606
.fail
606607
.collect()
607-
.map {
608+
.map {
608609
tsv_data ->
609610
def header = ["Sample", "STAR uniquely mapped reads (%)"]
610611
WorkflowRnaseq.multiqcTsvFromList(tsv_data, header)
@@ -765,7 +766,7 @@ workflow RNASEQ {
765766
ch_versions = ch_versions.mix(BAM_RSEQC.out.versions)
766767

767768
ch_inferexperiment_multiqc
768-
.map {
769+
.map {
769770
meta, strand_log ->
770771
def inferred_strand = WorkflowRnaseq.getInferexperimentStrandedness(strand_log, 30)
771772
pass_strand_check[meta.id] = true
@@ -775,7 +776,7 @@ workflow RNASEQ {
775776
}
776777
}
777778
.collect()
778-
.map {
779+
.map {
779780
tsv_data ->
780781
def header = [
781782
"Sample",

0 commit comments

Comments
 (0)