MCPcopy Index your code
hub / github.com/MrOlm/drep

github.com/MrOlm/drep @3.7.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release 3.7.1 ↗ · + Follow
401 symbols 1,274 edges 38 files 256 documented · 64%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

dRep

Downloads Downloads

dRep is a python program for rapidly comparing large numbers of genomes. dRep can also "de-replicate" a genome set by identifying groups of highly similar genomes and choosing the best representative genome for each genome set.

Manual, installation instructions, and API are at available at ReadTheDocs

Publication is available at ISMEJ

Open source pre-print publication is available at bioRxiv

Installation with pip

$ pip install drep

Quick start

Genome comparison:

$ dRep compare output_directory -g path/to/genomes/*.fasta

Genome de-replication:

$ dRep dereplicate output_directory -g path/to/genomes/*.fasta

Make sure dependencies are properly installed:

$ dRep check_dependencies

Dependencies

Near Essential

  • Mash - Makes primary clusters (v1.1.1 confirmed works)
  • MUMmer - Performs default ANIm comparison method (v3.23 confirmed works)

Optional

  • fastANI - A fast secondary clustering algorithm
  • CheckM_ - Determines contamination and completeness of genomes (v1.0.7 confirmed works)
  • gANI (aka ANIcalculator) - Performs gANI comparison method (v1.0 confirmed works)
  • Prodigal - Used be both checkM and gANI (v2.6.3 confirmed works)
  • NSimScan - Only needed for goANI algorithm (open source version of gANI)

Core symbols most depended-on inside this repo

get_db
called by 176
drep/WorkDirectory.py
get_dir
called by 41
drep/WorkDirectory.py
store_db
called by 31
drep/WorkDirectory.py
parseArguments
called by 28
drep/controller.py
hasDb
called by 23
drep/WorkDirectory.py
get_cluster
called by 7
drep/WorkDirectory.py
store_special
called by 6
drep/WorkDirectory.py
_validate_genomeInfo
called by 5
drep/d_filter.py

Shape

Function 327
Method 57
Class 17

Languages

Python100%

Modules by API surface

helper_scripts/ScaffoldLevel_dRep.py53 symbols
drep/d_analyze.py40 symbols
tests/tests/test_utils.py22 symbols
drep/d_cluster/external.py22 symbols
tests/tests/test_cluster.py19 symbols
drep/d_filter.py19 symbols
drep/d_cluster/utils.py19 symbols
drep/d_cluster/compare_utils.py17 symbols
drep/d_bonus.py17 symbols
drep/WorkDirectory.py17 symbols
tests/tests/test_dereplicate.py13 symbols
tests/tests/test_filter.py11 symbols

For agents

$ claude mcp add drep \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact