INNER CODE UNIT · Python
directory
guma44/GEOparse · src/GEOparse/GEOTypes.py:519
email, directory=directory, **sra_kwargs
)
downloaded_paths.update(downloaded_files)
except Exception as err:
logger.error(
"Cannot download %s SRA file (%s)" % (self.get_accession(), err)
)
return downloaded_paths
def download_SRA(self, email, directory="./", **kwargs):
"""Download RAW data as SRA file.
The files will be downloaded to the sample directory created ad hoc
or the directory specified by the parameter. The sample has to come
from sequencing eg. mRNA-seq, CLIP etc.
An important parameter is a filetype. By default an SRA
is accessed by FTP and such file is downloaded. This does not