Skip to content

Commit

Permalink
Merge pull request #4 from charles-plessy/target__query
Browse files Browse the repository at this point in the history
Fix file names in QC modules
  • Loading branch information
U13bs1125 authored Jun 19, 2024
2 parents 9a4724f + ae22d57 commit b5862bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 1 addition & 4 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,11 @@ workflow {
.map { file_obj -> [ [id:params.targetName], file_obj] }
.set { ch_target }

ch_query = PIPELINE_INITIALISATION.out.samplesheet
.map { row -> [ [id: params.targetName + '___' + row[0].id] , row.tail() ] }

//
// WORKFLOW: Run main workflow
//
NFCORE_PAIRGENOMEALIGN (
ch_query,
PIPELINE_INITIALISATION.out.samplesheet,
ch_target
)

Expand Down
4 changes: 4 additions & 0 deletions workflows/pairgenomealign.nf
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ workflow PAIRGENOMEALIGN {
ch_multiqc_files = ch_multiqc_files.mix(ASSEMBLYSCAN.out.json.collect{it[1]})
ch_versions = ch_versions.mix(ASSEMBLYSCAN.out.versions.first())

// Prefix id with target genome name before producing alignment files
ch_samplesheet = ch_samplesheet
.map { row -> [ [id: params.targetName + '___' + row[0].id] , row.tail() ] }

//
// SUBWORKFLOW: pairalign_m2o
//
Expand Down

0 comments on commit b5862bd

Please sign in to comment.