I ran autoindex giraffe of vg tools , Step : Constructing a greedy path cover GBWT was killed
1
0
Entering edit mode
2.9 years ago

Hi, everyone. Recently, I use vg tool and had problem.

My code is below

vg autoindex --workflow giraffe --prefix ./output/ -r ./fasta/ref.fasta -v ./vcf/test.vcf.gz -T ./log/ --threads 2 --target-mem 3G

And I got message

[IndexRegistry]: Checking for phasing in VCF(s).

[IndexRegistry]: Chunking inputs for parallelism.

[IndexRegistry]: Chunking FASTA(s).

[IndexRegistry]: Chunking VCF(s).

warning:[IndexRegistry] Skipping contig chr1, which is found in VCF(s) but not reference.

[IndexRegistry]: Constructing VG graph from FASTA and VCF input.

[IndexRegistry]: Constructing XG graph from VG graph.

[IndexRegistry]: Constructing a greedy path cover GBWT

Killed

And I got "chunked fasta file, vg file, xg file, maxid.txt file" in temp directory (log)

So my question is how do i restart step3 "Constructing a greedy path cover GBWT" Can i rerun that?

Thanks to your help!

vg mapping GBWT giraffe autoindex • 1.4k views
ADD COMMENT
2
Entering edit mode
2.9 years ago
Jouni Sirén ▴ 470

Restarting vg autoindex from an intermediate step is not really supported. You could try adding option --provide "XG:graph.xg" to use the existing XG graph, which may work. You may also want to use --verbosity 2 to get some information on why the path cover GBWT construction fails.

ADD COMMENT
0
Entering edit mode

@Jouni Sirén Thanks to your help. But Can i ask one more? Is it "--provide" options in "autoindex"? I couldn't find that

ADD REPLY
0
Entering edit mode

Oh! I got it! Thank you!

ADD REPLY

Login before adding your answer.

Traffic: 1662 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6