diff options
author | lltommy | 2020-07-07 23:58:50 +0200 |
---|---|---|
committer | lltommy | 2020-07-07 23:58:50 +0200 |
commit | c8ffc952a99dc0a2d1266cdc0636711ec63e8bfb (patch) | |
tree | d8672cca90c8469f07c20cb80fdbf0439913623a /scripts/import_from_genbank.cwl | |
parent | 027d7bd6dd89c62a1e81bbda0e6ef7f27cbb3920 (diff) | |
parent | b994b59963248a301e1248f792f21d9ab2ea8a3f (diff) | |
download | bh20-seq-resource-c8ffc952a99dc0a2d1266cdc0636711ec63e8bfb.tar.gz bh20-seq-resource-c8ffc952a99dc0a2d1266cdc0636711ec63e8bfb.tar.lz bh20-seq-resource-c8ffc952a99dc0a2d1266cdc0636711ec63e8bfb.zip |
Merge branch 'master' of https://github.com/arvados/bh20-seq-resource
Diffstat (limited to 'scripts/import_from_genbank.cwl')
-rw-r--r-- | scripts/import_from_genbank.cwl | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/scripts/import_from_genbank.cwl b/scripts/import_from_genbank.cwl new file mode 100644 index 0000000..dcf9acb --- /dev/null +++ b/scripts/import_from_genbank.cwl @@ -0,0 +1,27 @@ +cwlVersion: v1.1 +class: Workflow +inputs: + existing_metadata_from_nuccore: + type: Directory? +outputs: [] +requirements: + ScatterFeatureRequirement: {} +steps: + fetch_from_genbank: + in: + existing_metadata_from_nuccore: existing_metadata_from_nuccore + out: [fasta_and_yaml, metadata_from_nuccore, accessions] + run: fetch_from_genbank.cwl + split_into_arrays: + in: + dir: fetch_from_genbank/fasta_and_yaml + out: [fasta, metadata] + run: split_into_arrays.cwl + upload: + in: + fasta: split_into_arrays/fasta + metadata: split_into_arrays/metadata + out: [] + scatter: [fasta, metadata] + scatterMethod: dotproduct + run: upload.cwl |