Metadata-Version: 2.4
Name: checkm-genome
Version: 1.4.0
Summary: Assess the quality of putative genome bins.
Home-page: http://pypi.python.org/pypi/checkm-genome/
Author: Donovan Parks, Michael Imelfort, Connor Skennerton
Author-email: donovan.parks@gmail.com
License: GPL3
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy>=1.21.3
Requires-Dist: scipy>=1.7.3
Requires-Dist: matplotlib>=3.5.1
Requires-Dist: pysam>=0.19.0
Requires-Dist: dendropy>=4.5.2
Requires-Dist: tqdm>=4.62
Requires-Dist: xopen>=2.0
Requires-Dist: pyhmmer>=0.12.0
Requires-Dist: setuptools>=81
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# CheckM

[![Unmaintained](http://unmaintained.tech/badge.svg)](http://unmaintained.tech/)   
[![version status](https://img.shields.io/pypi/v/checkm-genome.svg?cacheSeconds=3600)](https://pypi.python.org/pypi/checkm-genome)
[![Bioconda](https://img.shields.io/conda/vn/bioconda/checkm-genome.svg?color=green&cacheSeconds=3600)](https://anaconda.org/bioconda/checkm-genome)
[![Downloads](https://pepy.tech/badge/checkm-genome/month)](https://pepy.tech/project/checkm-genome)
[![BioConda Install](https://img.shields.io/conda/dn/bioconda/checkm-genome.svg?style=flag&label=BioConda%20install&cacheSeconds=3600)](https://anaconda.org/bioconda/checkm-genome)

## CheckM v2 has been released

CheckM v2 has been released and can be found [here](https://github.com/chklovski/CheckM2). CheckM v1 (this repository) estimates genome completeness and contamination based on the presence or absence of marker genes, i.e., genes that are typically ubiquitous and single copy. In contrast, [CheckM v2](https://github.com/chklovski/CheckM2) uses machine learning models to estimate completeness and contamination. Our [assessment](https://www.nature.com/articles/s41592-023-01940-w) indicates CheckM v2 will be more accurate in general. However, you may consider running both CheckM v1 and v2 in some cases since these are independent methodologies for estimating genome quality. It can also be insightful to explore the marker genes that are missing in your genomes, especially if you have multiple related genomes and are interested in systematic loss of an otherwise ubiquitious gene. 

Outside of minor updates to fix compatibility issues with external dependencies no maintanence is intended for CheckM v1.

## CheckM ≥v1.3.x changes

CheckM ≥v1.3 gives the same completeness and contamination estimates as v1.2.8 to v1.2.10, but is faster and uses less memory and disk space. Bug fixes in v1.2.8 slightly changed the estimates of a few genomes (7 of 1,128 test genomes) compared with v1.2.7 and earlier; see [Quality estimate changes](https://ecogenomics.github.io/CheckM/quality_estimate_changes.html). CheckM ≥v1.3 also changes some arguments and outputs:

* **gPlace replaces pplacer:** genomes are placed in the reference tree with [gPlace](https://github.com/cmc-aau/gPlace), which gives the same placements as pplacer. pplacer and guppy are no longer required.
* **Performance:** on 1,000 genomes with 64 threads, `lineage_wf` in v1.4.0 takes 30% less time than v1.2.10 and needs 71% less memory (47 to 14 GiB) and 73% less disk space (4.4 to 1.2 GB). See the [performance results](https://ecogenomics.github.io/CheckM/performance.html).
* **pyhmmer replaces the HMMER programs (v1.4.0):** HMMER is run through [pyhmmer](https://github.com/althonos/pyhmmer), which is installed with CheckM, so HMMER no longer needs to be installed. See [Migration to pyhmmer](https://ecogenomics.github.io/CheckM/pyhmmer_migration.html).
* **Results file:** `lineage_wf` and `taxonomy_wf` write their results to `quality_report.tsv` (the `qa -o 2 --tab_table` table) in the output directory, instead of printing a table.
* **Compressed output:** most output files are gzip-compressed (e.g., `lineage.ms.gz`). CheckM still reads the outputs of earlier versions.
* **Removed arguments:** `--reduced_tree` and `--pplacer_threads` (`tree`, `lineage_wf`), and `-f/--file` and `--tab_table` (`lineage_wf`, `taxonomy_wf`).
* **New arguments:** `--gplace_max_memory` limits the memory used by gPlace, and `--rm_tmp_files` removes intermediate files once a workflow has finished.
* CheckM v1.3 requires Python ≥ 3.11.

## Installing and using CheckM
Please see the CheckM documentation for usage details and installation instructions: https://ecogenomics.github.io/CheckM

We do not recommend installing CheckM from the master branch. This may be unstable. Please install an official release of CheckM or use pip.

### Dependencies

CheckM requires [Prodigal](https://github.com/hyattpd/Prodigal) (2.6.3) and, from CheckM 1.3.0, [gPlace](https://github.com/cmc-aau/gPlace) (≥0.1.2 for CheckM ≥ 1.4.0; ≥0.1.0 for CheckM 1.3.x) to be on your system path. From CheckM 1.4.0, [HMMER](http://hmmer.org/) does not need to be installed: it is run through [pyhmmer](https://github.com/althonos/pyhmmer), a Python library that includes HMMER 3.4 and is installed with CheckM. CheckM ≤ 1.3.2 requires HMMER (≥3.1) to be on your system path. gPlace replaces [pplacer](https://github.com/matsen/pplacer), which was required by earlier versions of CheckM: it gives the same placements as pplacer, bit for bit, using less memory and time. gPlace requires Python ≥3.12 and can be installed with `pip install gtdb-gplace`; it can be installed in a separate environment from CheckM as long as the `gplace` command is on your system path.

CheckM ≥ 1.3.0 requires Python ≥ 3.11 and [xopen](https://github.com/pycompression/xopen) (≥ 2.0), which is installed with CheckM. From CheckM 1.3.0, most output files are gzip-compressed (e.g., `lineage.ms.gz`, `bins/<genome_id>/genes.faa.gz` and `storage/bin_stats_ext.tsv.gz`); CheckM commands still accept the uncompressed output of earlier versions and the uncompressed file names (e.g., `checkm qa ./output/lineage.ms ./output`).

## Estimating quality of CPR genomes

Information about obtaining improved quality estimates for CPR (Patescibacteria) genomes can be found here:
https://ecogenomics.github.io/CheckM/workflows.html#using-the-cpr-marker-set

## Bug Reports

Please report bugs through the GitHub issues system. 

Copyright © 2014 Donovan Parks, Connor Skennerton, Michael Imelfort. See LICENSE for further details.
