cool_seq_tool.data.data_downloads#

Handle acquisition of external data.

class cool_seq_tool.data.data_downloads.DataDownload[source]#

Manage downloadable data files. Responsible for checking if files are available under expected locations, and fetching them if not.

Relevant methods are called automatically by data classes; users should not have to interact with this class under normal circumstances.

__init__()[source]#

Initialize downloadable data locations.

get_lrg_refseq_gene_data()[source]#

Identify latest LRG RefSeq Gene file. If unavailable locally, download from NCBI FTP server.

Return type:

Path

Returns:

path to acquired LRG RefSeq Gene data file

get_mane_summary()[source]#

Identify latest MANE summary data. If unavailable locally, download from NCBI FTP server.

Return type:

Path

Returns:

path to MANE summary file