You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible to add an option to supply a list of colors to use when building a colored DBG from an input file list? The current method of using the -l argument seems to give each sequence in the list its own color, but in some cases it would be desirable to color several sequences with the same color (for example according to some taxonomy).
Currently this can be done by concatenating the files that should get the same color into separate fasta files but this is quite cumbersome to setup for large inputs with many colors and requires duplicating the entire dataset in the temporary fasta files, which can get pretty large.
Example of input I would like to use (first column is colors, second is the file path):
Hi, sorry for the late response, I just found an easy way of adapting the ggcat code to add this feature.
I pushed the code on the dev branch if you want to test it, it works by passing a new flag -d to the tool
Hi,
Would it be possible to add an option to supply a list of colors to use when building a colored DBG from an input file list? The current method of using the
-l
argument seems to give each sequence in the list its own color, but in some cases it would be desirable to color several sequences with the same color (for example according to some taxonomy).Currently this can be done by concatenating the files that should get the same color into separate fasta files but this is quite cumbersome to setup for large inputs with many colors and requires duplicating the entire dataset in the temporary fasta files, which can get pretty large.
Example of input I would like to use (first column is colors, second is the file path):
where the colors and the sequence paths could be supplied either in the same file as above or as separate files.
Thanks for creating ggcat!
The text was updated successfully, but these errors were encountered: