-
Notifications
You must be signed in to change notification settings - Fork 100
Single vs double node style
Due to the complementary nature of DNA, assembly graph nodes actually come in pairs where their sequences are reverse complements of each other. Bandage names nodes ending with either '+' or '-', so for example, node 5+ is the reverse complement of 5- and vice-versa. Note that depending on the assembler, a node being 'positive' or 'negative' may have no real meaning – it can be random which node in a pair is positive vs negative. See the page Assembler differences for more information.
In some graphs, such as the example shown above, paths exists which connect a node to its reverse complement. For these cases, the double node style can be useful in understanding complex areas. However, for simpler graphs, double style can be an unnecessary complication.
By selecting 'Single' in the 'Graph drawing' section of the main Bandage window (the default setting), you can view the graph in single node style. In this mode, a single node is drawn to the screen to represent both nodes in a complementary pair. Since the visualised nodes represent both directions, they do not have arrowheads.
Graphs drawn in single style are visually simpler. They have half the number of displayed nodes and edges, which results in a less cluttered appearance and improved performance. However, complex areas of the graph can be more difficult to understand in single style.
There are two places in Bandage where you can specify nodes either with or without the +/- at the end: when using the 'Around nodes' graph scope and when searching for nodes using 'Find nodes'. In these cases, when a node name is given without the +/-, it is assumed that you are referring to both nodes in the pair. For example, if you search for the node named '5', Bandage will find both node '5+' and '5-'. If you include the +/-, then you refer to only one node in the pair.
When specifying an exact path in Bandage, it is necessary to use the +/- in node names. For this reason, double mode is useful when specifying exact paths. See Graph paths for more information.
- Home
- Getting started
- Settings:
- Functionality:
- Assembly:
- Example uses:
- Media:
- About