File tree Expand file tree Collapse file tree 14 files changed +224
-179
lines changed
subworkflows/local/utils_nfcore_mag_pipeline Expand file tree Collapse file tree 14 files changed +224
-179
lines changed Original file line number Diff line number Diff line change 2121 "errorMessage" : " Column 'run' contains an empty field. Either remove column 'run' or fill each field with a value."
2222 },
2323 "group" : {
24- "type" : " string" ,
24+ "type" : [ " string" , " integer " ] ,
2525 "pattern" : " ^\\ S+$" ,
2626 "meta" : [" group" ],
2727 "errorMessage" : " Column 'group' contains an empty field. Either remove column 'group' or fill each field with a value."
3838 "format" : " file-path" ,
3939 "exists" : true ,
4040 "pattern" : " ^\\ S+\\ .f(ast)?q\\ .gz$" ,
41- "dependentRequired" : [" short_reads_1" ],
4241 "errorMessage" : " FastQ file for reads 2 cannot contain spaces and must have extension '.fq.gz' or '.fastq.gz'"
4342 },
4443 "long_reads" : {
4544 "type" : " string" ,
4645 "format" : " file-path" ,
4746 "exists" : true ,
4847 "pattern" : " ^\\ S+\\ .f(ast)?q\\ .gz$" ,
49- "dependentRequired" : [" short_reads_1" , " short_reads_2" ],
5048 "errorMessage" : " FastQ file for long reads cannot contain spaces and must have extension '.fq.gz' or '.fastq.gz'"
5149 }
5250 },
5351 "required" : [" sample" , " short_reads_1" ]
52+ },
53+ "uniqueEntries" : [" sample" , " run" ],
54+ "dependentRequired" : {
55+ "short_reads_2" : [" short_reads_1" ],
56+ "long_reads" : [" short_reads_1" , " short_reads_2" ]
5457 }
5558}
Original file line number Diff line number Diff line change 1010----------------------------------------------------------------------------------------
1111*/
1212
13- params {
14- config_profile_name = 'Test profile for running with AdapterRemoval and domain classification'
15- config_profile_description = 'Minimal test dataset to check pipeline function with AdapterRemoval data and domain classification.'
13+ // Limit resources so that this can run on GitHub Actions
14+ process {
15+ resourceLimits = [
16+ cpus: 4,
17+ memory: '15.GB',
18+ time: '1.h'
19+ ]
20+ }
1621
17- // Limit resources so that this can run on GitHub Actions
18- max_cpus = 2
19- max_memory = '6.GB'
20- max_time = '6.h'
22+ params {
23+ config_profile_name = 'Test profile for running with AdapterRemoval and domain classification'
24+ config_profile_description = 'Minimal test dataset to check pipeline function with AdapterRemoval data and domain classification.'
2125
2226 // Input data
2327 input = params.pipelines_testdata_base_path + 'mag/samplesheets/samplesheet.euk.csv'
Original file line number Diff line number Diff line change 1010----------------------------------------------------------------------------------------
1111*/
1212
13- params {
14- config_profile_name = 'Ancient DNA test profile '
15- config_profile_description = 'Minimal test dataset to check pipeline function for ancient DNA step'
13+ // Limit resources so that this can run on GitHub Actions
14+ process {
15+ resourceLimits = [
16+ cpus: 4,
17+ memory: '15.GB',
18+ time: '1.h'
19+ ]
20+ }
1621
17- // Limit resources so that this can run on GitHub Actions
18- max_cpus = 2
19- max_memory = '6.GB '
20- max_time = '6.h '
22+
23+ params {
24+ config_profile_name = 'Ancient DNA test profile '
25+ config_profile_description = 'Minimal test dataset to check pipeline function for ancient DNA step '
2126
2227 // Input data
2328 input = params.pipelines_testdata_base_path + 'mag/samplesheets/samplesheet.csv'
Original file line number Diff line number Diff line change 1010----------------------------------------------------------------------------------------
1111*/
1212
13- params {
14- config_profile_name = 'Test profile'
15- config_profile_description = 'Minimal test dataset to check pipeline function'
13+ // Limit resources so that this can run on GitHub Actions
14+ process {
15+ resourceLimits = [
16+ cpus: 4,
17+ memory: '15.GB',
18+ time: '1.h'
19+ ]
20+ }
1621
17- // Limit resources so that this can run on GitHub Actions
18- max_cpus = 2
19- max_memory = '6.GB'
20- max_time = '6.h'
22+ params {
23+ config_profile_name = 'Test profile'
24+ config_profile_description = 'Minimal test dataset to check pipeline function'
2125
2226 // Input data
23- input = params.pipelines_testdata_base_path + 'mag/samplesheets/samplesheet.csv'
24- keep_phix = true
25- skip_clipping = true
26- skip_prokka = true
27- skip_prodigal = true
28- skip_quast = true
29- skip_binning = true
30- centrifuge_db = params.pipelines_testdata_base_path + 'mag/test_data/minigut_cf.tar.gz'
31- kraken2_db = params.pipelines_testdata_base_path + 'mag/test_data/minigut_kraken.tgz'
32- skip_krona = true
33- min_length_unbinned_contigs = 1
34- max_unbinned_contigs = 2
35- busco_db = "https://busco-data.ezlab.org/v5/data/lineages/bacteria_odb10.2024-01-08.tar.gz"
36- busco_clean = true
37- skip_gtdbtk = true
38- gtdbtk_min_completeness = 0
39- bbnorm = true
40- coassemble_group = true
27+ input = params.pipelines_testdata_base_path + 'mag/samplesheets/samplesheet.csv'
28+ keep_phix = true
29+ skip_clipping = true
30+ skip_prokka = true
31+ skip_prodigal = true
32+ skip_quast = true
33+ skip_binning = true
34+ centrifuge_db = params.pipelines_testdata_base_path + 'mag/test_data/minigut_cf.tar.gz'
35+ kraken2_db = params.pipelines_testdata_base_path + 'mag/test_data/minigut_kraken.tgz'
36+ skip_krona = true
37+ min_length_unbinned_contigs = 1
38+ max_unbinned_contigs = 2
39+ busco_db = "https://busco-data.ezlab.org/v5/data/lineages/bacteria_odb10.2024-01-08.tar.gz"
40+ busco_clean = true
41+ skip_gtdbtk = true
42+ gtdbtk_min_completeness = 0
43+ bbnorm = true
44+ coassemble_group = true
4145}
Original file line number Diff line number Diff line change 1010----------------------------------------------------------------------------------------
1111*/
1212
13- params {
14- config_profile_name = 'Test profile'
15- config_profile_description = 'Minimal test dataset to check pipeline function'
13+ // Limit resources so that this can run on GitHub Actions
14+ process {
15+ resourceLimits = [
16+ cpus: 4,
17+ memory: '15.GB',
18+ time: '1.h'
19+ ]
20+ }
1621
17- // Limit resources so that this can run on GitHub Actions
18- max_cpus = 2
19- max_memory = '6.GB'
20- max_time = '6.h'
22+ params {
23+ config_profile_name = 'Test profile'
24+ config_profile_description = 'Minimal test dataset to check pipeline function'
2125
2226 // Input data
2327 input = params.pipelines_testdata_base_path + 'mag/samplesheets/samplesheet.csv'
Original file line number Diff line number Diff line change 1010----------------------------------------------------------------------------------------
1111*/
1212
13- params {
14- config_profile_name = 'Test profile'
15- config_profile_description = 'Minimal test dataset to check pipeline function'
13+ // Limit resources so that this can run on GitHub Actions
14+ process {
15+ resourceLimits = [
16+ cpus: 4,
17+ memory: '15.GB',
18+ time: '1.h'
19+ ]
20+ }
1621
17- // Limit resources so that this can run on GitHub Actions
18- max_cpus = 2
19- max_memory = '6.GB'
20- max_time = '6.h'
22+ params {
23+ config_profile_name = 'Test profile'
24+ config_profile_description = 'Minimal test dataset to check pipeline function'
2125
2226 // Input data
2327 input = params.pipelines_testdata_base_path + 'mag/samplesheets/samplesheet.csv'
Original file line number Diff line number Diff line change 1111----------------------------------------------------------------------------------------
1212*/
1313
14+ // Limit resources so that this can run on GitHub Actions
15+ process {
16+ resourceLimits = [
17+ cpus: 4,
18+ memory: '15.GB',
19+ time: '1.h'
20+ ]
21+ }
22+
1423params {
1524 config_profile_name = 'Test CONCOCT profile'
1625 config_profile_description = 'Minimal test dataset to check pipeline function'
1726
18- // Limit resources so that this can run on GitHub Actions
19- max_cpus = 2
20- max_memory = '6.GB'
21- max_time = '6.h'
22-
2327 // Input data
24- input = params.pipelines_testdata_base_path + 'mag/samplesheets/samplesheet.csv'
25- centrifuge_db = null
26- kraken2_db = null
27- skip_krona = true
28- skip_clipping = true
29- skip_adapter_trimming = false
30- skip_spades = true
31- skip_spadeshybrid = true
32- skip_megahit = false
33- skip_quast = true
34- skip_prodigal = true
35- skip_binning = false
36- skip_metabat2 = false
37- skip_maxbin2 = true
38- skip_concoct = false
39- skip_prokka = true
40- skip_binqc = true
41- skip_gtdbtk = true
42- gtdbtk_min_completeness = 0
28+ input = params.pipelines_testdata_base_path + 'mag/samplesheets/samplesheet.csv'
29+ centrifuge_db = null
30+ kraken2_db = null
31+ skip_krona = true
32+ skip_clipping = true
33+ skip_adapter_trimming = false
34+ skip_spades = true
35+ skip_spadeshybrid = true
36+ skip_megahit = false
37+ skip_quast = true
38+ skip_prodigal = true
39+ skip_binning = false
40+ skip_metabat2 = false
41+ skip_maxbin2 = true
42+ skip_concoct = false
43+ skip_prokka = true
44+ skip_binqc = true
45+ skip_gtdbtk = true
46+ gtdbtk_min_completeness = 0
4347}
Original file line number Diff line number Diff line change 1010----------------------------------------------------------------------------------------
1111*/
1212
13- params {
14- config_profile_name = 'Test profile'
15- config_profile_description = 'Minimal test dataset to check pipeline function'
13+ // Limit resources so that this can run on GitHub Actions
14+ process {
15+ resourceLimits = [
16+ cpus: 4,
17+ memory: '15.GB',
18+ time: '1.h'
19+ ]
20+ }
1621
17- // Limit resources so that this can run on GitHub Actions
18- max_cpus = 2
19- max_memory = '6.GB'
20- max_time = '6.h'
22+ params {
23+ config_profile_name = 'Test profile'
24+ config_profile_description = 'Minimal test dataset to check pipeline function'
2125
2226 // Input data
2327 host_fasta = params.pipelines_testdata_base_path + 'mag/host_reference/genome.hg38.chr21_10000bp_region.fa'
Original file line number Diff line number Diff line change 1010----------------------------------------------------------------------------------------
1111*/
1212
13- params {
14- config_profile_name = 'Test profile'
15- config_profile_description = 'Minimal test dataset to check pipeline function'
13+ // Limit resources so that this can run on GitHub Actions
14+ process {
15+ resourceLimits = [
16+ cpus: 4,
17+ memory: '15.GB',
18+ time: '1.h'
19+ ]
20+ }
1621
17- // Limit resources so that this can run on GitHub Actions
18- max_cpus = 2
19- max_memory = '6.GB'
20- max_time = '6.h'
22+ params {
23+ config_profile_name = 'Test profile'
24+ config_profile_description = 'Minimal test dataset to check pipeline function'
2125
2226 // Input data
2327 input = params.pipelines_testdata_base_path + 'mag/samplesheets/samplesheet.hybrid.csv'
Original file line number Diff line number Diff line change 1010----------------------------------------------------------------------------------------
1111*/
1212
13- params {
14- config_profile_name = 'Test profile'
15- config_profile_description = 'Minimal test dataset to check pipeline function'
13+ // Limit resources so that this can run on GitHub Actions
14+ process {
15+ resourceLimits = [
16+ cpus: 4,
17+ memory: '15.GB',
18+ time: '1.h'
19+ ]
20+ }
1621
17- // Limit resources so that this can run on GitHub Actions
18- max_cpus = 2
19- max_memory = '6.GB'
20- max_time = '6.h'
22+ params {
23+ config_profile_name = 'Test profile'
24+ config_profile_description = 'Minimal test dataset to check pipeline function'
2125
2226 // Input data
2327 host_fasta = params.pipelines_testdata_base_path + 'mag/host_reference/genome.hg38.chr21_10000bp_region.fa'
You can’t perform that action at this time.
0 commit comments