Skip to content

Commit 4147a2f

Browse files
committed
Update module structure to nf-core
1 parent cb28166 commit 4147a2f

File tree

18 files changed

+50
-124
lines changed

18 files changed

+50
-124
lines changed

assets/schema_preprocessing.json

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,33 +40,30 @@
4040
"default": ""
4141
}
4242
},
43-
"required": [
44-
"id",
45-
"protocol"
46-
],
43+
"required": ["id", "protocol"],
4744
"allOf": [
4845
{
4946
"if": {
50-
"properties": { "protocol": { "const": "ibis" } }
47+
"properties": { "protocol": { "const": "ibis" } }
5148
},
5249
"then": {
53-
"required": ["background_type", "variable", "target"]
50+
"required": ["background_type", "variable", "target"]
5451
}
5552
},
5653
{
5754
"if": {
58-
"properties": { "background_type": { "const": "aliens" } }
55+
"properties": { "background_type": { "const": "aliens" } }
5956
},
6057
"then": {
61-
"required": ["background"]
58+
"required": ["background"]
6259
}
6360
},
6461
{
6562
"if": {
66-
"properties": { "background_type": { "const": "shade" } }
63+
"properties": { "background_type": { "const": "shade" } }
6764
},
6865
"then": {
69-
"required": ["shade_args"]
66+
"required": ["shade_args"]
7067
}
7168
}
7269
],

modules.json

Lines changed: 10 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -8,44 +8,32 @@
88
"bedtools/getfasta": {
99
"branch": "master",
1010
"git_sha": "81880787133db07d9b4c1febd152c090eb8325dc",
11-
"installed_by": [
12-
"modules"
13-
]
11+
"installed_by": ["modules"]
1412
},
1513
"bedtools/shift": {
1614
"branch": "master",
1715
"git_sha": "81880787133db07d9b4c1febd152c090eb8325dc",
18-
"installed_by": [
19-
"modules"
20-
]
16+
"installed_by": ["modules"]
2117
},
2218
"bedtools/slop": {
2319
"branch": "master",
2420
"git_sha": "81880787133db07d9b4c1febd152c090eb8325dc",
25-
"installed_by": [
26-
"modules"
27-
]
21+
"installed_by": ["modules"]
2822
},
2923
"bedtools/subtract": {
3024
"branch": "master",
3125
"git_sha": "81880787133db07d9b4c1febd152c090eb8325dc",
32-
"installed_by": [
33-
"modules"
34-
]
26+
"installed_by": ["modules"]
3527
},
3628
"custom/getchromsizes": {
3729
"branch": "master",
3830
"git_sha": "81880787133db07d9b4c1febd152c090eb8325dc",
39-
"installed_by": [
40-
"modules"
41-
]
31+
"installed_by": ["modules"]
4232
},
4333
"gawk": {
4434
"branch": "master",
4535
"git_sha": "81880787133db07d9b4c1febd152c090eb8325dc",
46-
"installed_by": [
47-
"modules"
48-
]
36+
"installed_by": ["modules"]
4937
}
5038
}
5139
},
@@ -54,26 +42,20 @@
5442
"utils_nextflow_pipeline": {
5543
"branch": "master",
5644
"git_sha": "3aa0aec1d52d492fe241919f0c6100ebf0074082",
57-
"installed_by": [
58-
"subworkflows"
59-
]
45+
"installed_by": ["subworkflows"]
6046
},
6147
"utils_nfcore_pipeline": {
6248
"branch": "master",
6349
"git_sha": "1b6b9a3338d011367137808b49b923515080e3ba",
64-
"installed_by": [
65-
"subworkflows"
66-
]
50+
"installed_by": ["subworkflows"]
6751
},
6852
"utils_nfschema_plugin": {
6953
"branch": "master",
7054
"git_sha": "bbd5a41f4535a8defafe6080e00ea74c45f4f96c",
71-
"installed_by": [
72-
"subworkflows"
73-
]
55+
"installed_by": ["subworkflows"]
7456
}
7557
}
7658
}
7759
}
7860
}
79-
}
61+
}

modules/local/bedtools/random/meta.yml

Lines changed: 24 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -15,42 +15,41 @@ tools:
1515
documentation: "None"
1616
tool_dev_url: "None"
1717
doi: ""
18-
licence: ['MIT']
18+
licence: ["MIT"]
1919
identifier: biotools:bedtools
2020

2121
## TODO nf-core: Add a description of all of the variables used as input
2222
input:
2323
#
2424
## TODO nf-core: Delete / customise this example input
25-
- bam:
26-
type: file
27-
description: Sorted BAM/CRAM/SAM file
28-
pattern: "*.{bam,cram,sam}"
29-
ontologies:
30-
- edam: "http://edamontology.org/format_25722"
31-
- edam: "http://edamontology.org/format_2573"
32-
- edam: "http://edamontology.org/format_3462"
33-
25+
- bam:
26+
type: file
27+
description: Sorted BAM/CRAM/SAM file
28+
pattern: "*.{bam,cram,sam}"
29+
ontologies:
30+
- edam: "http://edamontology.org/format_25722"
31+
- edam: "http://edamontology.org/format_2573"
32+
- edam: "http://edamontology.org/format_3462"
3433

3534
## TODO nf-core: Add a description of all of the variables used as output
3635
output:
3736
- bam:
38-
#
39-
## TODO nf-core: Delete / customise this example output
40-
- "*.bam":
41-
type: file
42-
description: Sorted BAM/CRAM/SAM file
43-
pattern: "*.{bam,cram,sam}"
44-
ontologies:
45-
- edam: "http://edamontology.org/format_25722"
46-
- edam: "http://edamontology.org/format_2573"
47-
- edam: "http://edamontology.org/format_3462"
48-
37+
#
38+
## TODO nf-core: Delete / customise this example output
39+
- "*.bam":
40+
type: file
41+
description: Sorted BAM/CRAM/SAM file
42+
pattern: "*.{bam,cram,sam}"
43+
ontologies:
44+
- edam: "http://edamontology.org/format_25722"
45+
- edam: "http://edamontology.org/format_2573"
46+
- edam: "http://edamontology.org/format_3462"
47+
4948
- versions:
50-
- "versions.yml":
51-
type: file
52-
description: File containing software versions
53-
pattern: "versions.yml"
49+
- "versions.yml":
50+
type: file
51+
description: File containing software versions
52+
pattern: "versions.yml"
5453

5554
authors:
5655
- "@mathysgrapotte"

modules/local/check_model.nf renamed to modules/local/stimulus/check_model/main.nf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
process CHECK_MODEL {
32

43
tag "check model"
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
process STIMULUS_SPLIT_DATA {
32

43
tag "${meta.id}-${meta2.id}"
File renamed without changes.
File renamed without changes.
File renamed without changes.

nextflow.config

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,6 @@ if (params.genome == null) {
196196
}
197197

198198
// Load nf-core/deepmodeloptim custom profiles from different institutions.
199-
// TODO nf-core: Optionally, you can add a pipeline-specific nf-core config at https://github.com/nf-core/configs
200199
// TODO This line can be uncommented once you move the pipeline to nf-core. A file deepmodeloptim.config will be automatically created at the nf-core/configs repo. This is to allow having a pipeline specific config.
201200
// includeConfig !System.getenv('NXF_OFFLINE') && params.custom_config_base ? "${params.custom_config_base}/pipeline/deepmodeloptim.config" : "/dev/null"
202201

0 commit comments

Comments
 (0)