Il 2014-04-09 22:18 John Marmaduke Eppley ha scritto:
As far as I can figure out, the parameter map for running a workflow
via the API is supposed to look like this:

{'blastn': {'param': 'evalue', 'value': '1e-06’}}

This doesn’t seem to allow for multiple parameters to a single tool.
Is there a way to submit multiple parameters that I’m missing? For

{'blastn': {'param': 'evalue', 'value': '1e-06’, 'param':
‘identity_cutoff’, ‘value’: ’70’}}

…will not work. The dict() container doesn’t allow duplicate keys,
it just overwrites the values.

Hi John,
you are using the old and deprecated syntax, you can use instead:

{'blastn': {'evalue': '1e-06', 'identity_cutoff': 70}}

For more details look at _update_step_parameters() function documentation:

Or look at this complete example:

Moreover, you may consider using the more high-level bioblend API:

Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:

To search Galaxy mailing lists use the unified search at:

Reply via email to