a b/conf/test_ibis_with_preprocessing.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 main.nf -profile test_ibis,<docker/singularity> --outdir <OUTDIR>
9
10
----------------------------------------------------------------------------------------
11
*/
12
13
params {
14
    config_profile_name        = 'Test ibis profile - with preprocessing'
15
    config_profile_description = 'Minimal ibis test dataset (with preprocessing) to check pipeline functions'
16
17
    // Input data
18
    data                 = params.pipelines_testdata_base_path + 'deepmodeloptim/testdata/ibis/ibis_SP140/SP140_ghts.peaks'
19
    data_config          = params.pipelines_testdata_base_path + 'deepmodeloptim/testdata/ibis/data.yaml'
20
    model                = params.pipelines_testdata_base_path + 'deepmodeloptim/testdata/ibis/ConvBasic_withEfficientKAN.py'
21
    model_config         = params.pipelines_testdata_base_path + 'deepmodeloptim/testdata/ibis/ConvBasic_withEfficientKAN.yaml'
22
    preprocessing_config = params.pipelines_testdata_base_path + 'deepmodeloptim/testdata/ibis/ibis_SP140/preprocessing.yaml'
23
    genome               = 'GRCh38'
24
    bed_peak_size        = 40
25
26
    // output
27
    save_data    = true
28
}
29
30
// Limit resources so that this can run on GitHub Actions
31
process {
32
    maxRetries = params.max_retries
33
    errorStrategy = params.err_start
34
35
    withLabel:process_low {
36
        cpus   = { 1                    }
37
        memory = { 4.GB * task.attempt  }
38
        time   = { 10.m  * task.attempt }
39
    }
40
    withLabel:process_medium {
41
        cpus   = { 2                    }
42
        memory = { 6.GB * task.attempt  }
43
        time   = { 30.m  * task.attempt }
44
    }
45
    withLabel:process_high {
46
        cpus   = { 4                    }
47
        memory = { 8.GB * task.attempt  }
48
        time   = { 1.h  * task.attempt  }
49
    }
50
}