@@ -165,6 +165,7 @@ public static List<ClinicalAcmg> calculateAcmgClassification(ConsequenceType con
165165 if (StringUtils .isEmpty (score .getSource ())) {
166166 continue ;
167167 }
168+ // Be careful with the source names!, use lowercase to avoid problems
168169 switch (score .getSource ().toLowerCase ()) {
169170 case "sift" : {
170171 if (score .getScore () <= 0.05 ) {
@@ -204,6 +205,7 @@ public static List<ClinicalAcmg> calculateAcmgClassification(ConsequenceType con
204205 if (StringUtils .isEmpty (score .getSource ())) {
205206 continue ;
206207 }
208+ // Be careful with the source names!, use lowercase to avoid problems
207209 switch (score .getSource ().toLowerCase ()) {
208210 case "cadd_scaled" : {
209211 if (score .getScore () > 15.0 ) {
@@ -227,6 +229,7 @@ public static List<ClinicalAcmg> calculateAcmgClassification(ConsequenceType con
227229 if (StringUtils .isEmpty (score .getSource ())) {
228230 continue ;
229231 }
232+ // Be careful with the source names!, use lowercase to avoid problems
230233 switch (score .getSource ().toLowerCase ()) {
231234 case "gerp" : {
232235 if (score .getScore () > 2.0 ) {
@@ -236,7 +239,8 @@ public static List<ClinicalAcmg> calculateAcmgClassification(ConsequenceType con
236239 }
237240 break ;
238241 }
239- case "phastCons" : {
242+ // phastCons, make lowercase to phastcons
243+ case "phastcons" : {
240244 if (score .getScore () >= 0.9 ) {
241245 pp3Evidences .add (score .getSource ());
242246 } else if (score .getScore () <= 0.1 ) {
0 commit comments