GENE_LIST_DIRECTORY = new File(getIgvDirectory(), "lists");
if (!GENE_LIST_DIRECTORY.exists()) {
GENE_LIST_DIRECTORY.mkdir();
}
if (!GENE_LIST_DIRECTORY.canRead()) {
throw new DataLoadException("Cannot read from user directory", GENE_LIST_DIRECTORY.getAbsolutePath());
} else if (!GENE_LIST_DIRECTORY.canWrite()) {
throw new DataLoadException("Cannot write to user directory", GENE_LIST_DIRECTORY.getAbsolutePath());
}
}
return GENE_LIST_DIRECTORY;
}