aboutsummaryrefslogtreecommitdiff
path: root/scripts/import.cwl
diff options
context:
space:
mode:
authorPeter Amstutz2020-04-30 10:22:27 -0400
committerPeter Amstutz2020-04-30 10:22:27 -0400
commit347b8dce36832c6d3e379d81b3efefcbc88a3117 (patch)
tree1d0f62247576dfd746511aed683acd65072b1783 /scripts/import.cwl
parent3475c3e30197a11ada10d1b0a4bafb026f2fb580 (diff)
downloadbh20-seq-resource-347b8dce36832c6d3e379d81b3efefcbc88a3117.tar.gz
bh20-seq-resource-347b8dce36832c6d3e379d81b3efefcbc88a3117.tar.lz
bh20-seq-resource-347b8dce36832c6d3e379d81b3efefcbc88a3117.zip
Wrap import script to run as a workflow
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
Diffstat (limited to 'scripts/import.cwl')
-rw-r--r--scripts/import.cwl24
1 files changed, 24 insertions, 0 deletions
diff --git a/scripts/import.cwl b/scripts/import.cwl
new file mode 100644
index 0000000..81752c8
--- /dev/null
+++ b/scripts/import.cwl
@@ -0,0 +1,24 @@
+cwlVersion: v1.1
+class: CommandLineTool
+baseCommand: python3
+inputs:
+ scripts:
+ type: File
+ default:
+ class: File
+ location: import_to_arvados.py
+ inputBinding: {position: 1}
+ importScript:
+ type: File
+ default:
+ class: File
+ location: from_genbank_to_fasta_and_yaml.py
+ inputBinding: {position: 2}
+outputs: []
+requirements:
+ DockerRequirement:
+ dockerPull: bh20-seq-uploader/import
+ NetworkAccess:
+ networkAccess: true
+ WorkReuse:
+ workReuse: false