a b/conf/test.config
1
/*
2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3
    Nextflow config file for running minimal tests
4
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5
    Defines input files and everything required to run a fast and simple pipeline test.
6
7
    Use as follows:
8
        nextflow run nf-core/rnaseq -profile test,<docker/singularity> --outdir <OUTDIR>
9
10
----------------------------------------------------------------------------------------
11
*/
12
13
params {
14
    config_profile_name        = 'Test profile'
15
    config_profile_description = 'Minimal test dataset to check pipeline functions'
16
17
    // Input data
18
    data         = params.pipelines_testdata_base_path + 'deepmodeloptim/testdata/titanic/titanic_stimulus.csv'
19
    data_config  = params.pipelines_testdata_base_path + 'deepmodeloptim/testdata/titanic/titanic.yaml'
20
    model        = params.pipelines_testdata_base_path + 'deepmodeloptim/testdata/titanic/titanic_model.py'
21
    model_config = params.pipelines_testdata_base_path + 'deepmodeloptim/testdata/titanic/titanic_model.yaml'
22
23
    // output
24
    save_data    = true
25
}
26
27
// Limit resources so that this can run on GitHub Actions
28
process {
29
    maxRetries = params.max_retries
30
    errorStrategy = params.err_start
31
32
    withLabel:process_low {
33
        cpus   = { 1                    }
34
        memory = { 4.GB * task.attempt  }
35
        time   = { 10.m  * task.attempt }
36
    }
37
    withLabel:process_medium {
38
        cpus   = { 2                    }
39
        memory = { 6.GB * task.attempt  }
40
        time   = { 30.m  * task.attempt }
41
    }
42
    withLabel:process_high {
43
        cpus   = { 4                    }
44
        memory = { 8.GB * task.attempt  }
45
        time   = { 1.h  * task.attempt  }
46
    }
47
}