Skip to main content

sam_tags

CI Python Versions MyPy Checked Ruff

SAM tags

Quickstart

The sam_tags decorator permits the specification of custom enumerations that adhere to the conventions described in the SAM specification.

from enum import StrEnum
from sam_tags import sam_tag


@sam_tag
class CustomTag(StrEnum):
    """Custom SAM tags."""

    XF = "XF"
    """Some filter."""

    vl = "vl"
    """Some value."""

The predefined standard tags are available as a built-in class.

from sam_tags import StandardTag

# read: pysam.AlignedSegment
read.get_tag(StandardTag.RX)

Docstrings on each predefined tag permit simple reference within an IDE.

Built-in classes are also available for sets of tags used in popular bioinformatics software.

from sam_tags.community import BwaTag
from sam_tags.community import CellrangerTag

Metadata

Release files for sam_tags 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sam_tags 0.1.0
File Size Uploaded Provenance Actions
sam_tags-0.1.0.tar.gz 15.0 kB Without provenance Details for sam_tags-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sam_tags 0.1.0
File Interpreter ABI Platform Actions
sam_tags-0.1.0-py3-none-any.whl Python 3 none any Details for sam_tags-0.1.0-py3-none-any.whl

Total release size: 30.7 kB

Release files / sam_tags-0.1.0.tar.gz

Download URL sam_tags-0.1.0.tar.gz
Size 15.0 kB
Tags Source
SHA-256 checksum
How to use checksums
cb5522080aae83000f55c38fc7c2e49fb1634009cfbf3ffcd6e8c784205e7c39
BLAKE2b-256 checksum
How to use checksums
b598e779e27cb733a7b8095f4b0430dfbdfdfff3138c122ada33af3e495b1163
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.11.8 Darwin/21.6.0

Release files / sam_tags-0.1.0-py3-none-any.whl

Download URL sam_tags-0.1.0-py3-none-any.whl
Size 15.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ae8d6ce95b9d6a38d11868fa7e7d76f8e5937ab51b06a5f526fd6aa22504f2f3
BLAKE2b-256 checksum
How to use checksums
fd734716cf51f5717eb3a5b1fe29b7e8a1e0b95441816be8495a4a2d02fd6e45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.11.8 Darwin/21.6.0

Security for sam_tags 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page