From 830078dd7f24a1cc6afe18a5e3a6a8f85599353a Mon Sep 17 00:00:00 2001 From: Akihiro Kuno Date: Sun, 28 Jul 2024 14:40:14 +0900 Subject: [PATCH] Remove `to_pdf` because the dependencies of `weasyprint` are complex, and installation fails on macOS. I would like to leave the saving of HTML to PDF to the browser's functionality. --- README.md | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/README.md b/README.md index ee6e8e8..599c3ae 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,6 @@ - `cstag.to_sequence()`: Reconstruct a reference subsequence from the alignment - `cstag.to_vcf()`: Generate a VCF representation - `cstag.to_html()`: Generate an HTML representation -- `cstag.to_pdf()`: Produce a PDF file For comprehensive documentation, please visit [our docs](https://akikuno.github.io/cstag/cstag/). @@ -193,22 +192,6 @@ You can visualize mutations indicated by the cs tag using the generated `report. image -### Generating a PDF Report - -```python -import cstag - -cs_tag = "=AC+ggg=T-acgt*at~gt10ag=GNNN" -description = "Example" -path_out = "report.pdf" - -cstag.to_pdf(cs_tag, description, path_out) -# Output "report.pdf" -``` - -You can obtain the same images of `cstag.to_html` as a PDF file. - - ## 📣 Feedback and Support For questions, bug reports, or other forms of feedback, we'd love to hear from you!