integrated filterForTarget.py and getLigands.py into singleDomain.py