This PR adds the optional flag -keepChrPrefix to orthologFind.py. This flag lets the user give a prefix, and mapped peaks are only kept if the chromosome name after mapping begins with the given prefix.
Before this PR, some peaks might map to somewhere other than a chromosome, e.g. this peak which mapped to JH584321.1:
After this PR, when we pass the flag -keepChrPrefix chr, a mapped peak is kept only if its chromosome name starts with chr; all other peaks are discarded. If -keepChrPrefix is not passed, then orthologFind.py functions as before.
This PR adds the optional flag
-keepChrPrefix
toorthologFind.py
. This flag lets the user give a prefix, and mapped peaks are only kept if the chromosome name after mapping begins with the given prefix.Before this PR, some peaks might map to somewhere other than a chromosome, e.g. this peak which mapped to
JH584321.1
:After this PR, when we pass the flag
-keepChrPrefix chr
, a mapped peak is kept only if its chromosome name starts withchr
; all other peaks are discarded. If-keepChrPrefix
is not passed, thenorthologFind.py
functions as before.