Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

Save metrics to JSON file for the extract tool #4

Open
nsyzrantsev opened this issue Aug 26, 2024 · 0 comments
Open

Save metrics to JSON file for the extract tool #4

nsyzrantsev opened this issue Aug 26, 2024 · 0 comments
Labels
feature/request New feature or request

Comments

@nsyzrantsev
Copy link
Owner

Motivation

Sometimes it's necessary to review certain metrics after executing the barkit extract tool.

It might be a good idea to save these metrics to a JSON file:

  1. The number of raw reads in both FASTQ files.
  2. The number of reads after barcode extraction.
  3. The number of found UMI, Sample, and Cell barcodes.

Realization

Introduce a new flag --json that specifies the path to the JSON file where the list of metrics will be saved.

{
  "reads_before": 5000000,
  "reads_after": 4999500
  "umi_count": 4999500,
  "cell_count": 0,
  "sample_count": 0
}
@nsyzrantsev nsyzrantsev added the feature/request New feature or request label Aug 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature/request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant