Skip to main content

Post-processing of variant calls

This package provides a variety of commands for manipulating different types of common outputs (e.g. mafs, vcf and txt files) from different bioinformatic variant callers such as mutect and vardict.

Supported File Types:

Installation

For general use you can run: pip install postprocessing_variant_calls or a tagged version with pip install git+https://github.com/msk-access/postprocessing_variant_calls.git@<version>

For setting up a development environment please see the Setting up a Dev Environment section.

Usage

See CLI for commmand line usage of the package.

Setting up a Dev Environment

Install External Dependencies

Have an environment with python >= 3.8 installed.

Install poetry:

pip install poetry

Install Package Dependencies

Then install project dependencies with Poetry.

cd /path/to/postprocessing_variant_calls
poetry install .

Accessing Environment

To access the environment after initial setup up run:

poetry shell

Contributing to Documentation

The Gitbook for this repository is configured so changes are written in Gitbook and synced with the docs branch.

To contribute to the documentation, you can write your changes in Gitbook, request a review, and merge the changes. Keep in mind, you will need access to the organization to contribute.

Each file-type supported should have a section in the Gitbook detailing the implementation of the file-type and a justification of it's operations. For example, the maf file-type has it's own section, which includes a description of how a maf is defined internally in the package and a justification of it's operations and how to use them.

Beyond file-type sections, you will also notice a section called cli, which lists all commands in the postprocessing_variant_calls package. Do not manually edit this section. This section is created using the typer-cli package, which uses the typer help parameters specified in typer commands to generate documentation. It is automatically updated by the git-action, .github/workflows/document_package.yml upon a push to the main branch. To make sure the cli.md document updates to include newly added commands, specify all relevant typer help parameters.

If you'd like to see a mock of your typer commands as they'll appear in the cli.md document, you can run: poetry run typer postprocessing_variant_calls.main utils docs > docs/cli.md in a properly configured dev environment. Note that this file should not be included in your PRs. The cli.md should be only updated through the git-action, .github/workflows/document_package.yml.

Metadata

Release files for postprocessing_variant_calls 0.3.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 postprocessing_variant_calls 0.3.0
File Size Uploaded Provenance
postprocessing_variant_calls-0.3.0.tar.gz 23.5 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 56.5 kB

Release files / postprocessing_variant_calls-0.3.0.tar.gz

Download URL postprocessing_variant_calls-0.3.0.tar.gz
Size 23.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a950e8e7453fb8ff56ed841463aa47da2ebdaebdee7ec8e067da33883613479d
BLAKE2b-256 checksum
How to use checksums
b4960003a441570f8147786da5c9b94caf91d0a01e301ebc0f614b6ef3e4c0ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.10.2 Linux/6.5.0-1022-azure

Release files / postprocessing_variant_calls-0.3.0-py3-none-any.whl

Download URL postprocessing_variant_calls-0.3.0-py3-none-any.whl
Size 33.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b9e30d1e1f36e74305547ceeaa8fd74c047757bf533cb5361606e4187c9318f3
BLAKE2b-256 checksum
How to use checksums
9b7c7c15c6a7a35d1203d39e1434a30809cfc764e0feaaa7d0e7786796819ff8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.10.2 Linux/6.5.0-1022-azure

Security for postprocessing_variant_calls 0.3.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.

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