Question: Workflow API - first step fails to receive dataset
gravatar for eric
22 months ago by
UC Berkeley
eric0 wrote:

I'm having no luck executing a workflow in the example:

python 2bb67717b99a37e92e59003f93625c9b http://localhost:8080/api/workflows f2db41e1fa331b3e 'hist_id=f597429621d6eb2b' '1=hda=dc4d617ef0d54eb6'

The entire workflow is queued properly, but in the first step fails because it's never able to find the file (dataset id) I pass it. The input that is passed on the command line is 'None'.

blastn -query "None" -db "/var/www/html/galaxy/data/blastdb/nt/17apr2014/nt" -task blastn -evalue 0.001 -out "/var/www/html/galaxy/database/files/000/dataset_422.dat" -outfmt 5 -num_threads "${GALAXY_SLOTS:-8}"

where the last parameter is <step>-<src>-<dataset id="">, as I understand.

  • I wasn't sure if I the step was zero-based so I tried both 0 and 1
  • also tried all varients of src (hda, ldda, ld), although my dataset
  • is hda the dataset-id is grabbed from the dataset's "id:" field


The POST payload:

  "url": "",
  "method": "POST",
  "headers": {
    "Accept-Encoding": "gzip, deflate",
    "Accept-Language": "en-US,en;q=0.5",
    "Content-Length": 124
  "json": {
    "workflow_id": "f2db41e1fa331b3e",
    "history": "hist_id=f597429621d6eb2b",
    "ds_map": {
      "0": {
        "src": "hda",
        "id": "dc4d617ef0d54eb6"


The other example exhibits the same problem: any help much appreciated

workflow api galaxy • 584 views
ADD COMMENTlink modified 22 months ago • written 22 months ago by eric0
Please log in to add an answer.


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