You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We do not have a good example pipeline that uses map types. It would be nice to add a how-to blurb for this data type to the Cook Book section of the WDL docs.
The text was updated successfully, but these errors were encountered:
starts with a simple scatter on an Array of accessions
performs (in a custom task, since WDL has no native way to do this) a group-by operation on that Array to bunch them up by accession number (since each accession might otherwise have multiple other things associated with it)
then does a scatter on a zip of the group-by outputs (so now you've got your Pairs)
inside the scatter it's doing value lookups on Maps
demonstrates a common pattern I have where a WDL scatter produces an Array[String] per item, which then becomes an Array[Array[String]] which is written out as a single TSV file. adding a header to such a TSV file is a little clunky so it's handled with a concatenation task.
We do not have a good example pipeline that uses map types. It would be nice to add a how-to blurb for this data type to the Cook Book section of the WDL docs.
The text was updated successfully, but these errors were encountered: