Skip to main content

Common Operation on Lots of Sequences Tool

Project description

CoolSeqTool

image image image Actions status


Documentation · Installation · Usage · API reference


Overview

The CoolSeqTool provides:

  • A Pythonic API on top of sequence data of interest to tertiary analysis tools, including mappings between gene names and transcripts, MANE transcript descriptions, and the Universal Transcript Archive
  • Augmented access to the SeqRepo database, including multiple additional methods and tools
  • Mapping tools that combine the above to support translation between references sequences, annotation layers, and MANE transcripts

Install

CoolSeqTool is available on PyPI

python3 -m pip install cool-seq-tool

See the installation instructions in the documentation for a description of dependency setup requirements.


Usage

All CoolSeqTool resources can be initialized by way of a top-level class instance:

>>> from cool_seq_tool.app import CoolSeqTool
>>> from cool_seq_tool.schemas import AnnotationLayer, ResidueMode
>>> cst = CoolSeqTool()
>>> result = await cst.mane_transcript.get_mane_transcript(
...     "NP_004324.2",
...     599,
...     AnnotationLayer.PROTEIN,
...     residue_mode=ResidueMode.INTER_RESIDUE,
... )
>>> result.gene, result.refseq, result.status
('EGFR', 'NM_005228.5', <TranscriptPriority.MANE_SELECT: 'mane_select'>)

Feedback and contributing

We welcome bug reports, feature requests, and code contributions from users and interested collaborators. The documentation contains guidance for submitting feedback and contributing new code.

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

cool_seq_tool-0.5.1.tar.gz (4.3 MB view details)

Uploaded Source

Built Distribution

cool_seq_tool-0.5.1-py3-none-any.whl (4.0 MB view details)

Uploaded Python 3

File details

Details for the file cool_seq_tool-0.5.1.tar.gz.

File metadata

  • Download URL: cool_seq_tool-0.5.1.tar.gz
  • Upload date:
  • Size: 4.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for cool_seq_tool-0.5.1.tar.gz
Algorithm Hash digest
SHA256 1c00221ab8088bf5b70f0c4f37853e4ab1fdbdd94005c3943aeaf1637dd08580
MD5 deccb5033d71c7bd27e445d82476167c
BLAKE2b-256 8ee14120e6579eed0761092ca4741468d936788ded61e90190efc3af9f6cd464

See more details on using hashes here.

File details

Details for the file cool_seq_tool-0.5.1-py3-none-any.whl.

File metadata

File hashes

Hashes for cool_seq_tool-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b39ed6fe640b824b34d56d377235fa8d8859a4fc416197f8f60fb98593689a97
MD5 45f8596217ae74bf31937d612a58a64c
BLAKE2b-256 ccf59151e5e20547b68fdd5bf1ad84cef0c11f3c7b10f1d0a5bef94c67c7eeeb

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