Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix io of resfinder for all workflows but saureus #408

Merged
merged 2 commits into from
Feb 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fixed sccmec version file
- Fixed handling of ONT samples re fastqc & postalignqc
- Fixed io of spatyper and turned on postalignqc for ONT
- Fixed io of resfinder for all workflows but saureus
- Fixed input array for postalignqc

### Changed

Expand Down
2 changes: 1 addition & 1 deletion nextflow-modules/modules/prp/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ process post_align_qc {
scratch params.scratch

input:
tuple val(sample_id), path(bam), val(platform)
tuple val(sample_id), path(bam)
path reference
path bed

Expand Down
2 changes: 1 addition & 1 deletion workflows/bacterial_base.nf
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ workflow CALL_BACTERIAL_BASE {
bwa_mem_ref(ch_reads, referenceGenomeDir)
samtools_index_ref(bwa_mem_ref.out.bam)

post_align_qc(bwa_mem_ref.out.bam.join(ch_meta), referenceGenome, coreLociBed)
post_align_qc(bwa_mem_ref.out.bam, referenceGenome, coreLociBed)

nanoplot(ch_reads_w_meta)

Expand Down
2 changes: 1 addition & 1 deletion workflows/escherichia_coli.nf
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ workflow CALL_ESCHERICHIA_COLI {
amrfinderplus(ch_assembly, params.species, amrfinderDb)

// resistance & virulence prediction
resfinder(ch_reads, params.species, resfinderDb, pointfinderDb)
resfinder(ch_input_meta, params.species, resfinderDb, pointfinderDb)
virulencefinder(ch_reads, params.useVirulenceDbs, virulencefinderDb)

ch_reads.map { sampleID, reads -> [ sampleID, [] ] }.set{ ch_empty }
Expand Down
2 changes: 1 addition & 1 deletion workflows/klebsiella_pneumoniae.nf
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ workflow CALL_KLEBSIELLA_PNEUMONIAE {
amrfinderplus(ch_assembly, params.species, amrfinderDb)

// resistance & virulence prediction
resfinder(ch_reads, params.species, resfinderDb, pointfinderDb)
resfinder(ch_input_meta, params.species, resfinderDb, pointfinderDb)
virulencefinder(ch_reads, params.useVirulenceDbs, virulencefinderDb)

ch_reads.map { sampleID, reads -> [ sampleID, [] ] }.set{ ch_empty }
Expand Down
2 changes: 1 addition & 1 deletion workflows/streptococcus.nf
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ workflow CALL_STREPTOCOCCUS {
amrfinderplus(ch_assembly, species, amrfinderDb)

// resistance & virulence prediction
resfinder(ch_reads, species, resfinderDb, pointfinderDb)
resfinder(ch_input_meta, species, resfinderDb, pointfinderDb)
virulencefinder(ch_reads, params.useVirulenceDbs, virulencefinderDb)

ch_reads.map{ sampleID, reads -> [ sampleID, [] ] }.set{ ch_empty }
Expand Down
2 changes: 1 addition & 1 deletion workflows/streptococcus_pyogenes.nf
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ workflow CALL_STREPTOCOCCUS_PYOGENES {
amrfinderplus(ch_assembly, params.species, amrfinderDb)

// resistance & virulence prediction
resfinder(ch_reads, params.species, resfinderDb, pointfinderDb)
resfinder(ch_input_meta, params.species, resfinderDb, pointfinderDb)
virulencefinder(ch_reads, params.useVirulenceDbs, virulencefinderDb)

ch_reads.map { sampleID, reads -> [ sampleID, [] ] }.set{ ch_empty }
Expand Down