biotite.database.entrez.fetch_single_file

biotite.database.entrez.fetch_single_file(uids, file_name, db_name, ret_type, ret_mode='text', overwrite=False, mail=None)[source]

Almost the same as fetch(), but the data for the given UIDs will be stored in a single file.

Parameters
uidsiterable object of str

A list of UIDs of the file(s) to be downloaded.

file_namestr

The file path, including file name, to the target file.

db_namestr:

E-utility database name.

ret_typestr

Retrieval type.

ret_modestr, optional

Retrieval mode.

overwritebool, optional

If false, the file is only downloaded, if no file with the same name already exists.

mailstr, optional

A mail address that is appended to to HTML request. This address is contacted in case you contact the NCBI server too often. This does only work if the mail address is registered.

Returns
filestr

The file name of the downloaded file.

See also

fetch