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 toyaml
orjson
file/s, or a single string to parent directory of project with samples listed insample_names
. For HASHTAGS: set this parameter tolabels.json
andhash_tags
toTrue
.sample_ids (
list
) – Sample ids from database for samples in project parent directory.mode (
str
) – One ofseqc
,cellranger
, orhashtags
, to read and return the proper format of stats
- Return type
- Returns
Stats for each input sample