Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Initial release of nf-core/seqinspector, created with the [nf-core](https://nf-c
- [#53](https://github.com/nf-core/seqinspector/pull/53) Add FastQ-Screen database multiplexing and limit scope of nf-test in CI.
- [#96](https://github.com/nf-core/seqinspector/pull/96) Added missing citations to citation tool
- [#103](https://github.com/nf-core/seqinspector/pull/103) Configure full-tests
- [#110](https://github.com/nf-core/seqinspector/pull/110) Update input schema to accept either tar file or directory as rundir, and fastq messages and patterns.

### `Fixed`

Expand Down
26 changes: 18 additions & 8 deletions assets/schema_input.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,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 files for read 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 files for read 2 are 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"]
},
"tags": {
Expand Down