Skip to main content

Sorting Hat

Sorts indels into classes defined as follows:
  • homopolymer run (HR): mutation is in a region where there are 6 or more copies of the nucleotide being inserted or deleted

  • change in copy count (CCC): the allele being inserted or deleted has 1 or more repeats in the mutation region

  • no change in copy count (non-CCC): the allele being inserted or deleted is not repeated in the mutation region

In order to use sorting_hat, you must ensure the following are installed:

To install, use pip:

pip install sorting_hat

Example run

sorting_hat --bed test.bed \
            --fasta test.fasta \
            --repeat repeat_masker.txt

Usage

sorting_hat [-h] -b BED -f FASTA -r REPEAT [-o OUTPUT]

Sorts indels into mutational classes

-b BED, --bed BED

Location of BED file with all variants. Must be formatted as Chrom/Start/End/Ref/Alt/PatientID.

-f FASTA, --fasta FASTA

Location of reference fasta file.

-r REPEAT, --repeat REPEAT

Location of RepeatMasker file downloaded from UCSC Genome Browser. Refer to docs to see how to download RepeatMasker.

-o OUTPUT, --output OUTPUT

Name of output file, if not chosen then will print to stdout.

To download RepeatMasker from UCSC Genome Browser, see photos in ‘data’ folder on github: https://github.com/allisonseiden/sorting_hat

Allison Seiden <ahseiden@gmail.com>

Metadata

Release files for sorting-hat 0.0.5

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

Source distribution (sdist)

Source distribution for sorting-hat 0.0.5
File Size Uploaded Provenance
sorting_hat-0.0.5.tar.gz 4.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for sorting-hat 0.0.5
File Interpreter ABI Platform
sorting_hat-0.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 9.6 kB

Release files / sorting_hat-0.0.5.tar.gz

Download URL sorting_hat-0.0.5.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
0a9161695f970f478083253303b6395112cfa95e47265ee28a13fcf3a0a1e52e
BLAKE2b-256 checksum
How to use checksums
36ec223323b117e5dd603df3352f31026317d3c0a98a2797784409218aed01be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0

Release files / sorting_hat-0.0.5-py3-none-any.whl

Download URL sorting_hat-0.0.5-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
423eef49d2df34b8c5dbfc2a60390fab549dceee068b7ef9c93bb27ca7234ce1
BLAKE2b-256 checksum
How to use checksums
f7a07f6642101023d28f9c8ba54b23b8dbda438593020e2bdd610d95fc39018f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0

Security for sorting-hat 0.0.5

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