gnomad.assessment.parse_validity_logs

Script to parse logs from validity check output.

gnomad.assessment.parse_validity_logs.parse_log_file(...)

Parse a log file and categorizes messages for formatting, extracting function names and sources.

gnomad.assessment.parse_validity_logs.generate_html_report(...)

Generate an HTML report with sortable and filterable columns, with expandable tables for results.

Script to parse logs from validity check output.

gnomad.assessment.parse_validity_logs.parse_log_file(log_file)[source]

Parse a log file and categorizes messages for formatting, extracting function names and sources.

Parameters:

log_file – Path to the log file containing python logging output (such as INFO and WARNING statements).

Returns:

List of tuples containing logger information describing the validity check, status category, source, message, and associated table if relevant.

gnomad.assessment.parse_validity_logs.generate_html_report(parsed_logs, output_file)[source]

Generate an HTML report with sortable and filterable columns, with expandable tables for results.