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

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

Open
upsm-123 opened this issue Mar 11, 2025 · 6 comments
Open

Comments

@upsm-123
Copy link

  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

@heringerp
Copy link
Collaborator

Which version of panacus are you using?

@upsm-123
Copy link
Author

Which version of panacus are you using?
Version 0.3.3

@upsm-123
Copy link
Author

I used mambd to installed

@heringerp
Copy link
Collaborator

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.

@upsm-123
Copy link
Author

OK,thank you!

@upsm-123
Copy link
Author

It has been solved. Thank you again.

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