If you don't prepare index of a bed file for IGV, then IGV will try to read every interval into the memory and then generate index for them, which means outstanding consumptions of memories and very a long time for computations. So a good practice for visualizing genomic intervals in IGV is that using tabix to generate index for these interval files first, then load them into IGV. Let's say we have an interval bed file test_file_1.bed.gz, it has 18M records, after loading this file into IGV without index, IGV takes more than 25GB of memory!
But if you use tabix test_file_1.bed.gz to generate the index first, and then feed IGV with the same file, it only takes 2GB!
This article is posted in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Permanent link to this post: https://www.yaobio.com/posts/tricks-of-igv/