Comments (2)
Hi @J-Wall,
that exact same issue recently came up with a collaborator as well, and so I have already thought about adding it. So, great idea!
Back then, I decided to not implement it immediately, as I had many other things on my plate, and the collaborator was working with only 400 contigs, so it was still manageable. But your case is even more extreme, and so yes, I can see the usefulness of this!
I'd be happy to work on this at some point, and sure, if you already have an implementation that does something in that direction, let's continue working on this, or maybe you can even prepare a PR for this if you want :-)
Cheers
Lucas
from grenepipe.
Hi @J-Wall,
finally got to work on this. In the latest set of commits, I've added the functionality that you proposed to grenepipe.
My first draft was based on your idea, thank you very much for this! I did not have a pull request from you to work off, but mentioned you in the commit. I hope that this works as recognition :-)
Then, I started refining your solution. It now uses a simple (greedy) bin packing solver to achieve a slightly more optimal distribution of contigs per group, allows to use the other calling tools as well, and has generally a "less hacky" snakemake setup. Maybe that is also interesting for you - you can back-port it to your fork, or just use the main repo instead, as this should solve your problem as well (and has some more bug fixes by now that are not part of your fork).
Cheers, and thanks again for both the suggestion and your initial solution!
Lucas
PS: Closing this now. Feel free to re-open should there be any issues with the new code.
from grenepipe.
Related Issues (20)
- FastQC on one set of reads only HOT 7
- Picard environment not created HOT 8
- snpEff download directory only works with a trailing slash HOT 3
- feature request: pass local reference genome database to snpEff HOT 2
- Updating run with new reads HOT 12
- support for haploid genomes? HOT 8
- Error in picard_collectmultiplemetrics HOT 4
- freebayes causes early error about number of threads HOT 12
- Call variants being rerun when adding new samples HOT 3
- Change link in wiki HOT 1
- BaseRecalibrator error - needs more readgroup info? HOT 2
- Error while running example HOT 6
- CondaMemoryError when creating conda envs in cluster HOT 3
- Run snakemake on Cluster HOT 3
- Conda installation error HOT 7
- Versions specified in conda env files and snakemake wrappers lead to conflicts/are not available HOT 11
- config file error HOT 5
- Error in mapping on cluster HOT 6
- bwa-mem2 "{tmp}.0000.bam": File exists HOT 5
- threads for bwa-mem2 via slurm HOT 2
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 grenepipe.