Open verne91 opened 5 years ago
I'd guess that chr1.vg
and chr2.vg
have overlapping node-id spaces. Did you join their ids with vg ids -j
?
There's some discussion of this in section 2 of https://github.com/vgteam/vg/wiki/Index-Construction
I'd guess that
chr1.vg
andchr2.vg
have overlapping node-id spaces. Did you join their ids withvg ids -j
? There's some discussion of this in section 2 of https://github.com/vgteam/vg/wiki/Index-Construction
Yes. I didn't do that step.
But when I do this now, there is no result and the stdout and stderr are empty.
I tried two times. The jobs completed successfully.
The command line I used is:
vg ids -j chr1.vg chr2.vg > new.vg
What's wrong with that?
It modifies the files in place.
On Thu, Aug 29, 2019 at 10:46 AM Chen Sun notifications@github.com wrote:
I'd guess that chr1.vg and chr2.vg have overlapping node-id spaces. Did you join their ids with vg ids -j? There's some discussion of this in section 2 of https://github.com/vgteam/vg/wiki/Index-Construction
Yes. I didn't do that step. But when I do this now, there is no result and the stdout and stderr are empty. I tried two times. The jobs completed successfully. The command line I used is: vg ids -j chr1.vg chr2.vg > new.vg What's wrong with that?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/vgteam/vg/issues/2420?email_source=notifications&email_token=AAG373UVLBBDTEUAEBBZRBLQG7ON7A5CNFSM4IRN33U2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5OXUWI#issuecomment-526219865, or mute the thread https://github.com/notifications/unsubscribe-auth/AAG373W6FJRZ23BHD2T5USTQG7ON7ANCNFSM4IRN33UQ .
It modifies the files in place. … On Thu, Aug 29, 2019 at 10:46 AM Chen Sun @.***> wrote: I'd guess that chr1.vg and chr2.vg have overlapping node-id spaces. Did you join their ids with vg ids -j? There's some discussion of this in section 2 of https://github.com/vgteam/vg/wiki/Index-Construction Yes. I didn't do that step. But when I do this now, there is no result and the stdout and stderr are empty. I tried two times. The jobs completed successfully. The command line I used is: vg ids -j chr1.vg chr2.vg > new.vg What's wrong with that? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#2420?email_source=notifications&email_token=AAG373UVLBBDTEUAEBBZRBLQG7ON7A5CNFSM4IRN33U2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5OXUWI#issuecomment-526219865>, or mute the thread https://github.com/notifications/unsubscribe-auth/AAG373W6FJRZ23BHD2T5USTQG7ON7ANCNFSM4IRN33UQ .
Yes. It works when I built the xg index.
But the help message of xg ids
looks like this. It generates a new.vg
file.
$ vg ids
usage: vg ids [options] <graph1.vg> [graph2.vg ...] >new.vg
options:
-c, --compact minimize the space of integers used by the ids
-i, --increment N increase ids by N
-d, --decrement N decrease ids by N
-j, --join make a joint id space for all the graphs that are supplied
by iterating through the supplied graphs and incrementing
their ids to be non-conflicting (modifies original files)
-m, --mapping FILE create an empty node mapping for vg prune
-s, --sort assign new node IDs in (generalized) topological sort order
I am trying to build the xg index for the graph. The command line is:
It runs about 2 minutes and get the error:
The stacktrace.txt looks like this:
any idea about this problem?