Split chromosome into smaller fragments to save memory when build xg and gcsa index.
1
0
Entering edit mode
2 days ago
李经纬 • 0

I follow the tutorial to build index for each chromosome. This saves memory when build index. However, my pc run out of memory when building xg index even in this case. Is it possible to split chromosome into smaller fragments to further save memory when build xg and gcsa index? How to specify this in the -R option of vg construct?

vg • 294 views
ADD COMMENT
0
Entering edit mode

I have tried to index various chromosome sets.

  • chrom1 only: Memory usage: 2.53022 GB.
  • chrom1-10: Memory usage: 13.3299 GB.
  • chrom1-20: Memory usage: 22.9164 GB.
  • chrom1-35: Memory usage: 23.5126 GB.

The memory usage will increase when more chromosome is included.

ADD REPLY
0
Entering edit mode

I use vg construct --region chrom:start-end to restrict graph to a chromosome region.

ADD REPLY
0
Entering edit mode
1 day ago

I would say the answer is unfortunately no. It would be possible to make smaller individual XG indexes, but downstream subcommands in the VG toolkit do not support multiple XGs. In general, VG is designed mostly for HPC clusters and shared compute servers that have > 64 GB of RAM. It would be difficult to run VG on most consumer-grade PCs.

ADD COMMENT

Login before adding your answer.

Traffic: 1792 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