SCRIdb.transfer.data_transfer¶
-
SCRIdb.transfer.
data_transfer
(sample_ids=None, results_output=None, target=None, mode='all')¶ Move the processed samples to the destination folder on AWS, given the provided parameters, including the destination parent
s3uri
.- Parameters
sample_ids (
Optional
[list
]) – Sample ids from database for samples in project parent directory.results_output (
Optional
[str
]) – Path tocsv
file with necessary information for transfer, generated byupload_stats
. If passed as-
, the method will attempt to recover the necessary information, internally.target (
Optional
[str
]) –s3uri
target parent directory move the outputs to. In general, the expecteds3uri
is the root path fors3uri/<project_name>/<sample_name>/
where<project_name>/<sample_name>/
are omitted.mode (
str
) – Choose betweenall
orhashtags
, orTCR
- Return type
None
- Returns
None