Skip to content

Commit

Permalink
Integrate nf-validation plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
luisas committed Sep 14, 2023
1 parent 744a8eb commit 5408656
Show file tree
Hide file tree
Showing 14 changed files with 63 additions and 737 deletions.
2 changes: 1 addition & 1 deletion assets/samplesheet.csv
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
id,fasta,reference,structures
seatoxin-ref,https://raw.githubusercontent.com/nf-core/test-datasets/multiplesequencealign/testdata/setoxin-ref.fa,https://raw.githubusercontent.com/nf-core/test-datasets/multiplesequencealign/testdata/setoxin.ref,
seatoxin-ref,https://raw.githubusercontent.com/nf-core/test-datasets/multiplesequencealign/testdata/setoxin-ref.fa,https://raw.githubusercontent.com/nf-core/test-datasets/multiplesequencealign/testdata/setoxin.ref,test-dataset/structures/setoxin-ref/
toxin-ref,https://raw.githubusercontent.com/nf-core/test-datasets/multiplesequencealign/testdata/toxin-ref.fa,https://raw.githubusercontent.com/nf-core/test-datasets/multiplesequencealign/testdata/toxin.ref,
1 change: 1 addition & 0 deletions assets/schema_input.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"id": {
"type": "string",
"pattern": "^\\S+$",
"meta": ["id"],
"errorMessage": "id/sample name must be provided and cannot contain spaces"
},
"fasta": {
Expand Down
10 changes: 7 additions & 3 deletions assets/schema_tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,21 @@
"properties": {
"tree": {
"type": "string",
"errorMessage": "tree name cannot contain spaces"
"errorMessage": "tree name cannot contain spaces",
"meta": ["tree"]
},
"args_tree": {
"type": "string"
"type": "string",
"meta": ["args_tree"]
},
"align": {
"type": "string",
"meta": ["align"],
"errorMessage": "align name must be provided and cannot contain spaces"
},
"args_align": {
"type": "string"
"type": "string",
"meta": ["args_align"]
}
},
"required": ["align"]
Expand Down
231 changes: 0 additions & 231 deletions bin/check_samplesheet.py

This file was deleted.

Loading

0 comments on commit 5408656

Please sign in to comment.