Question: Calling a tool from bioblend
1
tra • 50 wrote:
Hi,
I am trying to call a tool from bioblend:
tool_inputs = {'input': vcf_ds['dataset_id'], 'g_option': True, 'null_filter': ''}
print(tool_inputs)
gi.tools.run_tool(ds_history['id'], vcf2tsv['id'], tool_inputs=tool_inputs)
The tool being called is actually the VCF to TSV converter. I have the history id and vcf2tsv id as the first parameters. The problem seems to be the input
parameter of vcf2tsv: It is not accepting neither the dataset_id
nor the id
neither the hid
. I get a SQL error where it seems that there is a SELECT on history_dataset_association.id
that its being mappend to the input
variable.
The id column on the history_dataset_association is a number (autoincrement, so it seams).
Do anyone has an idea on what I need to pass as an input
parameter?
Many thanks!