-
Notifications
You must be signed in to change notification settings - Fork 44
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
Merging syntax with new operator #174
Comments
Does the existence of the |
@sjackman the idea would be to have other checks that forbide that string without the The other issue with repeating processes rather than writing duplicated processes in different forks will be handled apart from this, since it is simpler to implement. Although of course the design options are linked. |
How about this syntax:
That indicates to me that A and B are the inputs to C. It would also allow for this:
in a single command to run a short-read assembly, long-read assembly, and hybrid assembly. |
@sjackman I'm not completely sure how this example would work but I'm trying to wrap my head around it because we need to consider the changes required for parsing the string and how to transform that into something readable by the engine. You proposal seems cleaner. But there is a problem with the
Btw, that example could also be replicated with the syntax suggested by @bfrgoncalves:
It's more verbose, but also seems more explicit in separating the different assemblies (or whatever components we use after the merge). I'm not discarding your proposal, just discussing the pros and cons of these approaches. |
In my proposal
Does that answer your question? |
Hmm, in that case the parser would repeat the |
Yes, that's right. |
At the moment, Flowcraft does not provide syntax in the pipeline string to define merge of outputs from multiple components into a single component . To allow that, a new operator should be added and be classified as the merge operator.
I propose the following sintax:
( (A | B ) > C ) | D ) > E
,where the outputs of
A & B
would be given as input forC
and the outputs ofC & D
would be passed as input forE
.These modifications also require setting up the total number of accepted inputs on the merging components, instead of only accepting one main input.
The text was updated successfully, but these errors were encountered: