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 to csv file with necessary information for transfer, generated by upload_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 expected s3uri is the root path for s3uri/<project_name>/<sample_name>/ where <project_name>/<sample_name>/ are omitted.

  • mode (str) – Choose between all or hashtags, or TCR

Return type

None

Returns

None