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

Wildcard/regex input filename argument handling example ? #114

Open
nyue opened this issue Jan 10, 2019 · 1 comment
Open

Wildcard/regex input filename argument handling example ? #114

nyue opened this issue Jan 10, 2019 · 1 comment

Comments

@nyue
Copy link

nyue commented Jan 10, 2019

Hi,

I have the following command line I wish to use scriptcwl to generate a CWL file

myprogram -i /somepath/*.exr

Is there any example code I can refer to which may help me with the above ?

Cheers

@jvdzwaan
Copy link
Contributor

I'm not sure I understand your question, scriptcwl is for generating cwl workflows given existing steps (command line tools, etc.). Your question seems related to specifying the base command of a cwl command line tool (correct me if I'm wrong) and you can't use scriptcwl to do that.

I usually create my cwl command line tools by hand. There is is a cwl user guide that explains how to do that, and the biostars forum is a good place to ask cwl related questions.

That said, I think using wildcards in the base command will just work, not sure about regexes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants