# Path: deepcpg/data/annotations.py
# def read_bed(filename, sort=False, usecols=[0, 1, 2], *args, **kwargs):
# def in_which(x, ys, ye):
# def is_in(pos, start, end):
# def distance(pos, start, end):
# def join_overlapping(s, e):
# def join_overlapping_frame(d):
# def group_overlapping(s, e):
# def extend_len(start, end, min_len, min_pos=1):
# def extend_len_frame(d, min_len):


import numpy as np
import numpy.testing as npt
import pandas as pd
from deepcpg.data import annotations as annos
from __future__ import division
from __future__ import print_function




def test_join_overlapping():

# Path: deepcpg/data/annotations.py
# def read_bed(filename, sort=False, usecols=[0, 1, 2], *args, **kwargs):
# def in_which(x, ys, ye):
# def is_in(pos, start, end):
# def distance(pos, start, end):
# def join_overlapping(s, e):
# def join_overlapping_frame(d):
# def group_overlapping(s, e):
# def extend_len(start, end, min_len, min_pos=1):
# def extend_len_frame(d, min_len):


# Path: tests/deepcpg/data/test_annos.py
import numpy as np
import numpy.testing as npt
import pandas as pd
from deepcpg.data import annotations as annos

from __future__ import division
from __future__ import print_function




def test_join_overlapping():

    f = annos.join_overlapping