def fetch_next(iter_fh):
    """
    re-define the next funtion of fetching info from pysam
    prevent throunghing the 'StopIteration' exception.
    """
    if iter_fh == '':
        return ''
    try:
        line = iter_fh.next()
    except StopIteration:
        line = ''
    return line
