Skip to content

New workflow for hal2vg #56

@RenzoTale88

Description

@RenzoTale88

Hello,
I'm tring to convert a branch of a hal archive by specifying the root genome as follow:

hal2vg --noAncestors --chop 32 --hdf5InMemory --rootGenome Anc04 --progress out.hal > VG/out.raw.pg

Once I get this archive, I try to use clip-vg to forwardize the reference genome:

clip-vg -u 100000 -e REFERENCE --progress VG/out.raw.pg > VG/out.clip.pg

When I run the second comment, I get the following error:

[clip-vg]: Loaded graph
[clip-vg]: Loaded 148 BED intervals over 146 sequences
[clip-vg]: Clipping 1 intervals from path GENOME1.seq2.1
[clip-vg]: Clipping 1 intervals from path GENOME1.seq2.1
....
[OTHER sequences here]
...
[clip-vg]: Clipping 1 intervals from path GENOME1.seq10.1
[clip-vg]: Clipping 1 intervals from path GENOME1.seq11.1
[clip-vg]: Clipping 1 intervals from path GENOME1.seq12.1
[clip-vg]: Clipped 25502192 bases from 809839 nodes in 146 paths
[clip-vg]: 114514 orphaned connected components were removed with total 390836444 bases
[clip-vg]: Forwardized 4665 / 7468 steps in reference path REF.NW_XXX.1
[clip-vg]: Forwardized 2139 / 2218 steps in reference path REF.NW_XXY.1
[clip-vg]: Forwardized 1732 / 4106 steps in reference path REF.NW_XXZ.1
[clip-vg] error: Cycle detected in reference path REF.NW_XYZ.1 at node 99701782

I'm probably missing some trivial step to break the cycles in the alignments, but I'm unsure what.
Thank you for the help!
Andrea

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