Hi there,
Following my previous post about nucmer description (as my first real prog description), I tried the solution proprosed by Mickael, but I have now another problem.
The command
nucmer test.ref.fa test.in.fa
works fine, but with cwl tool I got a workflow error.
Traceback (most recent call last):
File "/home/.../cwltool/main.py", line 226, in single_job_executor
for r in jobiter:
File "/home/.../cwltool/draft2tool.py", line 284, in job
builder.pathmapper = self.makePathMapper(reffiles, builder.stagedir, **make_path_mapper_kwargs)
File "/home/.../cwltool/draft2tool.py", line 171, in makePathMapper
return PathMapper(reffiles, kwargs["basedir"], stagedir)
File "/home/.../cwltool/pathmapper.py", line 177, in __init__
self.setup(dedup(referenced_files), basedir)
File "/home/.../cwltool/pathmapper.py", line 99, in dedup
if r["location"] not in marksub and r["location"] not in markdup:
File "/home/.../ruamel/yaml/comments.py", line 678, in __getitem__
return ordereddict.__getitem__(self, key)
KeyError: 'location'
Workflow error, try again with --debug for more information:
'location'
--debug does not show anything about location. path values for reference and query exist.
From the user guide I supposed 'location' is related to output, but I can't guess what's wrong.
Would you mind please copying the content of your files : test.ref.fa and test.in.fa, confirming they are actually named test.ref.fa and test.in.fa, indicating their path in your file system, and the full command line you are running to execute your cwl tool and job, Thanks
They are both fasta files, they exist and the nucmer command alone works well. test.in.fa, 50 seq, 2 lines per seq
test.ref.fa, 200 seq, 2 lines per seq
Here is the output of cwltool using --debug (workflow error not reported)
And files exist.
Last the yml file nucmer_cwl.mum.yml
All files (.cwl, *.yml, *.fa) are in the same path */home/sletort/assemblage/Bnapus/traces
Thanks