{ "$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" }, "sra": { "type": "string", "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" } }, "required": ["sample", "sra"] } }