cromwell: support relative file paths in input JSON
See original GitHub issueCurrently, 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:
- Created 4 years ago
- Comments:5
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@prihoda This should be fixed up in v0.4.1. Thanks!
@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.