SCRIdb.upload_stats.upload_stats_main

SCRIdb.upload_stats.upload_stats_main(s3paths, results_folder, sample_names=None, sample_ids=None, cellranger=False, hash_tags=False, results_output=None)

Collects sequencing parameters from successfully processed scRNAseq samples, and uploads the data to the database.

Parameters
  • s3paths (Union[str, list]) – Path/s to yaml or json file/s, or a single string to parent directory of project with samples listed in sample_names. For HASHTAGS: set this parameter to labels.json and hash_tags to True.

  • results_folder (Optional[list]) – Path to parent directory where outputs from processing pipeline are stored.

  • sample_ids (Optional[list]) – Sample ids from database for samples in project parent directory.

  • sample_names (Optional[list]) – Sample names in project parent directory.

  • hash_tags (bool) – Hash tags stats format.

  • cellranger (bool) – Cell Ranger stats format.

  • results_output (Optional[str]) – Path to output file to save resulting data frame with necessary information used as input for transfer sub-command.

Return type

None

Returns

None