SCRIdb.upload_stats.get_stats

SCRIdb.upload_stats.get_stats(s3paths, sample_ids, mode='seqc')

Process stats data and return a formatted structure compatible with the processing pipeline, that will be uploaded to the database.

Parameters
  • s3paths (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.

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

  • mode (str) – One of seqc, cellranger, or hashtags, to read and return the proper format of stats

Return type

list

Returns

Stats for each input sample