diff --git a/js/genome/genome.js b/js/genome/genome.js index c6a226f37..17d283b4a 100644 --- a/js/genome/genome.js +++ b/js/genome/genome.js @@ -144,7 +144,9 @@ class Genome { let chromAliasRecord if (this.chromAlias) { chromAliasRecord = await this.chromAlias.search(chr) - chr = chromAliasRecord.chr + if(chromAliasRecord) { + chr = chromAliasRecord.chr + } } if (!this.chromosomes.has(chr)) {