Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to bind value #35

Closed
drjrm3 opened this issue Oct 27, 2018 · 3 comments
Closed

Failed to bind value #35

drjrm3 opened this issue Oct 27, 2018 · 3 comments

Comments

@drjrm3
Copy link

drjrm3 commented Oct 27, 2018

After implementing the workaround in #34, I was able to get past that step and ran into a new problem at the next step in the workflow. In trying to rebuild a minimal example for this from scratch, I've run into new problems at the same step as #34 again.

My workflow is

  1. Split a bam file into R1/R2 fastq files (simulating this with a 'split_reads.sh' file so that my examples are not dependent on external software. This is accomplished with the split_reads.cwl CLT.

  2. Scatter over multiple input files using scatter_split.cwl. I was hoping the workaround in Undefined file on scatter #34 would let me get past this part.

3+) Continue simulating my real workflow to reproduce the issues I'm seeing.

Step 2, above, is where I ran into issues on #34. In rebuilding a different workflow, I am getting new issues. Specifically, my CLT and scatter_split.cwl workflow both work in cwltool, but the scatter_split.cwl WF fails with CWLEXEC with the error Failed to bind value for [R1_file], The value cannot be found..

I've compared this workflow with the working flow from #34 and I think they are very similar, so I'm not sure why this one is failing. Is this an issue in CWLEXEC or my own code? The script 02_scatter_split_reads.sh in the attached example should reproduce this issue.

BindValueFailure.tar.gz

@skeeey
Copy link
Collaborator

skeeey commented Oct 31, 2018

@drjrm3, you may use a wrong file in file 02_scatter_split_reads.sh

#cwltool scatter_split.cwl ex.02.yml.tmp
 
cwlexec -pe PATH split_reads.cwl ex.02.yml.tmp

The split_reads.cwl should be scatter_split.cwl, is it right? and I use scatter_split.cwl to test, it works as the cwltool

@drjrm3
Copy link
Author

drjrm3 commented Oct 31, 2018

@skeeey - You are correct, I made a mistake in my shell script. Thank you for finding it! I will work on seeing if I can reproduce the original error now.

@skeeey
Copy link
Collaborator

skeeey commented Nov 1, 2018

@drjrm3 I close this issue, if you have new problem, you can open new issue : )

@skeeey skeeey closed this as completed Nov 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants