panacus icon indicating copy to clipboard operation
panacus copied to clipboard

internal error: entered unreachable code: expected '+' or '-', but got <

Open upsm-123 opened this issue 10 months ago • 6 comments

  1. When I was run ordered_pangenome_growth_statistics.md :(RUST_LOG=info panacus ordered-histgrowth -c bp -l 1,2,3,42 -S -e hprc-v1.0-mc-grch38.exclude.grch38.txt -O hprc-v1.0-mc-grch38.order.samples.txt hprc-v1.0- mc-grch38.gfa > hprc-v1.0-mc-grch38.ordered-histgrowth.bp.tsv),happends error is followde: [2025-03-10T09:03:07Z ERROR panacus::graph_broker::abacus] order list does not contain information about path CH M13#0#chr22 [2025-03-10T09:03:07Z INFO panacus::graph_broker] calculating abaci for count_types: [Bp], and edge: false [2025-03-10T09:03:07Z INFO panacus::io] loading graph from hprc-v1.0-mc-grch38.gfa [2025-03-10T09:03:07Z INFO panacus::graph_broker::util] parsing path + walk sequences thread 'main' panicked at src/graph_broker/graph.rs:45:18: internal error: entered unreachable code: expected '+' or '-', but got > note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

  2. I'd like to ask how to create a growth curve for an edge. Can you provide me with the specific steps? Can the command be executed in this way? RUST_LOG=info panacus histgrowth -l 1,2,3,15 -c edge -S -a -s 15_duck.paths.haplotypes.txt 15_duck.gfa > 15_duck.edge.tsv If so, I got the following error message. [2025-03-11T02:28:11Z INFO panacus::graph_broker::util] parsing path + walk sequences thread 'main' panicked at src/graph_broker/graph.rs:45:18: internal error: entered unreachable code: expected '+' or '-', but got < note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

upsm-123 avatar Mar 11 '25 06:03 upsm-123

Which version of panacus are you using?

heringerp avatar Mar 11 '25 07:03 heringerp

Which version of panacus are you using? Version 0.3.3

upsm-123 avatar Mar 11 '25 08:03 upsm-123

I used mambd to installed

upsm-123 avatar Mar 11 '25 10:03 upsm-123

Unfortunately, version 0.3.3 is not yet available using mamba. Mamba/bioconda is still on version 0.3.0. You could either install the binary release or install from source. The issue should be fixed there.

I might be able to get the current version to bioconda at the end of the week.

heringerp avatar Mar 11 '25 13:03 heringerp

OK,thank you!

upsm-123 avatar Mar 12 '25 00:03 upsm-123

It has been solved. Thank you again.

upsm-123 avatar Mar 12 '25 06:03 upsm-123