Skip to content

Commit

Permalink
Cleaned busco sample names and added files to multiqc
Browse files Browse the repository at this point in the history
  • Loading branch information
GallVp committed Oct 8, 2024
1 parent 8d348df commit 1b09cba
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 5 deletions.
6 changes: 6 additions & 0 deletions assets/multiqc_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,9 @@ module_order:
info: "Annotation completeness statistics"
path_filters_exclude:
- "*seqkit.rmdup.fasta.txt"

extra_fn_clean_exts:
- ".seqkit"
- ".rmdup"
- type: regex
pattern: "^short_summary\\.specific\\..*_odb10\\."
5 changes: 3 additions & 2 deletions subworkflows/local/align_rnaseq.nf
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ workflow ALIGN_RNASEQ {
ch_versions = ch_versions.mix(SAMTOOLS_CAT.out.versions.first())

emit:
bam = ch_samtools_bam // channel: [ [ id: target_assembly, single_end ], [ bam ] ]
versions = ch_versions // channel: [ versions.yml ]
bam = ch_samtools_bam // channel: [ [ id: target_assembly, single_end ], [ bam ] ]
star_log_final = STAR_ALIGN.out.log_final // channel: [ [ id: sample.on.assembly, single_end ], log ]
versions = ch_versions // channel: [ versions.yml ]
}
9 changes: 6 additions & 3 deletions subworkflows/local/preprocess_rnaseq.nf
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,10 @@ workflow PREPROCESS_RNASEQ {


emit:
trim_reads = ch_emitted_reads // channel: [ [ id, single_end ], [ fq ] ]
reads_target = ch_reads_target // channel: [ [ id, single_end ], assembly_id ]
versions = ch_versions // channel: [ versions.yml ]
trim_reads = ch_emitted_reads // channel: [ [ id, single_end ], [ fq ] ]
reads_target = ch_reads_target // channel: [ [ id, single_end ], assembly_id ]
fastqc_raw_zip = FASTQ_FASTQC_UMITOOLS_FASTP.out.fastqc_raw_zip // channel: [ [ id, single_end ], zip ]
trim_json = FASTQ_FASTQC_UMITOOLS_FASTP.out.trim_json // channel: [ [ id, single_end ], json ]
fastqc_trim_zip = FASTQ_FASTQC_UMITOOLS_FASTP.out.fastqc_trim_zip // channel: [ [ id, single_end ], zip ]
versions = ch_versions // channel: [ versions.yml ]
}
10 changes: 10 additions & 0 deletions workflows/genepal.nf
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,12 @@ workflow GENEPAL {

ch_trim_reads = PREPROCESS_RNASEQ.out.trim_reads
ch_reads_target = PREPROCESS_RNASEQ.out.reads_target

ch_multiqc_files = ch_multiqc_files
| mix(PREPROCESS_RNASEQ.out.fastqc_raw_zip)
| mix(PREPROCESS_RNASEQ.out.trim_json)
| mix(PREPROCESS_RNASEQ.out.fastqc_trim_zip)

ch_versions = ch_versions.mix(PREPROCESS_RNASEQ.out.versions)

// SUBWORKFLOW: ALIGN_RNASEQ
Expand All @@ -103,6 +109,10 @@ workflow GENEPAL {
)

ch_rnaseq_bam = ALIGN_RNASEQ.out.bam

ch_multiqc_files = ch_multiqc_files
| mix(ALIGN_RNASEQ.out.star_log_final)

ch_versions = ch_versions.mix(ALIGN_RNASEQ.out.versions)

// MODULE: PREPARE_EXT_PROTS
Expand Down

0 comments on commit 1b09cba

Please sign in to comment.