aboutsummaryrefslogtreecommitdiff
path: root/workflows/yamlfa2ttl/check_format.cwl
diff options
context:
space:
mode:
authorAndreaGuarracino2021-01-05 14:18:26 +0100
committerAndreaGuarracino2021-01-05 14:18:26 +0100
commite9f73388c810c678a69ce23c925d7914ba99a251 (patch)
tree04731e150e44a2d102f49b431527b73fb1caad2f /workflows/yamlfa2ttl/check_format.cwl
parent491b39273b54ca89861febf5c27d28f032ba1c49 (diff)
downloadbh20-seq-resource-e9f73388c810c678a69ce23c925d7914ba99a251.tar.gz
bh20-seq-resource-e9f73388c810c678a69ce23c925d7914ba99a251.tar.lz
bh20-seq-resource-e9f73388c810c678a69ce23c925d7914ba99a251.zip
added check_format workflow and script
Diffstat (limited to 'workflows/yamlfa2ttl/check_format.cwl')
-rw-r--r--workflows/yamlfa2ttl/check_format.cwl22
1 files changed, 22 insertions, 0 deletions
diff --git a/workflows/yamlfa2ttl/check_format.cwl b/workflows/yamlfa2ttl/check_format.cwl
new file mode 100644
index 0000000..24de620
--- /dev/null
+++ b/workflows/yamlfa2ttl/check_format.cwl
@@ -0,0 +1,22 @@
+#!/usr/bin/env cwl-runner
+
+cwlVersion: v1.1
+class: CommandLineTool
+baseCommand: python3
+inputs:
+ script:
+ type: File
+ inputBinding: {position: 1}
+ default: {class: File, location: check_format.py}
+ path_fasta:
+ type: string
+ inputBinding: {position: 2}
+ format_to_check:
+ type: string
+ inputBinding: {position: 3}
+ path_valid_formats:
+ type: File
+ inputBinding: {position: 4}
+ default: {class: File, location: ../../bh20sequploader/validation/formats}
+outputs: []
+