Giter Club home page Giter Club logo

Comments (4)

tmooney avatar tmooney commented on August 17, 2024

The short answer is that the error you're seeing is due to quoting around the default value here:

The longer answer is that the merge_bams.cwl tool as it currently stands only works with Cromwell and not with cwltool. There are some escapes to the bash script that will also be required to make it work with cwltool (but will break it in Cromwell)--everywhere ${...} appears in the script will need to be replaced by \${...} instead.

I'm inclined to replace the bash script here with a perl script to get around this problem so the same CWL works with both runners, but it'll take a bit of time to get that done.

from analysis-workflows.

tgambin avatar tgambin commented on August 17, 2024

Great - thanks a lot for explanation! We would like to try to run pipelines using cwl-airflow which is based on cwl-tool. So for now I will try to escape problematic expressions in bash. Do you know if I should expect a lot of issues with other tools/pipelines when running them with cwl-runner instead of Cromwell?

from analysis-workflows.

tgambin avatar tgambin commented on August 17, 2024

Thanks again. I wanted to confirm that after escaping "${...}" in few other lines the script is now working with cwl-runner.

from analysis-workflows.

tmooney avatar tmooney commented on August 17, 2024

Most tools should be fine. If you run into other issues they're likely to be similar to this--where cromwell's behavior differs from cwltool in small ways. It's our goal to have these workflows also work with cwltool (though we don't currently use it routinely ourselves), so if you do run into more issues like this feel free to let us know!

I've opened #1046 to update this tool to address the boolean value as well as the ${...} in a way that should work with both runners.

from analysis-workflows.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.