Trying to find an appropriate tool for editing pathways has not been easy. Even the search terms have been hard to work out. You’ll be presented will specialised biology pathway editors when you search for ‘pathway’ editor and you can get some very pretty and complex graphs searching for ‘network’ editors, these do not let you add data to the nodes however.
And so, we set about making some new custom nodes for our purposes. We needed some nodes into which we could put the data that describes what is happening at each step of the pathway. The guides provided by Node-RED made it a simple task and I got on with designing the data forms. The further you delve into customising the nodes the trickier it gets to find help and I did hit my limit on trying to code multiple tables and nest them. I was probably being a bit ambitious there. In the end, it has been more efficient for us to extract a lot of this data out into spreadsheets anyway so I have been able to achieve everything we needed.
I have been impressed by the amount of customisation that can be done in the creation of new nodes; everything can be changed dynamically if you want it to be. There are a couple of things we could have done with. The ability to add more than one line to the title displayed on the nodes and the ability to move where the inputs and outputs are on the node which would allow a clearer layout. I did end up creating this tangle of a wires due to the limitations.
That said, for a tool that we are using outside its design, it has been very useful and easy to use. Our goal is to have an editor that allows anyone to jump on and start making pathways. Node-RED is very intuitive to use and helps us towards that aim.
By Harley Johnson
We just sent you an email. Please click the link in the email to confirm your subscription!