Closed Dkyuan closed 1 year ago
Yeah, you definitely need to pass the .gbz
into vg pack
. If you're getting error[VPKG::load_one]: Could not open /path/to/graph.gbz while loading handlegraph::HandleGraph
it's because there's a typo and /path/to/graph.gbz
does not exist on your filesystem. If you pass it the correct path to your GBZ (the same one used for giraffe
) it should work.
Yeah, you definitely need to pass the
.gbz
intovg pack
. If you're gettingerror[VPKG::load_one]: Could not open /path/to/graph.gbz while loading handlegraph::HandleGraph
it's because there's a typo and/path/to/graph.gbz
does not exist on your filesystem. If you pass it the correct path to your GBZ (the same one used forgiraffe
) it should work.
Thank you for your time. I wrote a wrong name "graph.gbz", It's "graph.giraffe.gbz". So, it works with:
vg pack -t 10 -Q 5 -s 5 -g WSC99.mapped.gam -x ${idx}/graph.giraffe.gbz -o WSC99.pack
Thank you very much agian !
Yeah, you definitely need to pass the
.gbz
intovg pack
. If you're gettingerror[VPKG::load_one]: Could not open /path/to/graph.gbz while loading handlegraph::HandleGraph
it's because there's a typo and/path/to/graph.gbz
does not exist on your filesystem. If you pass it the correct path to your GBZ (the same one used forgiraffe
) it should work.Thank you for your time. I wrote a wrong name "graph.gbz", It's "graph.giraffe.gbz". So, it works with:
vg pack -t 10 -Q 5 -s 5 -g WSC99.mapped.gam -x ${idx}/graph.giraffe.gbz -o WSC99.pack
Thank you very much agian !
For supplementary:
I used vg version 1.43
to build the graph index, while i used version 1.36
to run giraffe and pack
. It worked for giraffe
but nor for pack
even with the right name graph.giraffe.gbz
before the correction of vg version.
1. What were you trying to do? I was runing giraffe--pack --call pipeline to detect SV with two-paired end 150bp short reads. It crashed at the vg pack step.
2. What did you want to happen? I want to get the .pack file from the .gam file using vg pack to run vg call in the next step.
3. What actually happened? The giraffe and stats seemed right: When I used
vg view -j -a WSC99.mapped.gam |less
to check the gam file, it showed:The stat result file is with no problem:
It stopped at the vg pack step with:
4. If you got a line like
Stack trace path: /somewhere/on/your/computer/stacktrace.txt
, please copy-paste the contents of that file here: the stacktrace.txt is shown below:5. What data and command can the vg dev team use to make the problem happen? The three command lines I used were shown below, and I wrote them in a shell_test file,then run with nohup ./shell_test >test.log 2>&1 & [as suggested in issue #3915 ]
6. What does running
vg version
say?7. What I tried
I tried to use .gbz instead of .xg file and just run vg pack with command line:
It stopped with:
I tried the newes vg [vg version v1.47.0 "Ostuni"; binary executable file]
It stopped with erro in "erro_giraffe_new.log" file:
I also tried ro run new vg pack (v1.47.0) with old gam file (from v1.36), it also stopped whit crash:
cat /tmp/vg_crash_4zqi2s/stacktrace.txt
Crash report for vg v1.47.0 "Ostuni" Stack trace (most recent call last) in thread 86838:
9 Object "", at 0xffffffffffffffff, in
8 Object "", at 0x1f9c072, in
7 Object "", at 0x149d568, in
6 Object "", at 0x1ed087d, in
5 Object "", at 0xefc1b0, in
4 Object "", at 0xefbd56, in
3 Object "", at 0x1ef3dd5, in
2 Object "", at 0x5bee77, in
1 Object "", at 0x5befa7, in
0 Object "", at 0x14a0deb, in