Skip to main content

Bleeding-edge comparative genomics automation and standardization software

Project description



NOTE

This software is a beta release (prokaryote is alpha state) - errors are expected. Kindly report them. If you can find the bug, even better! The goal is to reach a longterm stable release, though maintaining the software for my use is currently the priority.

PURPOSE

Bring broadscale comparative genomics to the masses.

Mycotools is a compilation of computational biology tools and database (MycotoolsDB) software that facilitate large-scale comparative genomics. MycotoolsDB locally assimilates all NCBI and MycoCosm (Joint Genome Institute) genomes into a database schema with uniform file curation, scalability, and automation as guiding principles.

  • Database initialization is as simple as mtdb u --init <DIR>
  • mtdb u --update brings the database to the current date
  • The MycotoolsDB (MTDB) uniformly curates the numerous iterations of the gff into a consistent standard
  • The .mtdb database format enables swift transitions from analyses with datasets of 100,000s genomes to as few as a lineage of interest
  • Mycotools software suite includes modules to automate routine-complex comparative genomics


CITING

If Mycotools contribute to your analysis, please cite this git repository (github.com/xonq/mycotools) and mention the Mycotools version in line.



INSTALL

1. Using an environment manager

Miniconda3 is a software environment manager:

curl https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh > ~/miniconda3.sh
bash ~/miniconda3.sh

Activate miniconda and initialize it so it starts up automatically

source activate base # if this fails run conda activate base
conda init

2. Configuring the environment manager

Setup and prioritize channels for your miniconda installation. This step must be completed for new and old installs.

conda config --add channels defaults
conda config --add channels bioconda
conda config --add channels conda-forge
conda config --set channel_priority strict

3. Installing mycotools

Make sure conda is active, usually by seeing (base) in in your shell. If not, try conda activate base or source activate base.

conda create -n mycotools mycotools -c xonq -y
conda activate mycotools
python3 -m pip install mycotools --upgrade
mtdb -d

NOTE: New builds may conflict with the conda package - please explicitly run pip install as noted above to update the mycotools package inside the conda environment.


Determine if you are going to link to an already installed database, or become the administrator of a new one:

4a. USER: Integrate with already initialized MycotoolsDB

To link with an existing database, fill in <PATH> with the database path

mtdb --init <DB_PATH>

You're good to proceed to the usage guide!


4b. ADMINISTRATOR: Initialize a local MycotoolsDB

mtdb update --init <DB_PATH>

UPDATE

Mycotools is currently in an advanced beta state with frequent updates. It is recommended to run the following in your conda environment if you are having trouble with analyses:

python3 -m pip install mycotools --upgrade

NOTE: Make sure the conda environment is active when updating. I recommend updating with pip because the conda distribution is currently prone to dependency issues and will not update reliably.




A NOTE ON THE CODE

Each standalone script is written with a cli function, designed to handle running the script from the command line, as well as main function(s), which are importable python modules. This enables Mycotools to be a pipelining-friendly software suite, both from a command line and python scripting standpoint.

Code edits should focus on stabilizing existing features and simplifying/decerasing the code base. I try to implement code aligned with principles of the functional programming paradigm and modifications should act in accord with this paradigm, i.e. sparing implementation of new classes, limited necessary abstraction, no hidden state changes, and function-based flow.












Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mycotools-0.30.31.tar.gz (618.7 kB view details)

Uploaded Source

Built Distribution

mycotools-0.30.31-py3-none-any.whl (176.3 kB view details)

Uploaded Python 3

File details

Details for the file mycotools-0.30.31.tar.gz.

File metadata

  • Download URL: mycotools-0.30.31.tar.gz
  • Upload date:
  • Size: 618.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for mycotools-0.30.31.tar.gz
Algorithm Hash digest
SHA256 e3d7639d2c7281acab162e8e85050d00c5a27ce8d10b98e85b03193b63925b93
MD5 f82aad078d56c458834f521ce1c4f593
BLAKE2b-256 4080326556dc0a33d03680811c9272e9facf912ee69329a90e700f16086aa9ca

See more details on using hashes here.

File details

Details for the file mycotools-0.30.31-py3-none-any.whl.

File metadata

  • Download URL: mycotools-0.30.31-py3-none-any.whl
  • Upload date:
  • Size: 176.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for mycotools-0.30.31-py3-none-any.whl
Algorithm Hash digest
SHA256 5a8f216e6c7a8721ff8567a836a6234a902b427d45daa6b9119b56f8b278b224
MD5 090f11165a5202187b9e509d1e4cc79b
BLAKE2b-256 ca626084b8f5b990134bbcc2ae6cc96bf3cc1016012321a589001baaef55865e

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