-
Notifications
You must be signed in to change notification settings - Fork 0
Getting started
Descriptions and images/animations featured here are credited to Ryan Wick from the extensive original Bandage documentation!
Paths (P
lines in GFA 1.2) represent named ways of walking segments in a graph. An example of a path can be a scaffold that resulted from downstream scaffolding such as Bionano Solve, SALSA2, or yahs. The segments in a path are connected by jumps (J
lines in GFA 1.2). These are represented in the above animation by dashed red lines†.
BandageNG allows users to look up paths by name, and has an autofill function based on the paths defined in the GFA. Once a path is selected, the user can move all of the path's components as one.
† Not to be confued with overlap links (L
lines), represented by solid black lines.
Load a graph by following these options from the top menu bar: File > Load graph
Once the graph is loaded, click the Draw graph
button on the left sidebar to draw the graph to the screen.
This step can take some time depending on the size of the graph. The visual appearance of the layout is seeded based on current time. so the graph may appear different if you redraw it in the future.
Note that on a Mac, the Command
key (⌘) is used instead of the Ctrl
key in the below instructions.
Click on any node or edge to select it.
Holding `Ctrl` while clickon on nodes/edges adds them or removes them from the current selection.. Click and drag to select large numbers of nodes and edges.Left click and drag on any node to move it. For short nodes, this will move the entire node. For long nodes, this will move the region of the node near the mouse cursor.
Right cilck and drag o nany node to move it one piece at a time. This is useful for fine-tuning the shape of a graph or for rotating short nodes. Selected nodes are moved in their entirety when dragged. If multiple nodes are selected, they can all be moved together.Ctrl + mouse wheel to zoom the view in and out.
Ctrl + left mouse button click + drag to pan the view. Ctrl + right mouse button click + drag to rotate the view.