Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade IPS to use a container #80

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 36 additions & 12 deletions tools/InterProScan5.21-60.cwl → tools/InterProScan5.30-69.cwl
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env cwl-runner
cwlVersion: v1.0
class: CommandLineTool

Expand All @@ -11,20 +12,22 @@ doc: |
https://github.com/ebi-pf-team/interproscan/wiki/HowToRun

requirements:
ResourceRequirement:
ramMin: 10240
coresMin: 3
SchemaDefRequirement:
types:
- $import: InterProScan-apps.yaml
- $import: InterProScan-protein_formats.yaml
DockerRequirement:
dockerPull: 'biocontainers/interproscan:v5.30-69.0_cv1'
ShellCommandRequirement: {}
hints:
SoftwareRequirement:
packages:
interproscan:
specs: [ "https://identifiers.org/rrid/RRID:SCR_005829" ]
version: [ "5.21-60" ]

version: [ "5.30-69" ]
ResourceRequirement:
ramMin: 8192
coresMin: 3
inputs:
proteinFile:
type: File
Expand All @@ -39,19 +42,40 @@ inputs:
inputBinding:
itemSeparator: ','
prefix: --applications
databases: Directory

baseCommand: interproscan.sh
baseCommand: [] # interproscan.sh

arguments:
- valueFrom: $(inputs.proteinFile.nameroot).i5_annotations
prefix: --outfile
- valueFrom: TSV
prefix: --formats
- cp
- -r
- /opt/interproscan
- $(runtime.outdir)/interproscan
- ;

- rm
- -rf
- $(runtime.outdir)/interproscan/data
- ;

- cp
- -rs
- $(inputs.databases.path)/data
- $(runtime.outdir)/interproscan/
- ;

- bash
- $(runtime.outdir)/interproscan/interproscan.sh

- prefix: --outfile
valueFrom: $(runtime.outdir)/$(inputs.proteinFile.nameroot).i5_annotations
- prefix: --formats
valueFrom: TSV
- --disable-precalc
- --goterms
- --pathways
- valueFrom: $(runtime.tmpdir)
prefix: --tempdir
- prefix: --tempdir
valueFrom: $(runtime.tmpdir)


outputs:
Expand Down
2 changes: 1 addition & 1 deletion workflows/functional_analysis.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ steps:
doc: |
Matches are generated against predicted CDS, using a sub set of databases
(Pfam, TIGRFAM, PRINTS, PROSITE patterns, Gene3d) from InterPro.
run: ../tools/InterProScan5.21-60.cwl
run: ../tools/InterProScan5.30-69.cwl
in:
proteinFile: chunk_inputs/chunks
applications:
Expand Down