Skip to content

Commit

Permalink
Fixing linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mazzalab committed Dec 15, 2024
1 parent 538993a commit 978ec34
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 34 deletions.
2 changes: 1 addition & 1 deletion assets/email_template.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

<meta name="description" content="nf-core/fastqrepair: A pipeline that can be used to recover corrupted FASTQ.gz files, drop or fix uncompliant reads, remove unpaired reads, and settles reads that became disordered">
<meta name="description" content="nf-core/fastqrepair: A pipeline to recover corrupted FASTQ files, drop or fix pesky lines, remove unpaired reads, and settle reads interleaving">
<title>nf-core/fastqrepair Pipeline Report</title>
</head>
<body>
Expand Down
67 changes: 34 additions & 33 deletions workflows/fastqrepair.nf
Original file line number Diff line number Diff line change
Expand Up @@ -38,47 +38,48 @@ workflow FASTQREPAIR {
ch_decoupled
)

// Make fastq compliant and wipe bad characters
SCATTER_WIPE_GATHER (
GZRT.out.fastqrecovered
)

// Run if PAIRED-END reads only!
SCATTER_WIPE_GATHER.out.fixed_fastq
.branch {
single_end: it[0].single_end == true
paired_end: it[0].single_end == false
}
.set { filtered_ch }

// Remove unpaired reads and reads shorter than 20 nt
TRIMMOMATIC (
filtered_ch.paired_end.groupTuple()
)

// Settle reads pairing (re-pair)
BBMAPREPAIR {
TRIMMOMATIC.out.trimmed_reads
}


// Rename final FASTQ and REPORT files and move them into the "pickup" folder
RENAMER (
filtered_ch.single_end.concat(BBMAPREPAIR.out.interleaved_fastq),
SCATTER_WIPE_GATHER.out.report.groupTuple()
)
// // Make fastq compliant and wipe bad characters
// SCATTER_WIPE_GATHER (
// GZRT.out.fastqrecovered
// )

// // Run if PAIRED-END reads only!
// SCATTER_WIPE_GATHER.out.fixed_fastq
// .branch {
// single_end: it[0].single_end == true
// paired_end: it[0].single_end == false
// }
// .set { filtered_ch }

// // Remove unpaired reads and reads shorter than 20 nt
// TRIMMOMATIC (
// filtered_ch.paired_end.groupTuple()
// )

// // Settle reads pairing (re-pair)
// BBMAPREPAIR {
// TRIMMOMATIC.out.trimmed_reads
// }


// // Rename final FASTQ and REPORT files and move them into the "pickup" folder
// RENAMER (
// filtered_ch.single_end.concat(BBMAPREPAIR.out.interleaved_fastq),
// SCATTER_WIPE_GATHER.out.report.groupTuple()
// )

// Assess QC of all fastq files (both single and paired end)
FASTQC (
RENAMER.out.renamed_fastq
// RENAMER.out.renamed_fastq
GZRT.out.fastqrecovered
)
ch_multiqc_files = ch_multiqc_files.mix(FASTQC.out.zip.collect{it[1]})

ch_versions = ch_versions.mix(
GZRT.out.versions.first(),
SCATTER_WIPE_GATHER.out.versions.first(),
TRIMMOMATIC.out.versions.first(),
BBMAPREPAIR.out.versions.first(),
// SCATTER_WIPE_GATHER.out.versions.first(),
// TRIMMOMATIC.out.versions.first(),
// BBMAPREPAIR.out.versions.first(),
FASTQC.out.versions.first()
)

Expand Down

0 comments on commit 978ec34

Please sign in to comment.