-
Notifications
You must be signed in to change notification settings - Fork 87
/
wf_genomic_source_asn.cwl
executable file
·73 lines (68 loc) · 1.82 KB
/
wf_genomic_source_asn.cwl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#!/usr/bin/env cwl-runner
label: "Create Genomic Collection for Bacterial Pipeline, ASN.1 input"
cwlVersion: v1.0
class: Workflow
requirements:
- class: ScatterFeatureRequirement
inputs:
entries: File?
seq_submit: File?
# taxid: int
gc_assm_name: string
taxon_db: File
outputs:
ids_out:
type: File
outputSource: Cache_Seq_entries/oseq_ids
asncache:
type: Directory
outputSource: Cache_Seq_entries/asn_cache
gencoll_asn:
type: File
outputSource: Create_Assembly_From_Sequences/gencoll_asn
seqid_list:
type: File
outputSource: Extract_Assembly_Information/seqid_list
stats_report:
type: File
outputSource: Extract_Assembly_Information_XML/stats_report
submit_block_template:
type: File
outputSource: Prepare_Seq_entries/submit_block
steps:
Prepare_Seq_entries:
run: ../progs/prepare_seq_entry_input.cwl
in:
entries: entries
seq_submit: seq_submit
out: [order, submit_block, output_entries]
Cache_Seq_entries:
run: ../progs/prime_cache.cwl
in:
input: Prepare_Seq_entries/output_entries
taxon_db: taxon_db
# taxid: taxid
ifmt:
default: asn-seq-entry
out: [oseq_ids, asn_cache]
Create_Assembly_From_Sequences:
run: gc_create.cwl
in:
unplaced: Cache_Seq_entries/oseq_ids
asn_cache: Cache_Seq_entries/asn_cache
gc_assm_name: gc_assm_name
out: [gencoll_asn]
Extract_Assembly_Information:
run: gc_get_molecules.cwl
in:
gc_assembly: Create_Assembly_From_Sequences/gencoll_asn
filter:
default: "all"
outfile:
default: "all.gi"
out: [seqid_list]
Extract_Assembly_Information_XML:
run: gc_asm_xml_description.cwl
in:
asnfile: Create_Assembly_From_Sequences/gencoll_asn
out: [stats_report]