1
0
Fork 0
mirror of https://github.com/MillironX/taxprofiler.git synced 2024-11-22 10:09:55 +00:00

Define separte krakena nd centrigfue modules

This commit is contained in:
James A. Fellows Yates 2022-07-26 18:37:33 +00:00
parent 9d2be68fb8
commit 65ae82efc4
2 changed files with 23 additions and 18 deletions

View file

@ -28,20 +28,25 @@ run_modules:
# - '.se.settings' # - '.se.settings'
top_modules: top_modules:
- 'fastqc': - 'fastqc':
name: "FastQC (pre-processing)" name: 'FastQC (pre-Trimming)'
path_filters: path_filters:
- '*_raw.zip' - '*raw_*fastqc.zip'
- 'fastp' - 'fastp'
- 'fastqc': - 'adapterRemoval'
name: "FastQC (post-processing)" - 'fastqc':
path_filters: name: 'FastQC (post-Trimming)'
- '*_processed.zip' path_filters:
- 'kraken': - '*raw_*processed.zip'
name: "Kraken" - 'kraken':
path_filters: name: 'Kraken'
- '*kraken.report' path_filters:
- 'kraken': - '*.kraken2.report.txt'
name: Centrifuge" - 'kraken':
path_filters: name: 'Centrifuge'
- '*centrifuge.kreport' anchor: 'centrifuge'
target: 'Centrifuge'
doi: '10.1101/gr.210641.116'
info: "Centrifuge is a very rapid and memory-efficient system for the classification of DNA sequences from microbial samples. The system uses a novel indexing scheme based on the Burrows-Wheeler transform (BWT) and the Ferragina-Manzini (FM) index."
path_filters:
- '*.centrifuge.txt'

View file

@ -285,7 +285,7 @@ process {
withName: KRAKEN2_KRAKEN2 { withName: KRAKEN2_KRAKEN2 {
ext.args = { "${meta.db_params}" } ext.args = { "${meta.db_params}" }
ext.prefix = params.perform_runmerging ? { "${meta.id}-${meta.db_name}.kraken" } : { "${meta.id}-${meta.run_accession}-${meta.db_name}.kraken" } ext.prefix = params.perform_runmerging ? { "${meta.id}-${meta.db_name}" } : { "${meta.id}-${meta.run_accession}-${meta.db_name}" }
publishDir = [ publishDir = [
path: { "${params.outdir}/kraken2/${meta.db_name}" }, path: { "${params.outdir}/kraken2/${meta.db_name}" },
mode: params.publish_dir_mode, mode: params.publish_dir_mode,