def parse_dbgap(info):
    """Parse and return study IDs."""
    gap_ids = []
    if info:
        tags = info.find_all('item', attrs={'name': "d_study_id"})
        gap_ids = [tag.text for tag in tags]
    return gap_ids