Skip to content

How to color a pangenome graph using SN:Z: fields #609

@atomemeteore

Description

@atomemeteore

Hello everyone,

I recently made a pangenome using an input text file containing the locations of 3 multifasta corresponding to the genomes I want to work with.

The png I obtained was 3 paths corresponding to each genome.

I was wondering if there was a way to color the segment of each path according to their chromosome appartenance ? I noticed that each segment was affiliated to a chromosome with their SN:Z: field.

I converted my gfa file to og file format (odgi build command) and transformed this file into png image (odgi viz command)
But odgi only has color options based on paths and not nodes

Thank you very much

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions