File tree Expand file tree Collapse file tree 2 files changed +41
-1
lines changed
Expand file tree Collapse file tree 2 files changed +41
-1
lines changed Original file line number Diff line number Diff line change 1+ version 1.0
2+
3+ import "../tasks/tasks_ncbi_tools.wdl" as ncbi_tools
4+ import "../tasks/tasks_terra.wdl" as terra
5+
6+ workflow submit_sra {
7+ meta {
8+ description : "Submit FTP-eligible genomes to NCBI Genbank (currently only flu A/B/C and SARS-CoV-2)"
9+ author : "Broad Viral Genomics"
10+ email : "viral-ngs@broadinstitute.org"
11+ allowNestedInputs : true
12+ }
13+
14+ input {
15+ #Array[File] submission_files
16+ String batch_id
17+
18+ File genbank_xml
19+ File genbank_zip
20+
21+ File ncbi_ftp_config_js
22+ String prod_test = "Production" # Production or Test
23+ }
24+
25+ String prefix = "/~{prod_test }/~{batch_id }"
26+
27+ # TO DO: work in progress, not ready yet
28+
29+ call ncbi_tools .ncbi_sftp_upload as genbank_upload {
30+ input :
31+ config_js = ncbi_ftp_config_js ,
32+ submission_xml = genbank_xml ,
33+ additional_files = [genbank_zip ],
34+ target_path = "~{prefix }/genbank" ,
35+ wait_for = "1"
36+ }
37+
38+ output {
39+ Array [File ] genbank_response = genbank_upload .reports_xmls
40+ }
41+ }
Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ workflow submit_sra {
2525
2626 String prefix = "/~{prod_test }/~{flowcell_id }"
2727
28-
2928 call terra .gcs_copy as gcs_sra_dump_reads {
3029 input :
3130 infiles = reads_bams ,
You can’t perform that action at this time.
0 commit comments