Question: CWL: SoftwareRequirement definition
gravatar for kevin.o.oluoch
3.5 years ago by
kevin.o.oluoch70 wrote:

I'm trying to create a common workflow language script, to run on a server, that requires spades be initialized with the command module load spades my requirements section looks like this

        specs: [ "module load spades" ]

I get the following error when I run the tool

Tool definition failed initialization:
SPAdes.cwl:7:3: Unsupported requirement SoftwareRequirement

what could be wrong with my code

specs softwarerequirement cwl • 1.0k views
ADD COMMENTlink modified 3.5 years ago by Michael R. Crusoe1.8k • written 3.5 years ago by kevin.o.oluoch70
gravatar for Michael R. Crusoe
3.5 years ago by
Common Workflow Language project
Michael R. Crusoe1.8k wrote:

Hello kevin.o.oluoch and thank you for your question.

Seems like the SoftwareRequirement is not supported by the CWL implementation you are using. You may want to move this to hints

Additionally the specs is misformatted:

In the CWL v1.0 specification we see that

specs, array<string>, Must be one or more IRIs identifying resources for installing or enabling the software. Implementations may provide resolvers which map well-known software spec IRIs to some configuration action.

For example, an IRI could be resolved with apt-get install bowtie. An IRI could be resolved with conda install -c bioconda bowtie.

Tools may also provide IRIs to index entries such as RRID, such as

For example, from my description of MetaSPAdes ( specs: [ "" ]

ADD COMMENTlink written 3.5 years ago by Michael R. Crusoe1.8k

This is helpful, I will just module load spades before running the script

ADD REPLYlink written 3.5 years ago by kevin.o.oluoch70
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 2100 users visited in the last hour