Skip to content

Commit 3b067c5

Browse files
authored
Merge pull request #84 from sharmatime/patch-9
Update custom-types.cwl
2 parents df18509 + e4dba46 commit 3b067c5

File tree

1 file changed

+36
-39
lines changed

1 file changed

+36
-39
lines changed
Lines changed: 36 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,64 @@
1+
#!/usr/bin/env cwl-runner
12
cwlVersion: v1.0
23
class: CommandLineTool
34

4-
label: "InterProScan: protein sequence classifier"
5-
6-
doc: |
7-
Version 5.21-60 can be downloaded here:
8-
https://github.com/ebi-pf-team/interproscan/wiki/HowToDownload
9-
10-
Documentation on how to run InterProScan 5 can be found here:
11-
https://github.com/ebi-pf-team/interproscan/wiki/HowToRun
12-
135
requirements:
6+
InlineJavascriptRequirement: {}
147
ResourceRequirement:
15-
ramMin: 10240
16-
coresMin: 3
8+
coresMax: 1
9+
ramMin: 100 # just a default, could be lowered
1710
SchemaDefRequirement:
1811
types:
19-
- $import: InterProScan-apps.yml
12+
- $import: biom-convert-table.yaml
2013

2114
hints:
15+
DockerRequirement:
16+
dockerPull: 'quay.io/biocontainers/biom-format:2.1.6--py27_0'
2217
SoftwareRequirement:
2318
packages:
24-
interproscan:
25-
specs: [ "https://identifiers.org/rrid/RRID:SCR_005829" ]
26-
version: [ "5.21-60" ]
19+
biom-format:
20+
specs: [ "https://doi.org/10.1186/2047-217X-1-7" ]
21+
version: [ "2.1.6" ]
2722

2823
inputs:
29-
proteinFile:
24+
biom:
3025
type: File
26+
format: edam:format_3746 # BIOM
3127
inputBinding:
32-
prefix: --input
33-
applications:
34-
type: InterProScan-apps.yml#apps[]?
28+
prefix: --input-fp
29+
table_type:
30+
type: biom-convert-table.yaml#table_type
3531
inputBinding:
36-
itemSeparator: ','
37-
prefix: --applications
32+
prefix: --table-type
3833

39-
baseCommand: interproscan.sh
34+
header_key:
35+
type: string?
36+
doc: |
37+
The observation metadata to include from the input BIOM table file when
38+
creating a tsv table file. By default no observation metadata will be
39+
included.
40+
inputBinding:
41+
prefix: --header-key
4042

41-
arguments:
42-
- valueFrom: $(inputs.proteinFile.nameroot).i5_annotations
43-
prefix: --outfile
44-
- valueFrom: TSV
45-
prefix: --formats
46-
- --disable-precalc
47-
- --goterms
48-
- --pathways
49-
- valueFrom: $(runtime.tmpdir)
50-
prefix: --tempdir
43+
baseCommand: [ biom, convert ]
5144

45+
arguments:
46+
- valueFrom: $(inputs.biom.nameroot).hdf5
47+
prefix: --output-fp
48+
- --to-hdf5
5249

5350
outputs:
54-
i5Annotations:
51+
result:
5552
type: File
56-
format: iana:text/tab-separated-values
57-
outputBinding:
58-
glob: $(inputs.proteinFile.nameroot).i5_annotations
53+
outputBinding: { glob: "$(inputs.biom.nameroot)*" }
5954

6055
$namespaces:
61-
iana: https://www.iana.org/assignments/media-types/
62-
s: http://schema.org/
56+
edam: http://edamontology.org/
57+
s: http://schema.org/
58+
6359
$schemas:
64-
- https://schema.org/docs/schema_org_rdfa.html
60+
- http://edamontology.org/EDAM_1.16.owl
61+
- https://schema.org/docs/schema_org_rdfa.html
6562

6663
s:license: "https://www.apache.org/licenses/LICENSE-2.0"
6764
s:copyrightHolder: "EMBL - European Bioinformatics Institute"

0 commit comments

Comments
 (0)