Closed uniqueg closed 3 years ago
Very much interesting in this. @jb-adams - can I summon you here for help or pointers?
Cool, and glad to see Snakemake joining the GA4GH community!
Looks great! See comments:
To allow integration with TRS as well, we would thus appreciate if
SMK
(.smk
is the official file extension for Snakemake files) could be added to theDescriptorType
schema:... enum: ... - SNAKEMAKE
Will the accepted value for snakemake be SNAKEMAKE
or SMK
? Both are proposed above, can we get one value for this? And, can we harmonize whatever value we use here with the other APIs? (e.g. TES and WES).
Thanks a lot for the positive responses!
Regarding naming, I wanted to suggest SMK
, as it is the official file extension and it is more consistent with the 3-letter codes used for CWL
, WDL
and NFL
. However, as GALAXY
has also been included, this is hardly a convincing reason. That's also likely the reason why I already forgot about it again by the time I posted the updated schema. 🙃
There is nothing in WES or TES specs speaking against including Snakemake as a supported workflow language and there is no recommendation on how to name languages; Snakemake itself is not yet mentioned anywhere. Specifically,
CWL
and WDL
(capitalized, in the same way as in TRS) are mentioned. However, this is not fixed in an enumerator schema, and in two places, there is a note that says:
[...] must be "CWL" or "WDL" currently (or another alternative supported by this WES instance)
I will ask the main Snakemake implementer on his preference for the name.
sounds good @uniqueg
Either is fine, as long as we're consistent across GA4GH APIs. If/when TES and WES plan to incorporate snakemake, they can refer here to TRS to see how the label appears.
Hi folks! Awesome, I am very happy to see this inclusion. If you are referring to the fileformat or language here, you could indeed use SMK
as this is the recommended file extension. The entrypoint workflow file is usually calles Snakefile
without an ending though (in the spirit of GNU Make). So, I personally have no preference.
Great! I'd probably go with SMK
then, in the spirit of brevity and consistency with most of the others. SNAKEFILE
might perhaps be a bit misleading, given that a tool/workflow can contain multiple files.
Let's wait until after the Plenary to see if anyone has any doubts and then I could file a PR?
We are currently finalizing support for GA4GH TES in Snakemake (see https://github.com/snakemake/snakemake/tree/integrate_tes_v2). A Snakemake WES is also in the works.
To allow integration with TRS as well, we would thus appreciate if
SMK
(.smk
is the official file extension for Snakemake files) could be added to theDescriptorType
schema:I'm happy to file a PR if I get a positive response on here.
┆Issue is synchronized with this Jira Story ┆containerName: GA4GH tool-registry-service ┆Issue Number: TRS-43