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.
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.
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
-
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)
| File | Size | Uploaded | |
|---|---|---|---|
| bioleach-0.0.5.tar.gz | 9.9 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|