-
Notifications
You must be signed in to change notification settings - Fork 638
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
Feature Request: recursive process #1563
Comments
see also http://plindenbaum.blogspot.com/2014/12/divide-and-conquer-in-makefile.html (2014)
|
Interesting. I think it could be done using the feedback pattern |
@pditommaso ohh, that's new to me ! |
unless I'm wrong your solution would be sequential only ? In the example you provided, the lines are added one after the other for each process . So, each step is not parallelizeable compared to a Furthermore, in the scope of merging some BAM files, the main bam would become bigger and bigger and hence, the process slower and slower... Am I wrong ? |
Umm, thinking more the |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Not sure it's the same feature it's envisioned in this issue, however, the support for recursion has been added recently #2521 |
@pditommaso thank you , I'll have a look at this new feature ! |
New feature
as seen on twitter https://twitter.com/yokofakun/status/1248533372630155264 I'd like to have a way to describe a recursive process that would call itself until a condition is done.
I have no idea how it could be described in a DSL:
Usage scenario
I have a large list of VCF that I want to merge in a given region. The number of VCF is too large
for
bcftools merge
orbcftools concat
: it would take days and memory to load the indexes and merge the variants. The idea is to merge by divide an conquer the list of VCFssame example for BAM
I want to find the rares variant in my family but absent from 10000 bams:
at the end we have the are variants
GATK CombineGVCF. 10,000 gvcfs to be combined:
Suggest implementation
it's not clear to me how you could implement this idea :-)
The text was updated successfully, but these errors were encountered: