Skip to content

Commit

Permalink
bug fix in PolyPhen2 output: path. class = 'none' is sometimes used i…
Browse files Browse the repository at this point in the history
…nstead of '?'
  • Loading branch information
luponzo86 committed Dec 10, 2019
1 parent 5b69dee commit ca48d4a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rhapsody/predict/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,8 @@ def _calcPolyPhen2Predictions(self):
return
PP2_score = [x if x != '?' else 'nan' for x in
self.PolyPhen2output['pph2_prob']]
PP2_class = self.PolyPhen2output['pph2_class']
PP2_class = [x if x not in ['none', '?'] else '?' for x in
self.PolyPhen2output['pph2_class']
self.data['PolyPhen-2 score'] = PP2_score
self.data['PolyPhen-2 path. class'] = PP2_class

Expand Down

0 comments on commit ca48d4a

Please sign in to comment.