-
Notifications
You must be signed in to change notification settings - Fork 284
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
Blog post: Moving workflows from single files to collections - a case study #2050
Open
paulzierep
wants to merge
11
commits into
galaxyproject:master
Choose a base branch
from
paulzierep:collection-news
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
bd6792f
init
paulzierep 57bd1a2
3 cases
paulzierep c76e9ff
changed todo
paulzierep 991c526
adding examples to show how we converted from single files to collect…
EngyNasr c9cf070
Merge branch 'collection-news' into addingtocollectionnews
paulzierep 12aeba0
Merge pull request #1 from EngyNasr/addingtocollectionnews
paulzierep a42f9b9
* added todo
paulzierep d17a2f4
added WF links, minor text changes
paulzierep 79e8e03
added cached option
paulzierep f1836a3
removed last part
paulzierep daa2a81
failed collection element only problematic downstream for Collapse Co…
paulzierep File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
content/news/2023-06-from-single-files-to-collections/index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
title: "Moving workflows from single files to collections - a case study" | ||
date: "2023-06-20" | ||
tease: "Allowing a complex workflow to be used on multiple datasets using collections." | ||
hide_tease: false | ||
authors: 'Paul Zierep, Engy Nasr' | ||
authors_structured: | ||
- github: paulzierep | ||
- github: EngyNasr | ||
tags: [EU] | ||
subsites: [all-eu] | ||
main_subsite: eu | ||
--- | ||
|
||
Collections are a great way to bundle multiple dataset into single entities (as shown in the histroy) that can be | ||
processed collectively. In fact, when the amount of datasets rises up to 1000+ it becomes essential to use collections. | ||
Galaxy can also use collections in tools that are not specifically designed to process | ||
collections using the mapping-over strategy (run the tool for each of the elements in a collection). | ||
Therefore, it should be a peace of cake to port complete workflows that | ||
were based on processing single files to use collections as well. | ||
However, when applying this idea on our latest metagenomics workflow [Foodborn Pathogen detection](https://training.galaxyproject.org/training-material/topics/metagenomics/tutorials/pathogen-detection-from-nanopore-foodborne-data/tutorial.html) we encountered some problems | ||
that arise when switching from single files to collection. | ||
In the following we would like to present some of those issues and how we solved them, in the hopes that these strategies can help | ||
others to port their workflows to collections. | ||
|
||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
if you also want to write them as FAQs in the GTN it could be useful, just sort of "how to do X" type FAQs, then we can easily link users to them when they encounter those issues later
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.
when the post is finalized, we will condense into a FAQ, thanks for the Idea !