Skip to main content

A Python framework for bioinformatics

Project description

A Python framework for bioinformatics

The sugar project aims to provide a lightweight framework to facilitate rapid application development for bioinformatics.

It thus provides classes and functions for working with DNA and RNA sequences, as well as related annotations, and it provides parsers and writers for various file formats using a plugin interface.

Installation

Use pip, e.g.

pip install rnajena-sugar

Other installation options are described in the documentation.

Run tests with the sugar test command. Note that tests that require an Internet connection are skipped by default, this behavior can be turned off with the --web option. Also, depending on the installation and platform, some tests may be skipped or have an expected failure, to see details about the reasons please use the --verbose flag.

Getting started

Read about how to get started in the tutorial section of the documentation.

from sugar import read
seqs = read()  # load example GenBank file
print(seqs)
print(seqs[1].fts)  # show features attached to second sequence
seqs.plot_ftsviewer(show=True)  # plot attached features
aas = seqs['cds'].translate()
print(aas)
aas.write('translated_cds.fasta')

Documentation and Changelog

Documentation can be found at Read the Docs. The detailed changelog is available here.

Contributions

Contributions are welcome! -- e.g. report or fix bugs, discuss or add features, improve the documentation. See the CONTRIBUTING.md file for details.

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

rnajena_sugar-0.9.0.tar.gz (294.3 kB view details)

Uploaded Source

Built Distribution

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

rnajena_sugar-0.9.0-py3-none-any.whl (394.7 kB view details)

Uploaded Python 3

File details

Details for the file rnajena_sugar-0.9.0.tar.gz.

File metadata

  • Download URL: rnajena_sugar-0.9.0.tar.gz
  • Upload date:
  • Size: 294.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for rnajena_sugar-0.9.0.tar.gz
Algorithm Hash digest
SHA256 0738653eefb356281f31ec53f6042ae8f4c6146399848c305a72b4cd50da8b09
MD5 4cbf3e19e0b4aff1a99fc8e83c26c754
BLAKE2b-256 a6b655a9281687d5727fda39e00990ba3e9aa8e50a2b2cf43481ccd1d0e71805

See more details on using hashes here.

File details

Details for the file rnajena_sugar-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: rnajena_sugar-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 394.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for rnajena_sugar-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e3365bd217e514f4e1c24067e5febc775b0218d995021a9c8e0ec1d524984f93
MD5 56500ff630279f3c0ea9824035ad4355
BLAKE2b-256 ad36331c282fbe5b25e18e74463fe63ee3b4a3e6c157f2a2691b410b7fd56827

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