Skip to content

Conversation

@d-callan
Copy link
Collaborator

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:

  1. do we want to add the variant calling category in iwc for these? right now they are assigned 'SARS-CoV-2' in iwc which i map to 'Variant Calling' in brc, but that seems bad. it wasnt obvious to me how to update iwc for this..
  2. looking at some of these in galaxy, i can see places where we tell users they can fetch input files from a public history of wolfgang's.. since we have made an effort before to pre-populate input params for ppl, do we want to try to do the same here? and if thats easy enough to do, how do i do it?

@d-callan d-callan changed the title Organism specific workflows feat: Organism specific workflows (#357) Mar 24, 2025
@d-callan d-callan changed the title feat: Organism specific workflows (#357) feat: adding organism specific workflows (#357) Mar 24, 2025
@d-callan
Copy link
Collaborator Author

believe were adding the variant calling category to these workflows in iwc

@d-callan d-callan linked an issue Mar 24, 2025 that may be closed by this pull request
@mvdbeek
Copy link
Member

mvdbeek commented Mar 24, 2025

  1. it wasnt obvious to me how to update iwc for this

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.

2. and if thats easy enough to do, how do i do it?

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.

@d-callan
Copy link
Collaborator Author

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.

@mvdbeek my dockstore username should be d-callan 🙏

@d-callan
Copy link
Collaborator Author

@mvdbeek this guy says something about tools having changed since he was last saved.

@d-callan
Copy link
Collaborator Author

sry @mvdbeek one more q for you.. do we think it makes sense to have this in the variant calling collection as well?

@d-callan
Copy link
Collaborator Author

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.

@mvdbeek
Copy link
Member

mvdbeek commented Mar 25, 2025

I've edited the collections on dockstore, if you run npm run iwc-manifest-to-workflows-yaml you should get the updated workflows.

tools having changed since he was last saved.

difficult getting that old tool installed (galaxyproject/usegalaxy-tools#944), i'll take a look tomorrow

@d-callan
Copy link
Collaborator Author

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:

  1. adding a workflow for mpox, and three for covid
  2. adding a workflow category for consensus sequences
  3. adding support for explicit url specs in workflows yml

@d-callan d-callan marked this pull request as ready for review March 26, 2025 15:09
@d-callan d-callan requested a review from hunterckx March 26, 2025 15:10
@d-callan
Copy link
Collaborator Author

(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.)

@NoopDog
Copy link
Collaborator

NoopDog commented Mar 28, 2025

Thanks so much for this, @d-callan and @mvdbeek. Reviewing!

Copy link
Collaborator

@hunterckx hunterckx left a 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)

@hunterckx hunterckx merged commit a63f0fb into main Mar 30, 2025
2 checks passed
@hunterckx hunterckx deleted the organism-specific-workflows branch March 30, 2025 03:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Add organism specific workflows

5 participants