Skip to main content

No project description provided

Project description

Cocoremover is a simple tool for the removal of contaminant contigs from bacterial genome assemblies.

How to use 🎬

  1. Build a fresh, updated reference database (eg using 36 cores):

    cocoremover -c 36 --makedb

  2. Run the decontamination of a genome (eg using 36 cores):

    cocoremover -c 36 -i GCA_948938835.1.fna -t 1598 -d cocoremover.db

The required parameter -t/--taxid is the species-level NCBI Taxonomy ID for the input genome assembly. Please use cocoremover --help to read the full user guide.

Output files will be created:

  • {assembly}.counts: shows, for each contig, the number of genes for each detected species. If the species with the highest number of genes is different from the one specified with --taxid, then the contig is assumed as contaminant.
  • {assembly}.CT.{ext}: FASTA file containing contigs marked as contaminant.
  • {assembly}.OK.{ext}: original genome assembly with the contaminating contigs removed.

How to install ⚙️

pip install cocoremover

Cocoremover has several dependencies that need to be satisfied beforehand. They are all easily installable through conda/mamba. If dependencies are not found at the startup, the user will be notified.

How to cite ✍🏼

Lazzari G., Felis G. E., Salvetti E., Calgaro M., Di Cesare F., Teusink B., Vitulo N. Gempipe: a tool for drafting, curating, and analyzing pan and multi-strain genome-scale metabolic models. mSystems. December 2025. https://doi.org/10.1128/msystems.01007-25

If you use this tool in your work, remember to specify its version.

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

cocoremover-0.1.2.tar.gz (39.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cocoremover-0.1.2-py3-none-any.whl (42.3 kB view details)

Uploaded Python 3

File details

Details for the file cocoremover-0.1.2.tar.gz.

File metadata

  • Download URL: cocoremover-0.1.2.tar.gz
  • Upload date:
  • Size: 39.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.9.15 Linux/4.15.0-213-generic

File hashes

Hashes for cocoremover-0.1.2.tar.gz
Algorithm Hash digest
SHA256 5e23541b591a6ac77180884ecfa7f8e98d6c6be21a9373da5f8b07816a13cc73
MD5 a02338e4f473180d725ad09013f87caf
BLAKE2b-256 86339093cfbaf79c883624f93058c79f9f9051e862dedc1f7683c96a0f323367

See more details on using hashes here.

File details

Details for the file cocoremover-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: cocoremover-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 42.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.9.15 Linux/4.15.0-213-generic

File hashes

Hashes for cocoremover-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 685eb239be3c2902119017bafad22b3cb365a41e51d010f356680a86bccdeea3
MD5 16f6318bae6d2f58640cf812b11c97d4
BLAKE2b-256 9c8b130e4177434cbb9e37bb9f61f09a6646a60a4423207ad03ea6586bdf3ae9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page