aboutsummaryrefslogtreecommitdiff
path: root/workflows/yamlfa2ttl/yamlfa2ttl.cwl
diff options
context:
space:
mode:
Diffstat (limited to 'workflows/yamlfa2ttl/yamlfa2ttl.cwl')
-rw-r--r--workflows/yamlfa2ttl/yamlfa2ttl.cwl32
1 files changed, 32 insertions, 0 deletions
diff --git a/workflows/yamlfa2ttl/yamlfa2ttl.cwl b/workflows/yamlfa2ttl/yamlfa2ttl.cwl
new file mode 100644
index 0000000..143fc9d
--- /dev/null
+++ b/workflows/yamlfa2ttl/yamlfa2ttl.cwl
@@ -0,0 +1,32 @@
+#!/usr/bin/env cwl-runner
+
+cwlVersion: v1.1
+class: Workflow
+doc: "Workflow to go from YAML (metadata) + FASTA (sequence) to TTL (metadata)"
+
+inputs:
+ path_fasta:
+ type: string
+ doc: input fasta to validate
+
+ format_to_check:
+ type: string
+ default: text/fasta
+
+steps:
+ check_format:
+ in:
+ path_fasta: path_fasta
+ format_to_check: format_to_check
+ doc: the input has to be a valid FASTA format file
+ out: []
+ run: check_format.cwl
+
+ check_sequence:
+ in:
+ path_fasta: path_fasta
+ doc: the input sequence has to be enough similar to the reference
+ out: []
+ run: check_sequence.cwl
+
+outputs: []