scripts/export/genomes/ncbi_genome_downloader.py
def gcf_report_parser(gcf_report):
    """
    Parses a GCF report file from NCBI and returns all the NCBI accessions

    gcf_report:

    return: a list of wgs accessions listed in the gcf report file
    """

    fp = open(gcf_report, 'r')

    accessions = [x.strip().split('\t')[4] for x in fp if x[0] != '#']

    return accessions

    Parses a GCF report file from NCBI and returns all the NCBI accessions

    gcf_report:

    return: a list of wgs accessions listed in the gcf report file
    
Parses a GCF report file from NCBI and returns all the NCBI accessions
gcf_report.

a list of wgs accessions listed in the gcf report file
Parses a GCF report file from NCBI and returns all the NCBI accessions gcf_report . a list of wgs accessions listed in the gcf report file
def gcf_report_parser(gcf_report):
    fp = open(gcf_report, 'r')
    accessions = [x.strip().split('\t')[4] for x in fp if x[0] != '#']
    return accessions
def gcf_report_parser ( gcf_report ) : fp = open ( gcf_report , 'r' ) accessions = [ x . strip ( ) . split ( '\t' ) [ 4 ] for x in fp if x [ 0 ] != '#' ] return accessions
Parses a GCF report file from NCBI and returns all the NCBI accessions
gcf_report:
Parses a GCF report file from NCBI and returns all the NCBI accessions gcf_report :
"""
    Parses a GCF report file from NCBI and returns all the NCBI accessions

    gcf_report:

    return: a list of wgs accessions listed in the gcf report file
    """
gcf_report