Skip to main content

A really simple Pedigree Parser

Project description

mendelbrot

This library contains utility modules, used in both Talos and TalosAf - analysis tools created at the Centre for Population Genomics.

pedigree_parser

This is a simple pedigree parser, which provides a simple, minimal-dependency interface for parsing a Pedigree file.

This was developed as part of the broader Talos project, and as such can support standard 6-column pedigree files, as well as 7-column pedigree files which pack HPO terms into the final column. See the Usage documentation for more details

bcftools_intepreter

A wrapper to generate HGVS-compliant p. notation from BCFtools CSQ's amino_acid_change field.

This wrapper contains individual method and RegEx patterns to decipher long-form AA change Strings. These can be accessed directly (e.g. through mendelbrot.bcftools_interpreter.process_stop_gained()) or they can be accessed via a distributor method:

from mendelbrot.pedigree_parser import classify_change

neat_aa = classify_change('812L>812*', 'stop_gained')

neat_frameshift = classify_change('375VIGYECDCAAGFELIDRKTC..821>375V*', 'frameshift')

This wrapper only works for some consequence types (synonymous, missense, stop_gained, and frameshift). If it fails some corenr cases for any of these types, or new types are required, please raise an issue.

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

mendelbrot-0.0.2.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mendelbrot-0.0.2-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file mendelbrot-0.0.2.tar.gz.

File metadata

  • Download URL: mendelbrot-0.0.2.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0rc3

File hashes

Hashes for mendelbrot-0.0.2.tar.gz
Algorithm Hash digest
SHA256 68d7c82471334f65200b80a73787fa61bd5db5b5f8b26a815f8abb255930217f
MD5 0a3c11ca0f7999e38d9db60d57c17c95
BLAKE2b-256 3509d4a1120b9c4d850121b5dd47e18014c7ac4e5e54c1d20b2f028aa5e2f975

See more details on using hashes here.

File details

Details for the file mendelbrot-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: mendelbrot-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0rc3

File hashes

Hashes for mendelbrot-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 61a2d911117e6e521445e19d2512d07dd707d3716441ec84fd8deb5eb9ef0f22
MD5 81a40d0cdb10a76444a102598a09228a
BLAKE2b-256 1256cb5cb6cce2dcc932736d6d6d24b97357a87e3d954c35527264f519c7f606

See more details on using hashes here.

Supported by

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