-
Notifications
You must be signed in to change notification settings - Fork 8
feat: adding organism specific workflows (#357) #412
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
Conversation
|
believe were adding the variant calling category to these workflows in iwc |
I've done this now, the procedure is to add the workflow to the category we want it in, so for the SARS-COV-2 workflows I've added them to the variant calling collection on dockstore. If you have a dockstore username I can add you so you can do that, but also we want to turn this around and make the IWC the source of truth.
for simple files or list of file inputs we'd have to preserve the pre-specified parameters in the build process (see #412 (comment)). To build up collections the same way (i.e what is needed for the influenza workflow) we have to do a bit of backend plumbing on the Galaxy side. |
@mvdbeek my dockstore username should be d-callan 🙏 |
|
and this one maybe shouldnt be? im starting to feel we need a new workflow category like 'consensus sequences' or similar. and some of these new ones belong in that one either instead of or in addition to the variant calling one. |
|
I've edited the collections on dockstore, if you run npm run iwc-manifest-to-workflows-yaml you should get the updated workflows.
difficult getting that old tool installed (galaxyproject/usegalaxy-tools#944), i'll take a look tomorrow |
|
so this ended up going places.. its doing enough interesting things now id like a review and merge w what workflows are here. we can always add more later. things this ended up doing:
|
|
(i dont love the explicit mapping of iwc virology collection to brc consensus sequences.. but so far everything in that iwc collection actually does look to have at least something to do w consensus sequences and i think requiring a mapping between the iwc collections and brc categories in the py script in order to get new workflows in the source yml is worth thinking more about separately anyhow.) |
hunterckx
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! I've taken the liberty of simplifying the types slightly, removing the unnecessarily broad type from WorkflowLandingsBodyRequestState so that URL workflow parameters don't need assertions in order to be properly type-checked (I will also note: something I've recently learned of is TypeScript's satisfies keyword, which might be preferred over as if we need such a thing in the future)
a wip, but i have some questions so thought id make a pr to talk around.
right now i added two workflows for covid (there are others, some for covid, 1 or 2 for mpox or flu.. but they all were suffering various issues, so i started w what was working). the questions i have are: