diff options
author | Pjotr Prins | 2020-04-09 17:09:05 -0500 |
---|---|---|
committer | Pjotr Prins | 2020-04-09 17:09:05 -0500 |
commit | b1039ff369ee88770e42d1bbbdc402b1181c2aa5 (patch) | |
tree | d158806d0719f40e76e7727e5480b0b5ca1dd62d | |
parent | bf93a6a2fec690eee4bff4891469cd5947102b3a (diff) | |
parent | e110b52bae5a4a62ccc53970a7f26899e9debe7e (diff) | |
download | bh20-seq-resource-b1039ff369ee88770e42d1bbbdc402b1181c2aa5.tar.gz bh20-seq-resource-b1039ff369ee88770e42d1bbbdc402b1181c2aa5.tar.lz bh20-seq-resource-b1039ff369ee88770e42d1bbbdc402b1181c2aa5.zip |
Merge branch 'master' of github.com:arvados/bh20-seq-resource
-rw-r--r-- | bh20seqanalyzer/main.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/bh20seqanalyzer/main.py b/bh20seqanalyzer/main.py index 1a8965b..2030c1e 100644 --- a/bh20seqanalyzer/main.py +++ b/bh20seqanalyzer/main.py @@ -110,13 +110,20 @@ def start_pangenome_analysis(api, validated_project): validated = arvados.util.list_all(api.collections().list, filters=[["owner_uuid", "=", validated_project]]) inputobj = { - "inputReads": [] + "inputReads": [], + "metadata": [], + "subjects": [] } for v in validated: inputobj["inputReads"].append({ "class": "File", "location": "keep:%s/sequence.fasta" % v["portable_data_hash"] }) + inputobj["metadata"].append({ + "class": "File", + "location": "keep:%s/metadata.yaml" % v["portable_data_hash"] + }) + inputobj["subjects"].append("keep:%s/sequence.fasta" % v["portable_data_hash"]) run_workflow(api, analysis_project, pangenome_workflow_uuid, "Pangenome analysis", inputobj) |