Skip to main content

Bleeding-edge comparative genomics automation and standardization software

Project description

mycotools



CITING

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



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.


INSTALL

1. Installing miniconda

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. Setting up miniconda

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: There is an unfortunate build dependency conflict with the conda package, so be sure to 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>




A NOTE ON THE CODE

Each standalone script is written with __name__ == '__main__', designed to handle running the script from the command line, as well as main function(s), which are importable modules executing the purpose of the script. 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.20.tar.gz (164.6 kB view details)

Uploaded Source

Built Distribution

mycotools-0.30.20-py3-none-any.whl (173.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mycotools-0.30.20.tar.gz
Algorithm Hash digest
SHA256 39faea8def32ff6657b97c94d7626e12c6671915821c9169a726752cdcfe4853
MD5 181959f33719df52892175041340a50e
BLAKE2b-256 c270cd40db5cfed782e513f4ceb7947b4307fc5979e8ff4c48cad64a509d059c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for mycotools-0.30.20-py3-none-any.whl
Algorithm Hash digest
SHA256 4b19c7e9cc54da7f419c998cedeb165ef03afc23ffdbcd36bd4572995e0f9963
MD5 0f5e5a226e1e09ff3a95056db335c643
BLAKE2b-256 9dccf2ef9b5be586809c662857487794446f85e13404f91b2521d7e248e65589

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