Skip to main content

No project description provided

Project description

synthaser

Build Status Coverage Status Documentation Status PyPI version

Process

synthaser parses the results of a batch NCBI conserved domain search and determines the domain architecture of secondary metabolite synthases.

Installation

Install from PyPI via pip:

$ pip install synthaser

or clone the repo and install locally:

$ git clone https://www.github.com/gamcil/synthaser
$ cd synthaser
$ pip install -e .

Dependencies

synthaser is written for Python 3.6+ and has been tested on Linux (Ubuntu 18.04) and Windows (10). The only external Python dependency is requests, which is used for querying the NCBI's APIs.

Usage

A search can be launched as simply as:

$ synthaser -qi <accessions> OR synthaser -qf query.fasta

For example, performing a synthaser run on the cichorine PKS:

$ synthaser -qi CBF69451.1
[11:13:42] INFO - Starting synthaser
[11:13:44] INFO - Launching new CDSearch run on IDs: ['CBF69451.1']
[11:13:45] INFO - Run ID: QM3-qcdsearch-14C5BC063AA03DDE-15B11AB00918AED0
[11:13:45] INFO - Polling NCBI for results...
[11:13:45] INFO - Checking search status...
[11:14:05] INFO - Checking search status...
[11:14:06] INFO - Search successfully completed!
NR-PKS
------
CBF69451.1      SAT-KS-AT-PT-ACP-ACP-MT-TE
[11:14:06] INFO - Finished synthaser

synthaser can also produce an SVG representation of the query synthases. For example, we could take the CDSID (CD-Search ID) of the previous run, and provide the --svg flag:

$ synthaser -qi CBF69451.1 \
    --cdsid QM3-qcdsearch-14C5BC063AA03DDE-15B11AB00918AED0 \
    --svg figure.svg

The generated figure is then saved in figure.svg, and looks like:

synthaser can also start batch searches, either by providing more than one sequence in a query FASTA file (-qf), or more than one NCBI accession (-qi).

For example, searching PKS sequences from A. nidulans:

$ synthaser -qf sequences.fasta --json nidulans.svg

Produces:

Refer to synthaser --help for all tweakable parameters for generating the SVG.

Citations

If you found synthaser helpful, please cite:

1. <pending>

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

synthaser-1.0.3.tar.gz (25.9 kB view details)

Uploaded Source

Built Distribution

synthaser-1.0.3-py3-none-any.whl (39.2 kB view details)

Uploaded Python 3

File details

Details for the file synthaser-1.0.3.tar.gz.

File metadata

  • Download URL: synthaser-1.0.3.tar.gz
  • Upload date:
  • Size: 25.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8

File hashes

Hashes for synthaser-1.0.3.tar.gz
Algorithm Hash digest
SHA256 7db069ef0dbd0a1572d15c3fac58a3843e3eca247fd9277c67092d6f7c00a0d2
MD5 97562c99bf5a85fb2c21842cdbd9dc21
BLAKE2b-256 c6e98017898305127800d799bf09b827a87ef2477847ea2115d39a51c825d996

See more details on using hashes here.

File details

Details for the file synthaser-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: synthaser-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 39.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8

File hashes

Hashes for synthaser-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 20f45c0bb2fbbec4629f194bb2cb75ea9c7760fa8fe409d5e87837a20bfdff0e
MD5 1e2c11f55ea99c39e2dbc8ecaa48fea6
BLAKE2b-256 4563031bacfaf7287f59d54c6b5d3a05407502574e4783dbc3c4d27d323cecdb

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