Skip to main content

bioleach

Overview

The bioleach package defines a bioinformatics pipeline to support reproducing the analysis published in 1 of microbial consortia in a copper bioleaching context. The metagenome sequencing reads are available from NCBI bioproject PRJNA1170356 / SRA study SRP537212, while genomes and plasmids are available from ggKbase proect Cu_Bioleaching_Organisms_and_Plasmids. See also the full package documentation.

See the following excerpt from the bioproject abstract for reference:

Here, we established a copper bioleaching microbial consortium on chalcopyrite and then transferred it to chalcocite to investigate how the community composition shifts due to changes in mineral structure and the absence of mineral-derived Fe. The initial inoculum came from a bioleaching column at a copper heap-leaching system in Cyprus. The solution chemistry was determined and microbial communities characterized by genome-resolved metagenomics after four and eight weeks of cultivation.

Background

The global demand for copper (Cu) is likely to outpace supply over the next decade due to widespread electrification, adoption of renewable energy technologies, and declining mine productivity.

IEA copper figure Copper demand data from the International Energy Agency's Global Critical Minerals Outlook.

One critical piece of the copper supply chain is bioleaching, the activity of microbes that extract copper and other metals during heap leaching. Microbial communities involved in the bioleaching process could be used to improve copper production and have been the subject of scientific research for at least the past two decades. For example, a recent study 1 by scientists from UC Berkeley, MIT, and other institutions investigated the in microbial populations present on two different minerals found in copper mines, chalcopyrite and chalcocite.

Experimental diagram Diagram of experimental design from 1.

Installation

The suggested method for installing bioleach is via pip in a dedicated conda environment

conda create -n bioleach -c conda-forge -c bioconda \
  pandas seaborn biopython sra-tools pysradb \
  mysql-connector-python sqlalchemy fastp kraken2 bowtie2 \
  megahit prodigal
conda activate bioleach
pip install bioleach

Running bioleach with no arguments will display the usage text:

usage: bioleach [-h] [--version]
                {create-source-db,create-pipeline-db,export-db,download,trim,remove-contam,assemble,clean,data-dir} ...

Bioinformatics analysis of a bioleaching microbial community

positional arguments:
  {create-source-db,create-pipeline-db,export-db,download,trim,remove-contam,assemble,clean,data-dir}
    create-source-db    create source database
    create-pipeline-db  create pipeline database
    export-db           export database
    download            download SRA reads
    trim                trim Illumina adapters and low-quality bases
    remove-contam       remove contaminant reads
    assemble            assemble metagenome contigs
    clean               clean up SRA reads
    data-dir            show the currently configured data directory

options:
  -h, --help            show this help message and exit
  --version             show program's version number and exit
  1. Lane et al. Bioleaching Microbial Community Metabolism and Composition Driven by Copper Sulphide Mineral Type. Environmental Microbiology Reports 2025. ↩ ↩2 ↩3

Release files for bioleach 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bioleach 0.0.5
File Size Uploaded
bioleach-0.0.5.tar.gz 9.9 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for bioleach 0.0.5
File Interpreter ABI Platform
bioleach-0.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 19.8 MB

Release files / bioleach-0.0.5.tar.gz

Download URL bioleach-0.0.5.tar.gz
Size 9.9 MB
Tags Source
SHA-256 checksum
How to use checksums
26c00bb92b05af6d9e0942a735b85282ba70db0c7d8e4f9909a0dfbea90585d8
BLAKE2b-256 checksum
How to use checksums
b20db527307f1d058e62f3b4fc8754fce369676b67447e439cdedcc18906c50c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / bioleach-0.0.5-py3-none-any.whl

Download URL bioleach-0.0.5-py3-none-any.whl
Size 9.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
4c9a9d406a5a91bd42997de9f3db63984806b96d82bbb201171e36ed23b2e26a
BLAKE2b-256 checksum
How to use checksums
0a63d50c2eb30bcc84e0a6f3b55633264f6645637041be1355e61ee299c1cb00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page