Skip to content
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

Bandage line command cannot interpret colour scheme from GFA file #95 #96

Closed
alvipal opened this issue Aug 12, 2020 · 1 comment
Closed

Comments

@alvipal
Copy link

alvipal commented Aug 12, 2020

Hi,

When I launch Unicycler, I get a GFA graph that I visualize with Bandage.
The colors of the nodes are determined inside the GFA file (sample attached in the image)
If I open Bandage via the interface, it interprets the colours perfectly. But it's not the same if I launch it via

Bandage image my_graph.gfa imagen.png --toutline 1 --names --fontsize 8

Which command should I use on the shell to achieve Bandage could to interpret the color specified inside the GFA file?

Screenshoot of the inside of GFA file, which include the specification of the node colours:
custom_colours_inside_gfa_file

Bandage GUI capable of interpreting the GFA colours:
graph_bandage_GUI

Bandage command is NOT able to interpretate the GFA colours:
Bandage image my_graph.gfa imagen.png --toutline 1 --names --fontsize 8
imagen

Which command should I use on the shell to achieve Bandage could to interpret the color specified inside the GFA file?

Thanks a lot in advance!!!

@rrwick
Copy link
Owner

rrwick commented Jan 5, 2022

Using --colour custom option should make Bandage use the colours in the GFA file. This is currently only in the development branch, but I will make a new release with this fix shortly.

@rrwick rrwick closed this as completed Jan 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants