igvtools index memory consumption

45 views
Skip to first unread message

Vered Sokolovsky

unread,
Nov 7, 2016, 1:53:05 AM11/7/16
to igv-help, vered sokolovsky
Hi,

I am using igvtools (cli) v2.3.81  in order to index a 7Gb size vcf file. It seems that I must run igvtools with java settings of -Xmx8g for this to complete successfully - less than that causes out-of-memory error.

I tried running the same command (igvtools index) on the same vcf file with a very old version of igvtools I have (v1.5.15), and it completed successfully with java settings of only -Xmx1500m

So I wonder if this means that igvtools needs memory at least the size of the file it is indexing ? and if so, could this be fixed ?

Another thing that I've noticed is that the idx files created by the two versions are similar in size, but have different checksum. Is the result compatible between the 2 versions?

thank you,
Vered     

James Robinson

unread,
Nov 8, 2016, 12:39:37 AM11/8/16
to igv-help, vered sokolovsky
I will look into this.   There is no direct correlation between file size and memory requirement that I am aware of.    Indexes created with 1.5 should be compatible with the current IGV,  but the reverse is not true.   However, for files of this size I recommend you use tabix,  it is the de-facto standard for vcf files and will compress as well as index the file.  Do a websearch for "samtools tabix" if you are not familiar with it.

It would be helpful if you could open a git issue since I won't be able to look at this right away.

--

---
You received this message because you are subscribed to the Google Groups "igv-help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to igv-help+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/igv-help/6583c9c2-f6df-4420-ad29-00d9807be2b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages