From ac932eb2f0bf449240f576565b0c02d7771bc57d Mon Sep 17 00:00:00 2001 From: khersameesh24 Date: Thu, 30 Oct 2025 17:54:31 +0100 Subject: [PATCH 1/3] baysor preview multiqc integration --- .../clean_html/templates/clean_html.py | 55 ----- .../main.nf | 21 +- .../templates/extract_data.py | 188 ++++++++++++++++++ .../local/baysor_generate_preview/main.nf | 13 +- .../local/baysor_generate_preview/meta.yml | 1 + 5 files changed, 210 insertions(+), 68 deletions(-) delete mode 100644 modules/local/utility/clean_html/templates/clean_html.py rename modules/local/utility/{clean_html => extract_preview_data}/main.nf (54%) create mode 100644 modules/local/utility/extract_preview_data/templates/extract_data.py diff --git a/modules/local/utility/clean_html/templates/clean_html.py b/modules/local/utility/clean_html/templates/clean_html.py deleted file mode 100644 index aca53be..0000000 --- a/modules/local/utility/clean_html/templates/clean_html.py +++ /dev/null @@ -1,55 +0,0 @@ -#!/usr/bin/env python3 - -from bs4 import BeautifulSoup -from pathlib import Path - -def clean_preview_html(input_html, output_mqc_html, height=800): - """ - 1. Cleans the Baysor preview HTML by removing the
containing -

Content

and the