def get_dir(self, file_path=None, view=None):
        file_path = file_path or self.get_file(view)
        if file_path:
            return os.path.dirname(file_path)
        return None
classify intervals according to their base pair overlap with respect to different genomic features (genes, TSS, upstream/downstream flanks)
dataset/ETHPy150Open spywhere/Javatar/core/state_property.py/_StateProperty.get_dir--crossover with--dataset/ETHPy150Open CGATOxford/cgat/obsolete/pipeline_proj007.py/annotateCapseqGenesetOverlap