Skip to content

BCCDC-PHL/covid-qc-collector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

covid-qc-collector

Collect QC data from COVID-19 genomic analyses, for loading into the BCCDC-PHL/covid-qc site.

Installation

Usage

Start the tool as follows:

covid-qc-collector --config config.json

See the Configuration section of this document for details on preparing a configuration file.

More detailed logs can be produced by controlling the log level using the --log-level flag:

covid-qc-collector --config config.json --log-level debug

Configuration

This tool takes a single config file, in JSON format, with the following structure:

{
  "sequencer_output_dirs": [
    "/path/to/sequencer-01/output"
  ],
  "fastq_input_dir": "/path/to/fastq_input_by_run",
  "analysis_output_dir": "/path/to/analysis_by_run",
  "excluded_runs_list": "/path/to/excluded_runs.csv",
  "output_dir": "/path/to/output",
  "scan_interval_seconds": 3600
}

Logging

This tool outputs structured logs in JSON Lines format:

Every log line should include the fields:

  • timestamp
  • level
  • module
  • function_name
  • line_num
  • message

...and the contents of the message key will be a JSON object that includes at event_type. The remaining keys inside the message will vary by event type.

{"timestamp": "2022-09-22T11:32:52.287", "level": "INFO", "module", "core", "function_name": "scan", "line_num", 56, "message": {"event_type": "scan_start"}}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages