Skip to main content

No project description provided

Project description

synthaser

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 using pip:

$ pip install --user 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 its only external Python dependency is requests, which is used for querying the NCBI's APIs. To perform local searches, the programs RPS-BLAST as well as the CD-Search post-processing utility, rpsbproc, should be installed (available from ...)

Usage

A full synthaser search can be performed as simply as:

$ synthaser -qf sequences.fasta

Where sequences.fasta is a FASTA format file containing the protein sequences that you would like to search.

For a full listing of available arguments, enter:

$ synthaser -h

Visualising your results

synthaser is capable of generating fully-interactive, annotated visualisations so you can easily explore your results. All that is required is one extra argument:

$ synthaser -qf sequences.fasta -p

This will generate a figure like so:

Example synthaser output

Click here to play around with the full version of this example.

Saving your search session

synthaser allows you to save your search results such that they can be easily reloaded for further visualisation or exploration without having to fully re-do the search.

To do this, use the --json_file command:

$ synthaser -qf sequences.fasta --json_file sequences.json

This will save all of your results, in JSON format, to the file sequences.json. Then, loading this session back into synthaser, is as easy as:

$ synthaser --json_file sequences.json ...

Using your own rules

Though synthaser was originally designed to analyse secondary metabolite synthases, it can easily be repurposed to analyse the domain architectures of any type of protein sequence.

Under the hood, synthaser uses two files to determine 1) which domains to save from a CD-Search run (domains.json) and 2) the rules used to classify sequences based on their domain architectures (rules.json). By default, synthaser will use the copies of these files distributed with the program. However, providing your own rules is as simple as:

$ synthaser -qf sequences.fasta -df my_domains.json -cf my_rules.json

For a detailed explanation of how to create your own synthaser rule files, as well as API please refer to the documentation.

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.1.7.tar.gz (130.2 kB view details)

Uploaded Source

Built Distribution

synthaser-1.1.7-py3-none-any.whl (135.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: synthaser-1.1.7.tar.gz
  • Upload date:
  • Size: 130.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.0 importlib_metadata/3.7.3 packaging/20.9 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for synthaser-1.1.7.tar.gz
Algorithm Hash digest
SHA256 b6efa237b377a16385f9178da1d015909c407a6aa7751c042fa747086217119d
MD5 2bff0c0d37496771182e85bc0b8ac132
BLAKE2b-256 a0bb94ceba009ca2a556afaef2091e8b3cd2c26261f13132d31166d7c3db6b34

See more details on using hashes here.

File details

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

File metadata

  • Download URL: synthaser-1.1.7-py3-none-any.whl
  • Upload date:
  • Size: 135.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.0 importlib_metadata/3.7.3 packaging/20.9 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for synthaser-1.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 9e87198a0ae821ff546801abfabb90047ae0347a941db7c3452460aa13cbfd94
MD5 75494dea7ec56b374140bde6fe7c5ea3
BLAKE2b-256 1e88558aadd06337d960996e723eb89317b571518f8ef47ebdbd0cbe0434a6ab

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