Cstag

Latest version: v1.1.0

Safety actively analyzes 714815 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

0.6.2

New Features

Core Enhancements
- Enhanced `cstag.to_vcf` to support multiple `cs_tags` (list[str]). This update introduces additional headers and content for better data representation:
> INFO=<ID=DP,Number=1,Type=Integer,Description="Total Depth">
> INFO=<ID=RD,Number=1,Type=Integer,Description="Depth of Reference Allele">
> INFO=<ID=AD,Number=1,Type=Integer,Description="Depth of Alternate Allele">
> INFO=<ID=VAF,Number=A,Type=Float,Description="Variant Allele Frequency (AD/DP)">

- Introduced `cstag.to_sequence` for reconstructing subsequences.

Supplementary Features
- Added `validate_cs_tag` for CS tag validation.
- Introduced `validate_pos` for position validation.
- Implemented `normalize_positions` within `cstag.consensus`.
- Added `Vcf` and `VcfInfo` classes to `to_vcf`.

Maintenance Updates
- Revised `normalize_read_lengths` to eliminate deque output.
- Debugged `to_html` to properly handle `=N`.

0.6.1

bug fix: `cstag.consensus`
+ POS does not consider CIGAR's softclips, so removed `extract_softclips` and `calculate_read_starts` function

0.6.0

+ add `cstag.to_vcf` function

0.5.1

+ add `prefix`
+ convert the argument from uppercase to lowercase and standardize the format (e.g. CSTAG -> cs_tag)
+ add `utils.validator.py`
+ add python requirements >= 3.7

0.5.0

- change the overall code of `cstag.call`
- connect to zenodo

0.4.2

- add `cstag.call` to generate a cstag

Page 2 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.