Question: Output files in the input directory
0
gravatar for thomas.e
3.1 years ago by
thomas.e110
thomas.e110 wrote:

Hello,

I'm using snver which creates its output next to the input files, not in the directory where the program is running. There are no options to control this. I've been racking my brain for 1.5 days to figure out how can I can gather that output. The only thing I've found is a vague post suggesting that this is not supported by CWL.

Thanks, Evan.

cwl • 1.1k views
ADD COMMENTlink modified 3.1 years ago by Michael R. Crusoe1.8k • written 3.1 years ago by thomas.e110

This is a question about cwl and has been correctly tagged.

ADD REPLYlink modified 3.1 years ago • written 3.1 years ago by GenoMax95k

Thanks - although I did tag it as CWL when I submitted it.

ADD REPLYlink written 3.1 years ago by thomas.e110

You did the right thing. People overlook cwl tag and may start providing suggestions outside of cwl so I added that explicit note.

ADD REPLYlink modified 3.1 years ago • written 3.1 years ago by GenoMax95k
1
gravatar for Michael R. Crusoe
3.1 years ago by
Common Workflow Language project
Michael R. Crusoe1.8k wrote:

Hello thomas.e,

This is very much supported by CWL!

See http://www.commonwl.org/user_guide/15-staging/ to learn how to stage your input files into the working directory.

Cheers,

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

Perfect, thanks! (Ensure this value has at least 20 characters (it has 16).

ADD REPLYlink written 3.1 years ago by thomas.e110

Yes, I can stage input files into the working directory and write output files to the working directory. But, is it possible to stage a directory with input files in it and be able to write the output files to that directory? When I try to write to staged directory, I get:

cannot create regular file '...': Read-only file system

Thanks, Ngoc

ADD REPLYlink written 2.7 years ago by ngoc.nguyen0

Hello @ngoc.nguyen, I just saw your comment.

Yes, you'll need to set writable: true when using InitialWorkDirRequirement

We haven't written the user guide entry for that yet, if you would like to see that then a comment or a 👍 on https://github.com/common-workflow-language/user_guide/issues/36 will help us prioritize that.

ADD REPLYlink written 2.7 years ago by Michael R. Crusoe1.8k
Please log in to add an answer.

Help
Access

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