Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 18 additions & 8 deletions assets/schema_input.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,31 @@
"type": "string",
"format": "file-path",
"exists": true,
"pattern": "^\\S+\\.f(ast)?q\\.gz$",
"errorMessage": "FastQ file for reads 1 must be provided, cannot contain spaces and must have extension '.fq.gz' or '.fastq.gz'"
"pattern": "\\.f(ast)?q\\.gz$",
"errorMessage": "FastQ file for reads 1 must be provided and must have extension '.fq.gz' or '.fastq.gz'"
},
"fastq_2": {
"type": "string",
"format": "file-path",
"exists": true,
"pattern": "^\\S+\\.f(ast)?q\\.gz$",
"errorMessage": "FastQ file for reads 2 cannot contain spaces and must have extension '.fq.gz' or '.fastq.gz'"
"pattern": "\\.f(ast)?q\\.gz$",
"errorMessage": "FastQ file for reads 2 is optional and must have extension '.fq.gz' or '.fastq.gz' if provided"
},
"rundir": {
"type": "string",
"format": "path",
"exists": true,
"errorMessage": "Run directory must be a path",
"oneOf": [
{
"type": "string",
"format": "file-path",
"exists": true,
"pattern": "\\.tar\\.gz$"
},
{
"type": "string",
"format": "directory-path",
"exists": true
}
],
"errorMessage": "Run directory must be a path or tar directory",
"meta": ["rundir"]
}
},
Expand Down