From 522d929f5aaa98f3bf38ba2330fbe781f642769b Mon Sep 17 00:00:00 2001
From: Alexander Rose <alexander.rose@weirdbyte.de>
Date: Wed, 19 Feb 2020 10:32:03 -0800
Subject: [PATCH] handle UNK as amino acid

---
 src/mol-model/structure/model/types.ts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/mol-model/structure/model/types.ts b/src/mol-model/structure/model/types.ts
index d9f083413..2421cb5ec 100644
--- a/src/mol-model/structure/model/types.ts
+++ b/src/mol-model/structure/model/types.ts
@@ -221,6 +221,8 @@ export const WaterNames = new Set([
 export const AminoAcidNamesL = new Set([
     'HIS', 'ARG', 'LYS', 'ILE', 'PHE', 'LEU', 'TRP', 'ALA', 'MET', 'PRO', 'CYS',
     'ASN', 'VAL', 'GLY', 'SER', 'GLN', 'TYR', 'ASP', 'GLU', 'THR', 'SEC', 'PYL',
+
+    'UNK' // unknown amino acid from CCD
 ])
 export const AminoAcidNamesD = new Set([
     'DAL', // D-ALANINE
-- 
GitLab