2022-02-18 06:55:14 +00:00
|
|
|
/*
|
2022-03-15 21:05:37 +00:00
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2022-02-18 06:55:14 +00:00
|
|
|
Nextflow config file for running minimal tests
|
2022-03-15 21:05:37 +00:00
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2022-02-18 06:55:14 +00:00
|
|
|
Defines input files and everything required to run a fast and simple pipeline test.
|
|
|
|
|
|
|
|
Use as follows:
|
2022-03-15 21:05:37 +00:00
|
|
|
nextflow run nf-core/taxprofiler -profile test,<docker/singularity> --outdir <OUTDIR>
|
2022-02-18 06:55:14 +00:00
|
|
|
|
|
|
|
----------------------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
|
|
|
params {
|
|
|
|
config_profile_name = 'Test profile'
|
|
|
|
config_profile_description = 'Minimal test dataset to check pipeline function'
|
|
|
|
|
|
|
|
// Limit resources so that this can run on GitHub Actions
|
2022-03-28 18:38:16 +00:00
|
|
|
max_cpus = 2
|
2022-02-18 06:55:14 +00:00
|
|
|
max_memory = '6.GB'
|
|
|
|
max_time = '6.h'
|
|
|
|
|
|
|
|
// Input data
|
2022-04-13 16:51:56 +00:00
|
|
|
input = 'https://raw.githubusercontent.com/nf-core/test-datasets/taxprofiler/samplesheet.csv'
|
|
|
|
databases = 'https://raw.githubusercontent.com/nf-core/test-datasets/taxprofiler/database.csv'
|
2022-06-02 09:53:53 +00:00
|
|
|
perform_shortread_qc = true
|
|
|
|
perform_longread_qc = true
|
2022-08-30 11:58:58 +00:00
|
|
|
shortread_qc_mergepairs = true
|
2023-02-16 13:29:52 +00:00
|
|
|
perform_shortread_complexityfilter = false
|
2022-04-13 13:27:53 +00:00
|
|
|
perform_shortread_hostremoval = true
|
2022-05-05 11:19:10 +00:00
|
|
|
perform_longread_hostremoval = true
|
2022-05-07 04:09:05 +00:00
|
|
|
perform_runmerging = true
|
2022-05-05 11:20:34 +00:00
|
|
|
hostremoval_reference = 'https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/genomics/homo_sapiens/genome/genome.fasta'
|
2022-04-13 16:51:56 +00:00
|
|
|
run_kaiju = true
|
2022-04-19 11:04:58 +00:00
|
|
|
run_kraken2 = true
|
2022-10-14 10:18:55 +00:00
|
|
|
run_bracken = true
|
2023-02-17 08:16:58 +00:00
|
|
|
run_malt = true
|
2022-04-19 11:04:58 +00:00
|
|
|
run_metaphlan3 = true
|
|
|
|
run_centrifuge = true
|
2022-04-29 19:59:42 +00:00
|
|
|
run_diamond = true
|
2022-11-29 13:19:01 +00:00
|
|
|
run_krakenuniq = true
|
2022-05-31 12:47:38 +00:00
|
|
|
run_motus = false
|
2022-06-27 13:41:42 +00:00
|
|
|
run_krona = true
|
2022-07-01 15:21:19 +00:00
|
|
|
krona_taxonomy_directory = 'https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/genomics/sarscov2/metagenome/krona_taxonomy.tab'
|
2022-05-07 03:22:35 +00:00
|
|
|
malt_save_reads = true
|
|
|
|
kraken2_save_reads = true
|
|
|
|
centrifuge_save_reads = true
|
2023-02-16 13:29:52 +00:00
|
|
|
run_profile_standardisation = true
|
2022-04-20 11:42:26 +00:00
|
|
|
}
|
2022-04-20 11:41:01 +00:00
|
|
|
|
|
|
|
process {
|
|
|
|
withName: MALT_RUN {
|
|
|
|
maxForks = 1
|
2022-11-24 15:55:19 +00:00
|
|
|
ext.args = { "-m ${params.malt_mode} -J-Xmx12G" }
|
2022-04-20 11:41:01 +00:00
|
|
|
}
|
2022-09-02 06:03:05 +00:00
|
|
|
withName: MEGAN_RMA2INFO_TSV {
|
|
|
|
maxForks = 1
|
|
|
|
}
|
|
|
|
withName: MEGAN_RMA2INFO_KRONA {
|
2022-06-03 20:29:04 +00:00
|
|
|
maxForks = 1
|
|
|
|
}
|
2022-02-18 06:55:14 +00:00
|
|
|
}
|