Comments (2)
I have a workflow where I extract all genes from a number of genomes, and then perform a series of statistics on these individual files. This means that when I start the workflow I don't know how many and what the names of these files will be.
The way gwf works, it needs to know about all input/output files to create the dependency graph, which happens before anything is actually run. So no, there's no nice solution.
I can't find a way to have gwf dynamically parse the individual gene files from the beginning. This means that I need to restart the workflow for each "checkpoint" where a number of intermediate files are generated.
From this it sounds like you actually do know which files you're going to end up with? Do you have files that specify the genes in the genomes already? If you do, it should be trivial to parse these in your workflow file and create the appropriate targets.
Cheers,
Dan
from gwf.
Hi Dan.
Thanks for your quick answer.
From this it sounds like you actually do know which files you're going to end up with? Do you have files that specify the genes in the genomes already? If you do, it should be trivial to parse these in your workflow file and create the appropriate targets.
The names of the genes in the genomes stem from a genome annotation (Prokka) which is part of the pipeline. So only if I pre-annotate can I do what you suggest.
Best, Carl.
from gwf.
Related Issues (20)
- `gwf cancel` cancels jobs that aren't submitted HOT 4
- Cancel command broken in 1.7.0 HOT 1
- Clean and cancel commands should have similar behaviour
- Behaviour on target failure HOT 2
- Minor documentation issue
- Run gwf workflow with user defined inputs HOT 3
- Experimental feature: Parse input-output of spec automatically HOT 2
- time.clock() not available in python 3.9 HOT 1
- time HOT 1
- collections.abc
- After update to 1.8.0: Targets ending in "Shouldrun" even though they finish correctly HOT 2
- Import problem with gwf 1.8.1 HOT 2
- percentage of dependencies complete for targets is always 0.00% HOT 1
- Scheduler resubmits completed jobs (gwf v1.8.5) HOT 1
- gwf touch: unexpected keyword argument 'group' HOT 2
- Allow gwf touch to only touch parts of the graph
- Add "failed" to status -s HOT 4
- Target that should not run yet fails HOT 4
- Update documentation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gwf.