Source code for iCount.analysis.annotate

""".. Line to protect from pydocstyle D205, D400.

Cross-link site annotation
--------------------------

Annotate each cross link site with types of regions that intersect with it.

"""
import re
import os
import logging

import pybedtools
from pybedtools import create_interval_from_list

import iCount

LOGGER = logging.getLogger(__name__)