scout/utils/requests.py
def fetch_hgnc():
    """Fetch the hgnc genes file from 
        ftp://ftp.ebi.ac.uk/pub/databases/genenames/new/tsv/hgnc_complete_set.txt
    
    Returns:
        hgnc_gene_lines(list(str))
    """
    file_name = "hgnc_complete_set.txt"
    url = 'ftp://ftp.ebi.ac.uk/pub/databases/genenames/new/tsv/{0}'.format(file_name)
    LOG.info("Fetching HGNC genes")
    
    hgnc_lines = fetch_resource(url)
    
    return hgnc_lines
def fetch_hgnc():
    """Fetch the hgnc genes file from 
        ftp://ftp.ebi.ac.uk/pub/databases/genenames/new/tsv/hgnc_complete_set.txt
    
    Returns:
        hgnc_gene_lines(list(str))
    """
    file_name = "hgnc_complete_set.txt"
    url = 'ftp://ftp.ebi.ac.uk/pub/databases/genenames/new/tsv/{0}'.format(file_name)
    LOG.info("Fetching HGNC genes")
    
    hgnc_lines = fetch_resource(url)
    
    return hgnc_lines
def fetch_hgnc ( ) : file_name = "hgnc_complete_set.txt" url = 'ftp://ftp.ebi.ac.uk/pub/databases/genenames/new/tsv/{0}' . format ( file_name ) LOG . info ( "Fetching HGNC genes" ) hgnc_lines = fetch_resource ( url ) return hgnc_lines
Fetch the hgnc genes file from 
        ftp://ftp.ebi.ac.uk/pub/databases/genenames/new/tsv/hgnc_complete_set.txt
    
    Returns:
        hgnc_gene_lines(list(str))
Fetch the hgnc genes file from ftp : // ftp . ebi . ac . uk / pub / databases / genenames / new / tsv / hgnc_complete_set . txt Returns : hgnc_gene_lines ( list ( str ))