-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathro-crate-metadata.json
More file actions
345 lines (345 loc) · 17.6 KB
/
Copy pathro-crate-metadata.json
File metadata and controls
345 lines (345 loc) · 17.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
{
"@context": [
"https://w3id.org/ro/crate/1.2/context",
{
"GithubService": "https://w3id.org/ro/terms/test#GithubService",
"JenkinsService": "https://w3id.org/ro/terms/test#JenkinsService",
"PlanemoEngine": "https://w3id.org/ro/terms/test#PlanemoEngine",
"TestDefinition": "https://w3id.org/ro/terms/test#TestDefinition",
"TestInstance": "https://w3id.org/ro/terms/test#TestInstance",
"TestService": "https://w3id.org/ro/terms/test#TestService",
"TestSuite": "https://w3id.org/ro/terms/test#TestSuite",
"TravisService": "https://w3id.org/ro/terms/test#TravisService",
"definition": "https://w3id.org/ro/terms/test#definition",
"engineVersion": "https://w3id.org/ro/terms/test#engineVersion",
"instance": "https://w3id.org/ro/terms/test#instance",
"resource": "https://w3id.org/ro/terms/test#resource",
"runsOn": "https://w3id.org/ro/terms/test#runsOn"
}
],
"@graph": [
{
"@id": "./",
"@type": "Dataset",
"creativeWorkStatus": "InProgress",
"datePublished": "2026-09-02T05:13:27+00:00",
"description": "\u003cp align=\"center\"\u003e\n \u003cpicture\u003e\n \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"docs/images/nf-core-dnaprs_logo_dark.png\"\u003e\n \u003cimg src=\"docs/images/nf-core-dnaprs_logo_light.png\" alt=\"dnaprs\"\u003e\n \u003c/picture\u003e\n\u003c/p\u003e\n\n[](https://github.com/paulYRP/dnaprs/actions/workflows/nf-test.yml)\n[](https://github.com/paulYRP/dnaprs/actions/workflows/linting.yml)\n[](https://www.nextflow.io/)\n[](https://github.com/nf-core/tools/releases/tag/4.1.0)\n[](https://www.nf-test.com/)\n[](LICENSE)\n\n## Introduction\n\n**dnaprs** is a portable Nextflow DSL2 pipeline for generating and evaluating polygenic\nrisk scores from raw target genotypes and raw GWAS summary statistics.\n\nThe pipeline discovers PGEN, BED, PED/MAP, BGEN, VCF/BCF, or GenomeStudio FinalReport\ninputs; records raw genotype EDA; resolves markers against pinned GRCh37 references;\napplies two target-QC checkpoints; and projects participants onto unrelated 1000 Genomes\nreference PCA axes. It can impute with Beagle, generate PLINK C+T and/or SBayesRC\nscores, apply participant eligibility consistently, and fit phenotype models.\n\n[](docs/images/dnaprs-workflow.png)\n\nBeagle imputation and phenotype modelling are optional. REF icons identify resources\nfrom the verified reference cache. Direct-score sensitivity uses unimputed genotypes\nand remains separate from the primary scores.\n\nThe workflow publishes one run under `dnaprs/model1/` by default:\n\n- `data/` — generated records, checkpoints, QC, weights, scores, and model tables;\n- `figures/` — a convenient copy of every report figure;\n- `logs/` — scientific and execution logs;\n- `reports/` — the portable HTML website, downloads, and provenance.\n\n## Minimal run\n\nInstall Java 17 or newer, Nextflow 25.10.4 or newer, and Docker, Apptainer, or Singularity. With one raw target dataset in `data/plink/raw/` and raw GWAS files in `data/gwas/raw/`:\n\n```bash\nnextflow run . -profile singularity -resume\n```\n\nThe defaults are equivalent to:\n\n```bash\nnextflow run . \\\n -profile singularity \\\n --input data/plink/raw \\\n --gwas data/gwas/raw \\\n --outdir dnaprs \\\n --run_name model1 \\\n -resume\n```\n\nAdd one phenotype model from a phenotype table:\n\n```bash\nnextflow run . \\\n -profile singularity \\\n --input data/plink/raw \\\n --gwas data/gwas/raw \\\n --phenotype data/pheno/pheno.csv \\\n --outcome depression_score \\\n --covariates age,sex \\\n --model_type gaussian \\\n -resume\n```\n\nIf the participant-ID column cannot be matched uniquely to target IDs, also supply `--participant_id \u003ccolumn\u003e`.\n\nRepeated phenotype rows are supported through an explicit timepoint selection in\n`params.yml`, such as `timepoint_column: Timepoint` and `timepoint_values: [1]`. The input\nrows remain unchanged; the model uses one agreeing record per participant at the\nrequested value. Analysis values may differ between visits.\n\n## References\n\n`--reference_mode auto` is the default. The pipeline downloads only the required assets\nfrom a pinned catalogue, requires and verifies SHA-256 plus size for every asset, and\nreuses each valid asset from\n`references/dnaprs/grch37-v1/`. Beagle and unbref3 are handled in the same way.\n\nTo use an existing reference collection:\n\n```bash\nnextflow run . \\\n -profile singularity \\\n --references /path/to/rData \\\n --reference_mode local \\\n -resume\n```\n\nTo build or verify only the reusable reference cache, set `reference_only: true` in a\nsmall YAML parameter file and run with `-params-file`.\n\n## Configured and HPC runs\n\n`--input` and `--gwas` each accept either a conventional raw-data directory or a YAML\nlist of explicit records. The pipeline resolves both forms into validated TSV records\nfor internal hand-off and provenance. A GenomeStudio assay manifest is an input file\npaired with a FinalReport and is distinct from these generated records. Paths, GWAS\ncolumn roles, thresholds, selected methods, and multiple phenotype models can all be\ndeclared in YAML. See [the complete usage guide](docs/usage.md) and\n[`examples/params.yml`](examples/params.yml).\n\nProcesses use standard nf-core-style resource labels and pass `task.cpus` and bounded\ntask memory to capable tools. Nextflow handles cohort, chromosome-imputation, trait,\nmethod, reference, and model tasks concurrently, then validates deterministic gathers.\nScheduler, queue, project, and filesystem settings remain\noutside the pipeline, so the same workflow runs locally or through PBS Pro, Slurm, SGE,\nLSF, and other Nextflow executors. Site-specific launchers and module commands belong\noutside the portable pipeline repository.\n\nSBayesRC is a high-memory, long-running method. Use `--methods plink_ct` for a smaller\nrun; selecting fewer methods changes the selected analysis, not the executor.\n\n## Report and validation\n\nOpen `dnaprs/model1/reports/index.html` after completion. The report preserves every\navailable plot and provides SVG plus high-resolution PNG, TIFF, and JPEG downloads. Its\nLogs page displays execution artifacts in expandable, scrollable panels.\nWhen imputation is enabled, the PLINK page also reports typed-versus-imputed scoring\ncoverage and agreement between the primary imputed score and direct-genotype sensitivity\nscore; sensitivity scores are not added to phenotype models.\n\nRun the minimal real-tool pipeline test with Docker:\n\n```bash\nnf-test test tests/default.nf.test --profile +docker --ci\n```\n\nRun the full graph test explicitly in stub mode:\n\n```bash\nnf-test test tests/stub.nf.test --profile +test_full --ci\n```\n\nRun the focused early-stage and automatic-reference graph checks:\n\n```bash\nnf-test test tests/stages.nf.test tests/reference.nf.test --profile +docker --ci\n```\n\nThese are software-contract tests, not biological or clinical validation. Phenotype\nassociations are research estimates and do not make a PRS a clinical risk prediction.\n\n## Documentation\n\n- [Input, reference, phenotype, and run options](docs/usage.md)\n- [Output files and interpretation](docs/output.md)\n- [Pinned software environments](containers/README.md)\n- [Contributing and testing](docs/CONTRIBUTING.md)\n- [Citations](CITATIONS.md)\n\nThe code is released under the [MIT licence](LICENSE). External tools, GWAS data, and\nreference resources retain their own licences and access conditions.\n",
"hasPart": [
{
"@id": "main.nf"
},
{
"@id": "assets/"
},
{
"@id": "bin/"
},
{
"@id": "conf/"
},
{
"@id": "docs/"
},
{
"@id": "docs/images/"
},
{
"@id": "modules/"
},
{
"@id": "modules/local/"
},
{
"@id": "modules/nf-core/"
},
{
"@id": "workflows/"
},
{
"@id": "subworkflows/"
},
{
"@id": "nextflow.config"
},
{
"@id": "README.md"
},
{
"@id": "nextflow_schema.json"
},
{
"@id": "CHANGELOG.md"
},
{
"@id": "LICENSE"
},
{
"@id": "CODE_OF_CONDUCT.md"
},
{
"@id": "CITATIONS.md"
},
{
"@id": "modules.json"
},
{
"@id": "docs/usage.md"
},
{
"@id": "docs/output.md"
},
{
"@id": ".nf-core.yml"
},
{
"@id": ".pre-commit-config.yaml"
},
{
"@id": ".prettierignore"
}
],
"isBasedOn": "https://github.com/paulYRP/dnaprs",
"license": "MIT",
"mainEntity": {
"@id": "main.nf"
},
"mentions": [
{
"@id": "#767ffea1-ccb4-42b8-9ba6-c0a10141f420"
}
],
"name": "paulYRP/dnaprs"
},
{
"@id": "ro-crate-metadata.json",
"@type": "CreativeWork",
"about": {
"@id": "./"
},
"conformsTo": [
{
"@id": "https://w3id.org/ro/crate/1.2"
},
{
"@id": "https://w3id.org/workflowhub/workflow-ro-crate/1.0"
}
]
},
{
"@id": "main.nf",
"@type": [
"File",
"SoftwareSourceCode",
"ComputationalWorkflow"
],
"author": [
{
"@id": "#a65237af-259f-4a05-a253-3685635c3802"
}
],
"dateCreated": "",
"dateModified": "2026-09-02T05:13:27Z",
"dct:conformsTo": "https://bioschemas.org/profiles/ComputationalWorkflow/1.0-RELEASE/",
"description": "Generate and evaluate polygenic risk scores with PLINK and SBayesRC.",
"keywords": [
"nf-core",
"nextflow"
],
"license": [
"MIT"
],
"maintainer": [
{
"@id": "#a65237af-259f-4a05-a253-3685635c3802"
}
],
"name": [
"paulYRP/dnaprs"
],
"programmingLanguage": {
"@id": "https://w3id.org/workflowhub/workflow-ro-crate#nextflow"
},
"sdPublisher": {
"@id": "https://nf-co.re/"
},
"url": [
"https://github.com/paulYRP/dnaprs",
"https://nf-co.re/paulYRP/dnaprs/dev/"
],
"version": [
"1.0.0dev"
]
},
{
"@id": "https://w3id.org/workflowhub/workflow-ro-crate#nextflow",
"@type": "ComputerLanguage",
"identifier": {
"@id": "https://www.nextflow.io/"
},
"name": "Nextflow",
"url": {
"@id": "https://www.nextflow.io/"
},
"version": "!>=25.10.4"
},
{
"@id": "#767ffea1-ccb4-42b8-9ba6-c0a10141f420",
"@type": "TestSuite",
"instance": [
{
"@id": "#54fcc168-fd68-4b94-a245-629b6bd36e7b"
}
],
"mainEntity": {
"@id": "main.nf"
},
"name": "Test suite for paulYRP/dnaprs"
},
{
"@id": "#54fcc168-fd68-4b94-a245-629b6bd36e7b",
"@type": "TestInstance",
"name": "GitHub Actions workflow for testing paulYRP/dnaprs",
"resource": "repos/paulYRP/dnaprs/actions/workflows/nf-test.yml",
"runsOn": {
"@id": "https://w3id.org/ro/terms/test#GithubService"
},
"url": "https://api.github.com"
},
{
"@id": "https://w3id.org/ro/terms/test#GithubService",
"@type": "TestService",
"name": "Github Actions",
"url": {
"@id": "https://github.com"
}
},
{
"@id": "assets/",
"@type": "Dataset",
"description": "Additional files"
},
{
"@id": "bin/",
"@type": "Dataset",
"description": "Scripts that must be callable from a pipeline process"
},
{
"@id": "conf/",
"@type": "Dataset",
"description": "Configuration files"
},
{
"@id": "docs/",
"@type": "Dataset",
"description": "Markdown files for documenting the pipeline"
},
{
"@id": "docs/images/",
"@type": "Dataset",
"description": "Images for the documentation files"
},
{
"@id": "modules/",
"@type": "Dataset",
"description": "Modules used by the pipeline"
},
{
"@id": "modules/local/",
"@type": "Dataset",
"description": "Pipeline-specific modules"
},
{
"@id": "modules/nf-core/",
"@type": "Dataset",
"description": "nf-core modules"
},
{
"@id": "workflows/",
"@type": "Dataset",
"description": "Main pipeline workflows to be executed in main.nf"
},
{
"@id": "subworkflows/",
"@type": "Dataset",
"description": "Smaller subworkflows"
},
{
"@id": "nextflow.config",
"@type": "File",
"description": "Main Nextflow configuration file"
},
{
"@id": "README.md",
"@type": "File",
"description": "Basic pipeline usage information"
},
{
"@id": "nextflow_schema.json",
"@type": "File",
"description": "JSON schema for pipeline parameter specification"
},
{
"@id": "CHANGELOG.md",
"@type": "File",
"description": "Information on changes made to the pipeline"
},
{
"@id": "LICENSE",
"@type": "File",
"description": "The license - should be MIT"
},
{
"@id": "CODE_OF_CONDUCT.md",
"@type": "File",
"description": "The nf-core code of conduct"
},
{
"@id": "CITATIONS.md",
"@type": "File",
"description": "Citations needed when using the pipeline"
},
{
"@id": "modules.json",
"@type": "File",
"description": "Version information for modules from nf-core/modules"
},
{
"@id": "docs/usage.md",
"@type": "File",
"description": "Usage documentation"
},
{
"@id": "docs/output.md",
"@type": "File",
"description": "Output documentation"
},
{
"@id": ".nf-core.yml",
"@type": "File",
"description": "nf-core configuration file, configuring template features and linting rules"
},
{
"@id": ".pre-commit-config.yaml",
"@type": "File",
"description": "Configuration file for pre-commit hooks"
},
{
"@id": ".prettierignore",
"@type": "File",
"description": "Ignore file for prettier"
},
{
"@id": "https://nf-co.re/",
"@type": "Organization",
"name": "nf-core",
"url": "https://nf-co.re/"
},
{
"@id": "#a65237af-259f-4a05-a253-3685635c3802",
"@type": "Person",
"affiliation": "Queensland University of Technology",
"name": "Paul Ruiz Pinto",
"url": "https://github.com/paulYRP"
}
]
}