def get_min_and_max_coords_from_exon_chain(coords):
    """Gets the minumum and maximum coordinates from exon chain

    Args:
        coords ([[int, int]]): [[start,end]] exon coordinate chain

    Returns:    
        (int, int): start and end coordinates of entire chain
    """
   
    
    min_coord = min(map(min, coords))
    max_coord = max(map(max, coords))
    return min_coord, max_coord