Skip to content

unitigs with no colors #73

@hangsuUNC

Description

@hangsuUNC

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

Results:
image

Thanks for your help!

Best,

Hang

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions