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: fix kraken file naming #791

Merged
merged 3 commits into from
Sep 9, 2021
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Updated workflow diagrams to reflect latest functionality
- [#787](https://github.com/nf-core/eager/issues/787) Adds memory specification flags for the GATK UnifiedGenotyper and HaplotyperCaller steps (thanks to @nylander)
- Fixed issue where MultiVCFAnalyzer would not pick up newly generated VCF files, when specifying additional VCF files.
- [#790](https://github.com/nf-core/eager/issues/790) Fixed kraken2 report file-name collision when sample names have `.` in them

### `Dependencies`

Expand Down
6 changes: 3 additions & 3 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -237,12 +237,12 @@ if ( !params.clip_adapters_list ) {
Channel
.fromPath("$projectDir/assets/nf-core_eager_dummy2.txt", checkIfExists: true)
.ifEmpty { exit 1, "[nf-core/eager] error: adapters list file not found. Please check input. Supplied: --clip_adapters_list '${params.clip_adapters_list}'." }
.into {ch_adapterlist}
.set {ch_adapterlist}
} else {
Channel
.fromPath("${params.clip_adapters_list}", checkIfExists: true)
.ifEmpty { exit 1, "[nf-core/eager] error: adapters list file not found. Please check input. Supplied: --clip_adapters_list '${params.clip_adapters_list}'." }
.into {ch_adapterlist}
.set {ch_adapterlist}
}


Expand Down Expand Up @@ -2977,7 +2977,7 @@ process kraken {
tuple prefix, path("*.kraken2_report") into ch_kraken_report, ch_kraken_for_multiqc

script:
prefix = fastq.toString().tokenize('.')[0]
prefix = fastq.baseName
out = prefix+".kraken.out"
kreport = prefix+".kraken2_report"
kreport_old = prefix+".kreport"
Expand Down