Skip to content

Commit

Permalink
Merge pull request #310 from tavareshugo/fix_gz
Browse files Browse the repository at this point in the history
fix input schema to accept uncompressed fasta; fix #309
  • Loading branch information
jasmezz authored Oct 13, 2023
2 parents 522ca9d + a2b8802 commit ffba284
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- [#306](https://github.com/nf-core/funcscan/pull/306) Added new parameter `annotation_prokka_retaincontigheaders` to allow prokka to retain the original contig headers/locus tag. (by @darcy220606)
- [#307](https://github.com/nf-core/funcscan/pull/307) Fixed stability of deepARG tests by using Zenodo copy of database (❤️ to Gustavo Arango and Liqing Zhang for uploading, fix by @jfy133)
- [#310](https://github.com/nf-core/funcscan/pull/310) Fixed error when supplying uncompressed input; added "fas" file extension for FASTA files. (by @tavareshugo)

### `Dependencies`

Expand Down
4 changes: 2 additions & 2 deletions assets/schema_input.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"type": "string",
"format": "file-path",
"exists": true,
"pattern": "^\\S+\\.f(ast|n)?a\\.gz$",
"errorMessage": "Fasta file for reads must be provided, cannot contain spaces and must have extension '.fa.gz', '.fna.gz' or '.fasta.gz'",
"pattern": "^\\S+\\.(fasta|fas|fa|fna)(\\.gz)?$",
"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')",
"unique": true
}
},
Expand Down

0 comments on commit ffba284

Please sign in to comment.