-
Notifications
You must be signed in to change notification settings - Fork 1
/
make_search_pair_workflow.cwl
52 lines (49 loc) · 1.1 KB
/
make_search_pair_workflow.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
#!/usr/bin/env cwl-runner
cwlVersion: v1.0
class: Workflow
$namespaces:
edam: http://edamontology.org/
iana: https://www.iana.org/assignments/media-types/
inputs:
all_contig_fasta:
type: File
format: edam:format_1929
secondaryFiles:
- .fai
all_protein_fasta:
type: File
format: edam:format_1929
secondaryFiles:
- .fai
contig_region:
type: File
format: iana:text/plain
protein:
type: File
format: iana:text/plain
outputs:
contig_fasta:
type: File
format: $(inputs.all_contig_fasta.format)
outputSource: extract_contig/extracted_fasta
protein_fasta:
type: File
format: $(inputs.all_protein_fasta.format)
outputSource: extract_protein/extracted_fasta
steps:
extract_contig:
in:
fasta_file: all_contig_fasta
region_file: contig_region
run: tools/samtools_faidx_extract.cwl
out:
- extracted_fasta
extract_protein:
in:
fasta_file: all_protein_fasta
region_file: protein
run: tools/samtools_faidx_extract.cwl
out:
- extracted_fasta
$schemas:
- http://edamontology.org/EDAM_1.18.owl