Skip to content

Commit 33a094a

Browse files
committed
fix input schema to accept uncompressed fasta; fix nf-core#309
1 parent 522ca9d commit 33a094a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

assets/schema_input.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
"type": "string",
1919
"format": "file-path",
2020
"exists": true,
21-
"pattern": "^\\S+\\.f(ast|n)?a\\.gz$",
22-
"errorMessage": "Fasta file for reads must be provided, cannot contain spaces and must have extension '.fa.gz', '.fna.gz' or '.fasta.gz'",
21+
"pattern": "^\\S+\\.(fasta|fas|fa|fna)(\\.gz)?$",
22+
"errorMessage": "Fasta file for reads must be provided, cannot contain spaces and must have extension '.fasta', '.fas', '.fa' or '.fna' (any of these can be optionally compressed as '.gz')",
2323
"unique": true
2424
}
2525
},

0 commit comments

Comments
 (0)