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.

s3 support for toil-cwl-runner?

See original GitHub issue

The quickstart guide states:

When running a CWL workflow on AWS, input files can be provided either on the local file system or in S3 buckets using s3:// URI references. Final output files will be copied to the local file system of the leader node."

However, I consistently get the error at this point in the code: "file." % (knownfile, self.pathmapper.mapper(knownfile)[0])) reporting: WorkflowException: Input file https://s3.amazonaws.com/<bucket>/<file> (at //s3.amazonaws.com/<bucket>/<file>) not found or is not a regular file.

or, if I use the s3:// URI system I get: WorkflowException: Input file s3://<bucket>/<file> (at //<bucket>/<file>) not found or is not a regular file.

where <bucket> and <file> are obviously filled in with my specific bucket and file.

┆Issue is synchronized with this JIRA Story ┆Issue Number: TOIL-103

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
BJWiley233commented, Nov 13, 2021

Yes here are my steps. Thanks!

aws ec2 import-key-pair --key-name "my-key2" --public-key-material fileb://~/.ssh/id_rsa.pub

toil launch-cluster test-cluster --zone us-west-2a --leaderNodeType t2.large --keyPairName my-key2

toil rsync-cluster --zone us-west-2a test-cluster _bcftools_norm.cwl _norm.yml :/tmp

toil ssh-cluster --zone us-west-2a test-cluster 

mkdir ~/.aws
## to add in my Access ID and Key
vim ~/.aws/credentials

toil-cwl-runner /tmp/_bcftools_norm.cwl /tmp/_norm.yml 

toil destroy-cluster test-cluster

forgot to add my input yaml:

---
reference: 
  class: File
  path: s3://test-*******-bucket/GRCh38_full_analysis_set_plus_decoy_hla.fa
vcf: 
  class: File
  path: s3://test-*******-bucket/mutect_full.first.vcf.gz
output_vcf_name: "test.bcftools.norm.vcf.gz"
0reactions
BJWiley233commented, Nov 18, 2021

Also is there a command that will terminate the instances after I run toil destroy-cluster? This didn’t shut down the instances and I was still billed. Do we manually need to terminate the instances through the aws cli or AWS console?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Quickstart Examples — Toil 3.10.1 documentation
Toil supports many different kinds of batch systems (such as Apache Mesos and Grid Engine) ... This installs the toil-cwl-runner and cwl-runner executables....
Read more >
Amazon Genomics CLI v1.5.0 adds support for the Common ...
5.0 has added support for workflows written in the Common Workflow Language (CWL) using the Toil workflow engine. In addition to CWL, the...
Read more >
Working on a CWL-Toil project with the Open Bioinformatics ...
The main focus is to implement this first in AWS S3. Toil is an open-source pure-Python workflow engine. Common Workflow Language (CWL) is...
Read more >
Ubuntu Manpage: toil - Toil Documentation
Toil also supports two DSLs: CWL and (Amazon Web Services and Google Compute Engine). Toil also supports two DSLs: CWL and WDL (experimental)....
Read more >
Design considerations for workflow management ... - Nature
Worse yet, conditionals were not directly supported in CWL until version ... We compared the performance of Nextflow , toil (running CWL), ...
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