Skip to content

Commit bd6f60d

Browse files
committed
Add gcta/reml module
1 parent 69017e7 commit bd6f60d

659 files changed

Lines changed: 9917 additions & 24778 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/fix-linting.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434

3535
- name: Run prek
3636
id: prek
37-
uses: j178/prek-action@bdca6f102f98e2b4c7029491a53dfd366469e33d # v2.0.4
37+
uses: j178/prek-action@6ad80277337ad479fe43bd70701c3f7f8aa74db3 # v2.0.3
3838
continue-on-error: true
3939

4040
# indication that the linting has finished

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ jobs:
3939
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
4040
- uses: nf-core/setup-nextflow@b4ec1bc7c16a94435159de94a05253542fddf6ef # v3
4141
- name: Run prek
42-
uses: j178/prek-action@bdca6f102f98e2b4c7029491a53dfd366469e33d # v2.0.4
42+
uses: j178/prek-action@6ad80277337ad479fe43bd70701c3f7f8aa74db3 # v2.0.3
4343
with:
44-
extra-args: ""
44+
extra_args: ""
4545

4646
###################
4747
# nf-core linting #

.github/workflows/nf-test-gpu.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,7 @@ jobs:
104104
# Standard GPU tests (g4dn.xlarge - 4 vCPU, 16 GB RAM, T4 GPU)
105105
# Runs tests tagged "gpu" (20+ modules: parabricks, amulety, cellpose, etc.)
106106
nf-test-gpu:
107-
runs-on:
108-
- runs-on=${{ github.run_id }}
109-
- family=g4dn.xlarge
110-
- image=ubuntu24-gpu-x64
111-
- volume=40gb
107+
runs-on: "runs-on=${{ github.run_id }}/family=g4dn.xlarge/image=ubuntu24-gpu-x64"
112108
name: "GPU Test | g4dn.xlarge | ${{ matrix.profile }} | ${{ matrix.shard }}"
113109
needs: [nf-test-changes]
114110
if: ${{ needs.nf-test-changes.outputs.gpu_total_shards != '0' && needs.nf-test-changes.outputs.gpu_total_shards != '' }}

.github/workflows/nf-test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ jobs:
9393
- runs-on=${{ github.run_id }}
9494
- runner=4cpu-linux-${{ matrix.arch }}
9595
- image=ubuntu24-full-${{ matrix.arch }}
96-
- volume=40gb
9796
name: "${{ matrix.arch }} | ${{ matrix.profile }} | ${{ matrix.shard }}"
9897
needs: [nf-test-changes]
9998
if: ${{ needs.nf-test-changes.outputs.total_shards != '0' }}

.pre-commit-config.yaml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ repos:
33
rev: "v3.1.0"
44
hooks:
55
- id: prettier
6-
priority: 0
76
entry: prettier --experimental-cli --write --ignore-unknown --no-cache
87
exclude: |
98
(?x)^(
@@ -16,14 +15,12 @@ repos:
1615
rev: v6.0.0
1716
hooks:
1817
- id: trailing-whitespace
19-
priority: 10
2018
args: [--markdown-linebreak-ext=md]
2119
exclude: |
2220
(?x)^(
2321
.*\.snap$
2422
)$
2523
- id: end-of-file-fixer
26-
priority: 10
2724
exclude: |
2825
(?x)^(
2926
.*\.snap$
@@ -33,49 +30,41 @@ repos:
3330
rev: 0.37.2
3431
hooks:
3532
- id: check-jsonschema
36-
priority: 20
3733
name: "Match meta.ymls in one of the subdirectories of modules/nf-core"
3834
files: ^modules/nf-core/.*/meta\.yml$
3935
types: [yaml]
4036
args: ["--schemafile", "modules/yaml-schema.json"]
4137
- id: check-jsonschema
42-
priority: 20
4338
name: "Validate environment.ymls against schema"
4439
files: ^modules/nf-core/.*/environment\.yml$
4540
types: [yaml]
4641
args: ["--schemafile", "modules/environment-schema.json"]
4742
- id: check-jsonschema
48-
priority: 20
4943
name: "Match meta.ymls in one of the subdirectories of subworkflows/nf-core"
5044
files: ^subworkflows/nf-core/.*/meta\.yml$
5145
types: [yaml]
5246
args: ["--schemafile", "subworkflows/yaml-schema.json"]
5347
- id: check-github-workflows
54-
priority: 20
5548

5649
# use ruff for python files
5750
- repo: https://github.com/astral-sh/ruff-pre-commit
58-
rev: v0.15.13
51+
rev: v0.15.12
5952
hooks:
60-
- id: ruff-check
61-
priority: 10
53+
- id: ruff
6254
files: \.py$
6355
args: [--fix, --exit-non-zero-on-fix, "--select", "I,E1,E4,E7,E9,F,UP,N"] # sort imports and fix (rules taken from nf-core/tools)
6456
- id: ruff-format # formatter
65-
priority: 0
66-
# NOTE This runs with Docker instead of the binary. Hoping anyone messing with Dockerfiles has Docker installed
57+
# NOTE This runs with Docker instead of the binary. Hoping anyone messing with Dockerfiles has Docker installed
6758
- repo: https://github.com/hadolint/hadolint
6859
rev: v2.14.0
6960
hooks:
7061
- id: hadolint-docker
71-
priority: 0
7262
args: ["--failure-threshold", "error"]
7363

7464
- repo: https://github.com/seqeralabs/nf-lint-pre-commit
7565
rev: v0.3.0
7666
hooks:
7767
- id: nextflow-lint
78-
priority: 0
7968
files: '\.nf$|nextflow\.config$'
8069
args: ["-output", "json"]
8170
# TODO add formatting at a later stage

modules/environment-schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://json-schema.org/draft/2020-12/schema",
2+
"$schema": "http://json-schema.org/draft-07/schema",
33
"title": "conda environment yaml",
44
"description": "Validate the environment.yml file for an nf-core module",
55
"type": "object",

modules/meta-schema.json

Lines changed: 62 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://json-schema.org/draft/2020-12/schema",
2+
"$schema": "http://json-schema.org/draft-07/schema",
33
"title": "Meta yaml",
44
"description": "Validate the meta yaml file for an nf-core module",
55
"type": "object",
@@ -12,10 +12,6 @@
1212
"type": "string",
1313
"description": "Description of the module"
1414
},
15-
"deprecated": {
16-
"type": "boolean",
17-
"description": "Whether the module is deprecated and should not be used in new pipelines"
18-
},
1915
"keywords": {
2016
"type": "array",
2117
"description": "Keywords for the module",
@@ -57,13 +53,14 @@
5753
"pattern": "^https?://.*$"
5854
},
5955
"doi": {
60-
"type": "string",
6156
"description": "DOI of the tool",
6257
"anyOf": [
6358
{
59+
"type": "string",
6460
"pattern": "^10\\.\\d{4,9}\\/[^,]+$"
6561
},
6662
{
63+
"type": "string",
6764
"enum": ["no DOI available"]
6865
}
6966
]
@@ -117,16 +114,39 @@
117114
}
118115
},
119116
"input": {
120-
"$ref": "#/$defs/channelArray",
121-
"description": "Input channels for the module"
117+
"type": "array",
118+
"description": "Input channels for the module",
119+
"items": {
120+
"oneOf": [
121+
{
122+
"$ref": "#/definitions/channelElement"
123+
},
124+
{
125+
"type": "array",
126+
"items": {
127+
"$ref": "#/definitions/channelElement"
128+
}
129+
}
130+
]
131+
}
122132
},
123133
"output": {
124-
"$ref": "#/$defs/channelMap",
125-
"description": "Output channels for the module"
134+
"type": "object",
135+
"description": "Output channels for the module",
136+
"patternProperties": {
137+
".*": {
138+
"$ref": "#/definitions/channelArray"
139+
}
140+
}
126141
},
127142
"topics": {
128-
"$ref": "#/$defs/channelMap",
129-
"description": "Topics of the module"
143+
"type": "object",
144+
"description": "Topics of the module",
145+
"patternProperties": {
146+
".*": {
147+
"$ref": "#/definitions/channelArray"
148+
}
149+
}
130150
},
131151
"authors": {
132152
"type": "array",
@@ -150,55 +170,44 @@
150170
"type": "object",
151171
"description": "Docker containers for different architectures",
152172
"additionalProperties": {
153-
"$ref": "#/$defs/container"
173+
"$ref": "#/definitions/container"
154174
}
155175
},
156176
"singularity": {
157177
"type": "object",
158178
"description": "Singularity containers for different architectures",
159179
"additionalProperties": {
160-
"$ref": "#/$defs/container",
161-
"properties": {
162-
"name": {
163-
"pattern": "^oras://.*$"
180+
"allOf": [
181+
{
182+
"$ref": "#/definitions/container"
183+
},
184+
{
185+
"properties": {
186+
"name": {
187+
"pattern": "^oras://.*$"
188+
}
189+
},
190+
"required": ["https"]
164191
}
165-
},
166-
"required": ["https"]
192+
]
167193
}
168194
},
169195
"conda": {
170196
"type": "object",
171197
"description": "Conda lock files for different architectures",
172198
"additionalProperties": {
173-
"type": "object",
174-
"description": "Conda lock file information",
175-
"properties": {
176-
"lock_file": {
177-
"type": "string",
178-
"description": "Path to the conda lock file, relative to the repository root",
179-
"pattern": "^.*\\.conda-lock/.*\\.txt$"
180-
}
181-
},
182-
"required": ["lock_file"]
199+
"$ref": "#/definitions/condaLockFile"
183200
}
184201
}
185202
}
186203
}
187204
},
188-
"$defs": {
189-
"channelMap": {
190-
"type": "object",
191-
"patternProperties": {
192-
".*": {
193-
"$ref": "#/$defs/channelArray"
194-
}
195-
}
196-
},
205+
"definitions": {
197206
"channelElement": {
198207
"type": "object",
199208
"patternProperties": {
200209
".*": {
201-
"$ref": "#/$defs/elementProperties"
210+
"$ref": "#/definitions/elementProperties"
202211
}
203212
}
204213
},
@@ -207,12 +216,12 @@
207216
"items": {
208217
"oneOf": [
209218
{
210-
"$ref": "#/$defs/channelElement"
219+
"$ref": "#/definitions/channelElement"
211220
},
212221
{
213222
"type": "array",
214223
"items": {
215-
"$ref": "#/$defs/channelElement"
224+
"$ref": "#/definitions/channelElement"
216225
}
217226
}
218227
]
@@ -282,6 +291,18 @@
282291
}
283292
},
284293
"required": ["name", "build_id"]
294+
},
295+
"condaLockFile": {
296+
"type": "object",
297+
"description": "Conda lock file information",
298+
"properties": {
299+
"lock_file": {
300+
"type": "string",
301+
"description": "Path to the conda lock file, relative to the repository root",
302+
"pattern": "^.*\\.conda-lock/.*\\.txt$"
303+
}
304+
},
305+
"required": ["lock_file"]
285306
}
286307
},
287308
"required": ["name", "description", "keywords", "authors", "output", "tools"]

modules/nf-core/ampcombi/meta.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: "ampcombi"
22
description: A tool to parse and summarise results from antimicrobial peptides tools
33
and present functional classification.
4-
deprecated: true
54
keywords:
65
- antimicrobial peptides
76
- amps

modules/nf-core/amulety/antiberta2/meta.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
name: "amulety_antiberta2"
33
description: A module to create antiberta2 embeddings of antibody (BCR) amino acid
44
sequences using amulety.
5-
deprecated: true
65
keywords:
76
- embeddings
87
- BCR

modules/nf-core/amulety/antiberty/meta.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
name: "amulety_antiberty"
33
description: A module to create antiberty embeddings of antibody (BCR) amino acid
44
sequences using amulety.
5-
deprecated: true
65
keywords:
76
- embeddings
87
- BCR

0 commit comments

Comments
 (0)