Skip to content

Commit ae6837e

Browse files
Update schema_input.json
1 parent a637b47 commit ae6837e

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

assets/schema_input.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,21 @@
1313
"errorMessage": "Sample name must be provided and cannot contain spaces",
1414
"meta": ["id"]
1515
},
16-
"fastq_1": {
16+
"sam": {
1717
"type": "string",
1818
"format": "file-path",
1919
"exists": true,
20-
"pattern": "^\\S+\\.f(ast)?q\\.gz$",
21-
"errorMessage": "FastQ file for reads 1 must be provided, cannot contain spaces and must have extension '.fq.gz' or '.fastq.gz'"
20+
"pattern": "^\\S+\\.sam$",
21+
"errorMessage": "SAM file must be provided and cannot contain spaces and must have extension '.sam'"
2222
},
23-
"fastq_2": {
23+
"fasta": {
2424
"type": "string",
2525
"format": "file-path",
2626
"exists": true,
27-
"pattern": "^\\S+\\.f(ast)?q\\.gz$",
28-
"errorMessage": "FastQ file for reads 2 cannot contain spaces and must have extension '.fq.gz' or '.fastq.gz'"
27+
"pattern": "^\\S+\\.f(ast)?a$",
28+
"errorMessage": "FASTA file for must be provided and cannot contain spaces and must have extension '.fa' or '.fasta'"
2929
}
3030
},
31-
"required": ["sample", "fastq_1"]
31+
"required": ["sample", "sam", "fasta"]
3232
}
3333
}

0 commit comments

Comments
 (0)