question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cromwell: support relative file paths in input JSON

See original GitHub issue

Currently, relative input paths are only supported when provided as command-line arguments, where they are translated to absolute paths. Providing relative input paths in the inputs JSON file passes them on unchanged and fails when trying to find them relative to the created cromwell folder:

Could not localize data/mockdata/seqs/First2000seqs_R1.fq -> /Users/.../20190830_101132_Workflow/cromwell/cromwell-executions/Workflow/ec53e465-8581-4027-bf54-f6c85e1deee9/call-Task/shard-1/inputs/46135967/First2000seqs_R1.fq:
	data/mockdata/seqs/First2000seqs_R1.fq doesn't exist

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
mlincommented, Sep 18, 2019

@prihoda This should be fixed up in v0.4.1. Thanks!

1reaction
prihodacommented, Sep 9, 2019

@mlin I would make it relative to the cwd, so that it is equivalent to supplying the file as command line argument. Cromwell also considers paths to be relative to cwd.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Workflow Options Overview - Cromwell - Read the Docs
You provide workflow options to Cromwell in a JSON format. This can be supplied at workflow-submit time either via the CLI or the...
Read more >
Sending json files in curl requests with absolute or relative paths
The -d @ command option accepts any resolvable file path, as long as the path actually exists. So you could use: a path...
Read more >
Workflows | Amazon Genomics CLI - Open Source at AWS
The sourceURL property defines the location of the workflow file. If the location is relative then the relevant file is assumed to be...
Read more >
memory troubles and modified imports for pipeline running on ...
My ch.json input file refers to a verified BAM with a size of 60 Go. ... Google cloud while it contains local import...
Read more >
SMRT® Tools reference guide (v11.0) - PacBio
SMRT Link v11.0 supports all chemistry versions for Sequel II systems. ... relativize Command: Make the paths in an XML file relative.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found