WDL versions supported by Terra

Post author
Stephen Fleming

Which versions of WDL are we able to use in workflows in Terra?

I've used "draft-2" and "1.0" in the past.  But there is a feature in WDL 1.1 that I want to use.  Can we use WDL version 1.1 in Terra?

Comments

5 comments

  • Comment author
    Stephen Fleming

    Posting this for others...

    As per Josh Evans from Terra Support:

    "Currently the version of Cromwell run by Terra supports workflows using WDL 1.0. However, there are plans to support 1.1 in the future, but there currently isn't a release date for that feature."

    0
  • Comment author
    Philipp Hähnel

    I used to be able to submit WDLs with development version to portal.firecloud.org and run on Terra, but for some reason this no longer works since today due to 

    Error: Invalid WDL: NoneLiteralElement (of class wdl.model.draft3.elements.ExpressionElement$NoneLiteralElement$)
     
    Yes, I do have an explicit "None" in that WDL, which is the point of the development version. Did something change in the permitted versions for Terra or the WDL parsing?
    0
  • Comment author
    Philipp Hähnel

    Nevermind, it was an error in my inputs. Apparently you can't do something like

    input {
    Int a = 1
    Int b = 1 + a
    }
    0
  • Comment author
    Stephen Fleming
    • Edited

    You might be interested in something like this

    https://github.com/openwdl/wdl/blob/main/versions/1.0/SPEC.md#computing-inputs

    You are allowed to do

    input {
    Int a = 1
    }
    Int b = 1 + a

    command {
    ... # use a and b
    }

    The caveat here is that `b` will always be `1 + a`... the user is not able to randomly input some other value for `b`.

    1
  • Comment author
    Anika Das

    Hi Philipp Hähnel

    It looks like you were able to find the answer. Please let us know if you have any questions!

    Kind Regards, 

    Anika

    0

Please sign in to leave a comment.