Skip to main content

Includes lookups for modifications, amino acids, and other data types.

Project description

tacular

tacular Logo

A Python library for looking up common MS-proteomics values. Includes the following modifications: UNIMOD, RESID, XLMOD, GNOme, and PSIMOD. Also contains a lookup of elements, MS ion types, neutral deltas, proteases, and soem reference molecules. Tacular is mainly a helper package for peptacular and paftacular.

Python package codecov Documentation Status PyPI version Python 3.12+ License

Generate Data

See data_gen/README.md

Generating JSONs

It's possible to generate JSON objects for all parsed data used within tacular. This isn't used within tacular or its downstream packages, but may be useful in other projects, especially those not Python-based. This will be created from the data within the python package, so ensure that this is up to date. See data_gen/README.md for more info.

just gen-jsons

Overview

The following lookups are available:

Amino Acids

  • Standard and non-standard amino acid lookups
  • Query by single-letter code, three-letter code, or full name
  • Access to molecular properties (mass, formula, etc.)

Modifications

  • Post-translational modifications (PTMs)
  • Query by modification name, ID, or delta mass
  • Support for Unimod, PSI-MOD, RESID, XLMOD and GNOme

Elements

  • Chemical element data
  • Query by symbol, name
  • Isotope information and masses

Additional Data Types

  • Fragment ions
  • Common neutral deltas (mainly neutral losses)
  • mzPAF reference molecules
  • Common Proteases

Architecture

Each lookup contains three core components:

  • data.py: Auto-generated data file (should not be modified manually)
  • dclass.py: Dataclass definitions for the data structures
  • lookup.py: Lookup implementation with query methods

Each lookup provides multiple query options to enable data retrieval by various means. Lookups are cached for faster repeat queries.

Usage

import tacular as t

# Query amino acids
alanine = t.AA_LOOKUP['A']
carbon_13 = t.ELEMENT_LOOKUP['13C']

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

tacular-1.0.1.tar.gz (758.6 kB view details)

Uploaded Source

Built Distribution

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

tacular-1.0.1-py3-none-any.whl (362.5 kB view details)

Uploaded Python 3

File details

Details for the file tacular-1.0.1.tar.gz.

File metadata

  • Download URL: tacular-1.0.1.tar.gz
  • Upload date:
  • Size: 758.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tacular-1.0.1.tar.gz
Algorithm Hash digest
SHA256 6a700fcecd4a50d5729bef358396a4ccdacc26079e0c01d2d37f2c58105b55f5
MD5 4b626bb3d86eb9755d8c11d80436f9bf
BLAKE2b-256 813935c22571b4a75ccc84c08295ef12043efae75e4d4b7041c35e284e8e7d67

See more details on using hashes here.

File details

Details for the file tacular-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: tacular-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 362.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tacular-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 77b7f0889ca82a1d2066b0a40bce1d5721e7415d1903d1281d53ff96200474ed
MD5 56cf44b119f16774cb82d78efe9e96f9
BLAKE2b-256 2519d9515375e21ae4e23c735d55228d0cf964769a54418f849617c9c09c24e8

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