From 1bf6e7ed0bf987da92583bdb4f9b85b4477eb477 Mon Sep 17 00:00:00 2001 From: David Laehnemann Date: Thu, 22 Oct 2020 14:33:16 +0200 Subject: [PATCH] add handling of mitochondrial chromosome --- scripts/parser.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/parser.py b/scripts/parser.py index 40f6733..740f261 100644 --- a/scripts/parser.py +++ b/scripts/parser.py @@ -8,6 +8,8 @@ def chr_extract(chr_): return 23 elif chr_[-1]=="Y" or chr_[-1]=="y": return 24 + elif chr_[-1]=="M" or chr_[-1]=="m": + return 25 else: chrString = "" for i in chr_: