Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with multigrapher #56

Open
nlapalu opened this issue Jan 22, 2025 · 2 comments
Open

Problem with multigrapher #56

nlapalu opened this issue Jan 22, 2025 · 2 comments

Comments

@nlapalu
Copy link

nlapalu commented Jan 22, 2025

Hi Siegfried,

I'm able to run grapher on a 2 gfa files in gfa v1.0 from Minigraph Cactus and pggb

pancat grapher zt_mc.full.v1.0.gfa view.html -r CHR_5 -s 100000 -e 101000 -b 50 1000
pancat grapher pggb.gfa view2.html -r CHR_5 -s 100000 -e 101000 -b 50 1000

Then I launched the compare tool to obtain the distances:

pancat compare -c 2 -t zt_mc.full.v1.0.gfa pggb.gfa -o compare.json -g
Paths of Graph_A 1A5#0#1A5.CHR_5#0, 1E4#0#1E4.CHR_5#0, 3D1#0#3D1.CHR_5#0, 3D7#0#3D7.CHR_5#0, AUS01#0#AUS01.CHR_5#0, CHR_5, TN09.CHR_5, YEQ92#0#YEQ92.CHR_5#0
Paths of Graph_B AUS01#0#AUS01.CHR_5#0, CHR_5, 1A5#0#1A5.CHR_5#0, 1E4#0#1E4.CHR_5#0, 3D1#0#3D1.CHR_5#0, 3D7#0#3D7.CHR_5#0, TN09.CHR_5, YEQ92#0#YEQ92.CHR_5#0
PATH INTERSECTION: {'3D1#0#3D1.CHR_5#0', '3D7#0#3D7.CHR_5#0', '1E4#0#1E4.CHR_5#0', 'CHR_5', 'YEQ92#0#YEQ92.CHR_5#0', 'AUS01#0#AUS01.CHR_5#0', '1A5#0#1A5.CHR_5#0', 'TN09.CHR_5'}

When I try to launch multigrapher:

pancat multigrapher zt_mc.full.v1.0.gfa pggb.gfa compare.json view.html -r CHR_5 -s 100000 -e 101000 -b 50 1000

Image

Une petite idée du problème.
Merci
+

dubssieg added a commit that referenced this issue Jan 23, 2025
dubssieg added a commit that referenced this issue Jan 23, 2025
Fix `clean_graph` bad unpacking for #56
@dubssieg
Copy link
Owner

Hello, I could easily replicate this on my side.
Happens to be an unpacking error when specifying start and end points, where I messed up in the case of multigrapher.
Sorry for the inconvenience, I should work perfectly fine now!

LMK if you still have trouble, otherwise feel free to close the issue.

@nlapalu
Copy link
Author

nlapalu commented Jan 23, 2025

Hi Siegfried,

New stack trace:

Image

.....

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants