Skip to content

Commit

Permalink
fix resourceLimits
Browse files Browse the repository at this point in the history
  • Loading branch information
mashehu committed Oct 17, 2024
1 parent 4e3cef0 commit 9fb3903
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 23 deletions.
10 changes: 5 additions & 5 deletions conf/test_screening.config
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ params {
config_profile_name = 'Test screening profile'
config_profile_description = 'Minimal test dataset to check pipeline function'

// Limit resources so that this can run on GitHub Actions
max_cpus = 2
max_memory = '6.GB'
max_time = '6.h'

// Input data
input = params.pipelines_testdata_base_path + "crisprseq/testdata/samplesheet_test.csv"
analysis = 'screening'
Expand All @@ -37,4 +32,9 @@ process {
withName: BAGEL2_BF {
ext.args = '-s 3' // Seed to avoid random errors due to a too small sample
}
resourceLimits = [
cpus: 4,
memory: '15.GB',
time: '1.h'
]
}
12 changes: 7 additions & 5 deletions conf/test_screening_count_table.config
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,18 @@
----------------------------------------------------------------------------------------
*/
process {
resourceLimits = [
cpus: 4,
memory: '15.GB',
time: '1.h'
]
}

params {
config_profile_name = 'Test screening profile with an input count table'
config_profile_description = 'Minimal test dataset to check pipeline function'

// Limit resources so that this can run on GitHub Actions
max_cpus = 2
max_memory = '6.GB'
max_time = '6.h'

// Input data
count_table = params.pipelines_testdata_base_path + "crisprseq/testdata/count_table.tsv"
analysis = 'screening'
Expand Down
9 changes: 5 additions & 4 deletions conf/test_screening_paired.config
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ params {
config_profile_name = 'Test screening profile paired-end'
config_profile_description = 'Minimal test dataset to check pipeline function for paired-end data'

// Limit resources so that this can run on GitHub Actions
max_cpus = 2
max_memory = '6.GB'
max_time = '6.h'

// Input data
input = params.pipelines_testdata_base_path + "crisprseq/testdata/samplesheet_test_paired.csv"
Expand All @@ -29,4 +25,9 @@ process {
withName: BAGEL2_BF {
ext.args = '-s 3' // Seed to avoid random errors due to a too small sample
}
resourceLimits = [
cpus: 4,
memory: '15.GB',
time: '1.h'
]
}
9 changes: 5 additions & 4 deletions conf/test_screening_rra.config
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ params {
config_profile_name = 'Test screening profile'
config_profile_description = 'Minimal test dataset to check pipeline function'

// Limit resources so that this can run on GitHub Actions
max_cpus = 2
max_memory = '6.GB'
max_time = '6.h'

// Input data
input = params.pipelines_testdata_base_path + "crisprseq/testdata/samplesheet_test.csv"
Expand All @@ -34,4 +30,9 @@ process {
withName: BAGEL2_BF {
ext.args = '-s 3' // Seed to avoid random errors due to a too small sample
}
resourceLimits = [
cpus: 4,
memory: '15.GB',
time: '1.h'
]
}
13 changes: 8 additions & 5 deletions conf/test_umis.config
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ params {
config_profile_name = 'Test profile UMIs'
config_profile_description = 'Minimal test dataset to check pipeline function with UMIs option'

// Limit resources so that this can run on GitHub Actions
max_cpus = 2
max_memory = '6.GB'
max_time = '6.h'

// Input data
input = params.pipelines_testdata_base_path + "crisprseq/testdata-edition/samplesheet_test_umis.csv"
analysis = 'targeted'
Expand All @@ -27,3 +22,11 @@ params {
// Aligner
aligner = 'minimap2'
}

process {
resourceLimits = [
cpus: 4,
memory: '15.GB',
time: '1.h'
]
}

0 comments on commit 9fb3903

Please sign in to comment.