2023-10-18 22:45:52 -04:00
|
|
|
{
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
|
|
"$id": "https://raw.githubusercontent.com/nf-core/taxprofiler/master/assets/schema_input.json",
|
|
|
|
"title": "haplotyper battle royale pipeline - params.input schema",
|
|
|
|
"description": "Schema for the file provided with params.input",
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"sample": {
|
|
|
|
"type": "string",
|
|
|
|
"pattern": "^\\S+$",
|
|
|
|
"errorMessage": "Sample name must be provided and cannot contain spaces"
|
|
|
|
},
|
2023-10-19 12:38:43 -04:00
|
|
|
"sra": {
|
2023-10-18 22:45:52 -04:00
|
|
|
"type": "string",
|
2023-10-19 12:38:43 -04:00
|
|
|
"pattern": "^(((SR|ER|DR)[APRSX])|(SAM(N|EA|D))|(PRJ(NA|EB|DB))|(GS[EM])|(syn))(\\d+)$",
|
|
|
|
"errorMessage": "Please provide a valid SRA, ENA, DDBJ or GEO identifier"
|
2023-10-18 22:45:52 -04:00
|
|
|
}
|
|
|
|
},
|
2023-10-19 12:38:43 -04:00
|
|
|
"required": ["sample", "sra"]
|
2023-10-18 22:45:52 -04:00
|
|
|
}
|
|
|
|
}
|