Skip to main content

No project description provided

Project description

clinker

Gene cluster comparison figure generator

What is it?

clinker is a pipeline for easily generating publication-quality gene cluster comparison figures.

bua cluster and homologues

Given a set of GenBank files, clinker will automatically extract protein translations, perform global alignments between sequences in each cluster, determine the optimal display order based on cluster similarity, and generate an interactive visualisation (using clustermap.js) that can be extensively tweaked before being exported as an SVG file.

Installation

clinker can be installed directly through pip:

pip install clinker

Or by cloning the source code from GitHub:

git clone https://github.com/gamcil/clinker.git
cd clinker
pip install .

Usage

Running clinker can be as simple as:

clinker clusters/*.gbk

This will run the clinker pipeline on all GenBank files within the folder and open a new tab in your web browser with the visualisation application.

See -h/--help for more information:

usage: clinker [-h] [-i IDENTITY] [-f] [-o OUTPUT] [-dl DELIMITER]
               [-dc DECIMALS] [-hl] [-ha]
               files [files ...]

clinker: Automatic creation of publication-ready gene cluster comparison figures.

clinker generates gene cluster comparison figures from GenBank files.
It performs pairwise local or global alignments between every sequence
in every unique pair of clusters and generates interactive, to-scale
comparison figures using the clustermap.js library.

positional arguments:
  files                 Gene cluster GenBank files

optional arguments:
  -h, --help            show this help message and exit

Alignment options:
  -i IDENTITY, --identity IDENTITY
                        Minimum alignment sequence identity

Output options:
  -f, --force           Overwrite previous output file
  -o OUTPUT, --output OUTPUT
                        Save alignments to file
  -dl DELIMITER, --delimiter DELIMITER
                        Character to delimit output by
  -dc DECIMALS, --decimals DECIMALS
                        Number of decimal places in output
  -hl, --hide_link_headers
                        Hide alignment column headers
  -ha, --hide_aln_headers
                        Hide alignment cluster name headers

Example usage
-------------
Align clusters, plot results and print scores to screen:
  $ clinker files/*.gbk

Cameron Gilchrist, 2020

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

clinker-0.0.2.tar.gz (105.3 kB view details)

Uploaded Source

Built Distribution

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

clinker-0.0.2-py3-none-any.whl (107.8 kB view details)

Uploaded Python 3

File details

Details for the file clinker-0.0.2.tar.gz.

File metadata

  • Download URL: clinker-0.0.2.tar.gz
  • Upload date:
  • Size: 105.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

File hashes

Hashes for clinker-0.0.2.tar.gz
Algorithm Hash digest
SHA256 777affaea96fcc3332cee237f561f873734f469c4e421324df326f51a2ce2e68
MD5 98c8ee1f744a30196776527b16814d33
BLAKE2b-256 1c789f86d061cf4d051e022c3314b951186818f2f57b4b1f685bf2c4c6811169

See more details on using hashes here.

File details

Details for the file clinker-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: clinker-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 107.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

File hashes

Hashes for clinker-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c14df769746e183d221348d2b1f6f84a48af2df289a62a483f59c6c39dd27a38
MD5 13ff01cbd41be454eda5f381b880e7f4
BLAKE2b-256 b31122cc4c7311709b428bc3b34543e1c6d202f706d69d4ac43ef26305f57714

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