Yes we use both in the same block.
The prototype is on github:
http://muffato.github.io/eHive-Blockly/index.html
In short, an eHive workflow is a graph of analyses. The edges are
directed and are labelled with a "branch number".
A usual run of a workflow starts by a "seed" job in an analysis that
will run, trigger events on such branches (also called "dataflow") and
percolate through the graph. We use eHive to manage many of our
bioinformatics / genome analysis workflows, but eHive can work as well
with any kind of automated workflow.
The best is probably to paste the following JSON structure in the edit
box on the right and click the button to render it:
{
"pipeline_name": "pipeline name",
"pipeline_analyses": [
{
"analysis_name": "analysis_1",
"module": "Hive::RunnableDB::SystemCmd",
"analysis_parameters": {
"key_0": "value_0"
},
"dataflows": [
{
"branch_number": "1",
"target_chain": [
{
"analysis_name": "analysis_4",
"module": "Hive::RunnableDB::SystemCmd"
}
],
"semaphore_fan": [
{
"branch_number": "2",
"target_chain": [
{
"analysis_name": "analysis_5",
"module": "Hive::RunnableDB::SystemCmd"
}
]
}
]
},
{
"target_ref": "analysis_2"
}
]
},
{
"analysis_name": "analysis_2",
"module": "Hive::RunnableDB::SystemCmd"
}
]
}
The purple block is the one you proposed to ban from Blockly.
This interface is very much work-in-progress and may change. We worked
quite a lot on that in November / December last year, but we moved on to
other things this year. We plan to come back to using Blockly later on.
I'm very pleased with the Zooming feature, because several of our
workflows have >50 or even >100 analyses and are difficult to render,
but we haven't had time to try it yet.
All the best,
Matthieu
On 19/09/15 01:29, Neil Fraser wrote:
> So just to confirm, you do have the output and next statement
> combination in your existing blocks?
>
> BTW, I'd love to see a screenshot of this. Feel free to email
>
fra...@google.com <mailto:
fra...@google.com> if you don't want to post
> to the group.
>
> On 18 September 2015 at 17:11, Matthieu Muffato <
muf...@ebi.ac.uk
> <mailto:
carlos...@gmail.com
> <mailto:
blockly%2Bunsu...@googlegroups.com>.
> --
> You received this message because you are subscribed to the Google
> Groups "Blockly" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
blockly+u...@googlegroups.com
> <mailto:
blockly+u...@googlegroups.com>.
Matthieu Muffato, Ph.D.
Ensembl Compara and TreeFam Project Leader
European Bioinformatics Institute (EMBL-EBI)
European Molecular Biology Laboratory
Wellcome Trust Genome Campus, Hinxton
Cambridge, CB10 1SD, United Kingdom
Room A3-145
Phone + 44 (0) 1223 49 4631
Fax + 44 (0) 1223 49 4468