Question: passing parameters to workflows via API
0
gravatar for dkrol3
2.4 years ago by
dkrol3 • 0
dkrol3 • 0 wrote:

Hello,

I've two questions regarding passing input parameters through workflows API. I'm using the bioblend api provided by http://bioblend.readthedocs.io/en/latest/index.html .

1) I'm using the same tool (vcffilter) two times in my workflow. There is a parameter named filterList and I would like to set different values for this parameter when invoking my workflow. Right now by using the following dict as params both steps are set: params = {'toolshed.g2.bx.psu.edu/repos/devteam/vcffilter/vcffilter2/0.0.3': {'param': 'filterList', 'value': '-f "DP > 1"'}}

2) I'm trying to use the free bayes tool - 'toolshed.g2.bx.psu.edu/repos/devteam/freebayes/freebayes/0.4.1' and there are some parameters used in the conditional tag, e.g. 'options_type.options_type_selector'. How should I set them when invoking parameter through API ? I've tried several possibilities including: params = {'toolshed.g2.bx.psu.edu/repos/devteam/freebayes/freebayes/0.4.1': {'param': 'options_type.options_type_selector', 'value': 'full'}} params = {'toolshed.g2.bx.psu.edu/repos/devteam/freebayes/freebayes/0.4.1': {'param': 'options_type_selector', 'value': 'full'}} params = {'toolshed.g2.bx.psu.edu/repos/devteam/freebayes/freebayes/0.4.1': {'param': 'options_type', 'value': 'full'}} but nothings seems to be working.

Thanks in advance, Darek

galaxy • 647 views
ADD COMMENT • link • written 2.4 years ago by dkrol3 • 0
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 16.09
Traffic: 172 users visited in the last hour