Skip to main content

Sorts indels into mutational classes

Project description

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>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sorting_hat-0.0.4.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

sorting_hat-0.0.4-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file sorting_hat-0.0.4.tar.gz.

File metadata

  • Download URL: sorting_hat-0.0.4.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for sorting_hat-0.0.4.tar.gz
Algorithm Hash digest
SHA256 f93fe04ae1cade0dbba5d22576a2666beb9fd001d3f423087d97e3454f1edba3
MD5 f1fe4c3a4732b78552797d0e0cbaf2df
BLAKE2b-256 2ec4656aaf2a4ac9c3a46142fadd368f0154ed925927e44a4352aa330122ded8

See more details on using hashes here.

File details

Details for the file sorting_hat-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: sorting_hat-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for sorting_hat-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 96a256d10675dc8ce6fcdfe39e3acd07f72a8547a5166bff78645c73327169b6
MD5 987f6ea5a83b28bbbb32424faa20b2bd
BLAKE2b-256 9ef73c988c8445981a0a86fa9aec07ffca0dd5f8cd43d66f67cd59e01f66737f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page