-
Notifications
You must be signed in to change notification settings - Fork 64
Expand file tree
/
Copy pathtest_krakenuniq.config
More file actions
104 lines (97 loc) · 4.17 KB
/
test_krakenuniq.config
File metadata and controls
104 lines (97 loc) · 4.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
/*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Nextflow config file for running minimal tests
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Defines input files and everything required to run a fast and simple pipeline test.
Use as follows:
nextflow run nf-core/taxprofiler -profile test_krakenuniq,<docker/singularity> --outdir <OUTDIR>
----------------------------------------------------------------------------------------
*/
//
// Separate test as KrakenUniq database can sometimes be too big for GHA
//
process {
// Limit resources so that this can run on GitHub Actions
resourceLimits = [
cpus: 4,
memory: '15.GB',
time: '6.h',
]
}
params {
config_profile_name = 'Test profile'
config_profile_description = 'Minimal test to check KrakenUniq function'
// Input data
input = params.pipelines_testdata_base_path + 'taxprofiler/samplesheet.csv'
databases = params.pipelines_testdata_base_path + 'taxprofiler/database_krakenuniq.csv'
perform_shortread_qc = true
perform_longread_qc = true
perform_shortread_redundancyestimation = false
shortread_qc_mergepairs = true
perform_shortread_complexityfilter = true
perform_shortread_hostremoval = true
perform_longread_hostremoval = true
perform_runmerging = true
hostremoval_reference = params.pipelines_testdata_base_path + 'modules/data/genomics/homo_sapiens/genome/genome.fasta'
run_kaiju = false
run_kraken2 = false
run_bracken = false
run_malt = false
run_metaphlan = false
run_centrifuge = false
run_diamond = false
run_krakenuniq = true
run_motus = false
run_kmcp = false
run_ganon = false
run_sylph = false
run_melon = false
run_metacache = false
run_krona = true
krona_taxonomy_directory = params.pipelines_testdata_base_path + 'modules/data/genomics/sarscov2/metagenome/krona_taxonomy.tab'
malt_save_reads = false
kraken2_save_reads = false
centrifuge_save_reads = false
diamond_save_reads = false
run_profile_standardisation = true
krakenuniq_ram_chunk_size = '2G'
}
process {
withName: MALT_RUN {
tag = { "${meta.db_name}|${meta.id}" }
maxForks = 1
ext.args = { "${meta.db_params} -m ${params.malt_mode} -J-Xmx12G" }
ext.prefix = { "${meta.db_name}" }
publishDir = [
path: { "${params.outdir}/malt/${meta.db_name}/" },
mode: params.publish_dir_mode,
pattern: '*.{rma6,log,sam}',
]
}
withName: MEGAN_RMA2INFO_TSV {
tag = { "${meta.db_name}|${meta.id}" }
maxForks = 1
ext.args = "-c2c Taxonomy"
ext.prefix = { "${meta.id}" }
publishDir = [
path: { "${params.outdir}/malt/${meta.db_name}/" },
mode: params.publish_dir_mode,
pattern: '*.{txt.gz,megan}',
]
}
withName: MEGAN_RMA2INFO_KRONA {
tag = { "${meta.db_name}|${meta.id}" }
maxForks = 1
ext.args = { "--read2class Taxonomy" }
ext.prefix = { "${meta.id}_${meta.db_name}" }
}
withName: NONPAREIL_NONPAREIL {
ext.args = { "-k 5" }
ext.prefix = { "${meta.id}_${meta.run_accession}" }
publishDir = [
path: { "${params.outdir}/nonpareil/" },
mode: params.publish_dir_mode,
pattern: '*.np{a,c,l,o}',
]
}
}