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.3.tar.gz (16.2 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.3-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mendelbrot-0.0.3.tar.gz
  • Upload date:
  • Size: 16.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.16

File hashes

Hashes for mendelbrot-0.0.3.tar.gz
Algorithm Hash digest
SHA256 5e8f38598b524a615405ee70b1da447531ca159d839b7209547fe00072d4cfe6
MD5 ce002f6fe5e6c3d7cecf0e02f794da10
BLAKE2b-256 80f6b65e3bb6bc125b4e6cf2e2aceaa39f175b485644d35be035eaf87095008a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for mendelbrot-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 16a768cbfde06bb1338abb86f8ad4bfde27bf7d820cfd3dc7d632de5d8251ae7
MD5 00f92d4ce13fb7cbc6e3e554ab125a98
BLAKE2b-256 5cf5fe33724d8f016a22d2b812965ec1d01b3f6c90a4f85ed51502b4753828ef

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