-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
Hi,
Thanks for this wonderful tool! I'm writing to ask a question about the color of unitigs. I found about 3% of the unitigs created from Bifrost is of no colors. Is this because these unitigs do not exist in any of the samples (randome recombinations between a set of kmers)? I used pyfrost to load the graph and the color files to do the analysis
Here is the command:
Bifrost build -t 16 -k 31 -c -s -r -o <Bifrost_graph>
Pyfrost:
g = pyfrost.load(<Bifrost_graph>)
nodelist = list(g.nodes)
no_colors = 0
for node in nodelist:
try:
colors = g.nodes[node]['colors']
except:
no_colors += 1
Thanks for your help!
Best,
Hang
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
