Skip to main content

Co-occurrence Locus and Orthologous Cluster Identifier

Project description

NOTE

Extensive alpha testing has been conducted, though this software is in a beta state. Errors are expected, often rerunning without changing parameters is sufficient to resume appropriately. Kindly raise git issues for errors - if you can find the bug, even better! Documentation is currently in the works.

Please also note that this software interfaces with the comparative genomics software suite, Mycotools. I am hopeful you will find Mycotools useful. Please find its manuscript and the associated repository.


PURPOSE

The most common gene cluster detection algorithms focus on canonical “core” biosynthetic functions many gene clusters encode, while overlooking uncommon or unknown cluster classes. These overlooked clusters are a potential source of novel natural products and comprise an untold portion of overall gene cluster repertoires. Unbiased, function-agnostic detection algorithms therefore provide an opportunity to reveal novel classes of gene clusters and more broadly define genome organization. CLOCI (Co-occurrence Locus and Orthologous Cluster Identifier) is an algorithm that identifies gene clusters using multiple proxies of selection for coordinated gene evolution. In the process, CLOCI circumscribes loci into homologous locus groups, which is an extension of orthogroups to the locus-level. Our approach generalizes gene cluster detection and gene cluster family circumscription, improves detection of multiple known functional classes, and unveils noncanonical gene clusters. CLOCI is suitable for genome-enabled specialized metabolite mining, and presents an easily tunable approach for delineating gene cluster families and homologous loci.


INSTALL

Please create a conda environment and manually install graph-tool

conda create -n cloci graph-tool python pip

Then install cloci into the environment

conda activate cloci
python3 -m pip install cloci

A conda package will be available in the future.


USE

Input dataset

CLOCI inputs a MycotoolsDB that contains genomes ('omes') of interest. It is important to adequately sample a cluster's distribution to detect it. I thus generally recommend implementing CLOCI at least at the subphylum-level. This varies depending on the lineage's rate of microsynteny decay and the phylogenetic distance with which horizontal transfer occurs.

Hyperparameters

CLOCI default parameters have been tuned for our initial dataset on ~2,250 fungi across the kingdom. These should suffice for most analyses. By default, thresholds for all proxies of coordinated gene evolution are set to 0. These thresholds will vary for the type of clusters of interest and the lineage. I recommend compiling a dataset of known cluster reference genes, running CLOCI, identifying those genes in the output, determining the values for the reference cluster proxies, and then implementing the thresholds.

There are numerous hyperparameters that will drastically affect output quality. I suspect our pilot study reached a local maximum in terms of output quality, though a global maximum perhaps lies with further hyperparameter tuning.

Example

Extract a MycotoolsDB of Agaricomycotina

mtdb e -l Agaricomycotina > agaricomycotina.mtdb

Run CLOCI

cloci -d agaricomycotina.mtdb -r <ROOT_OME>

Resume a CLOCI run, i.e. to add proxy thresholds or resume following error

cloci -d agaricomycotina.mtdb -r <ROOT_OME> -o <PREVIOUS_DIR>



ON THE ALGORITHM

Pipeline

CLOCI

Recovery of 68 reference clusters

Recovery of 68 reference clusters

Boundary assessment of 33 reference clusters

Boundary assessment of 33 reference clusters

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

cloci-0.1.4.tar.gz (514.5 kB view details)

Uploaded Source

Built Distribution

cloci-0.1.4-py3-none-any.whl (136.5 kB view details)

Uploaded Python 3

File details

Details for the file cloci-0.1.4.tar.gz.

File metadata

  • Download URL: cloci-0.1.4.tar.gz
  • Upload date:
  • Size: 514.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for cloci-0.1.4.tar.gz
Algorithm Hash digest
SHA256 b3be4cee1b360c2aaee33f3811b7bc663ca0be08c72b2b9eaf82c7d6ef1ff364
MD5 edc1464c26b66fb65b83cdb81597e418
BLAKE2b-256 69ff2e169fdcff72b63ca05eb67e945782d049e1722e0c51466bc35de3527a89

See more details on using hashes here.

File details

Details for the file cloci-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: cloci-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 136.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for cloci-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 575df468d54912f299d1d1480a5ae70dcbfc9586fcf1f94b415f54f868114bab
MD5 e1a011c142e6c5e6e98011acc2bb56d2
BLAKE2b-256 26b508faf33721d5009af1c1fa94b082c762284bb0331bc03bc87a61af38897a

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