ATGtools
This is a collection of tools for NGS data analysis. It provides many easy-to-use functionalities to clean, visualize, and analyze NGS results.
Installation
Recommended Installation Methods
Using pipx (Recommended)
pipx installs Python applications in isolated environments:
pipx install atgtools
Using uv (Alternative)
uv pip install atgtools
Development Setup
For development, clone the repository and set up the environment using uv:
# Clone the repository
git clone https://github.com/yourusername/atgtools.git
cd atgtools
# Create and activate virtual environment with Python 3.12
uv venv --python 3.12
source .venv/bin/activate # On Unix/macOS
# Install dependencies
uv sync
# Use as a module
python -m atg --help
Features
Diversity Analysis
The package provides tools for both alpha and beta diversity analysis.
Alpha Diversity
Calculate various alpha diversity indices:
- Shannon (natural log and custom base)
- Gini-Simpson
- Simpson
- Dominance
- Richness
- Pielou's Evenness
atg div alpha --input abundance.tsv
Beta Diversity
Calculate dissimilarity between samples using various metrics:
- Bray-Curtis
- Jensen-Shannon
- Jaccard
- Euclidean
- UniFrac (weighted and unweighted)
atg div beta --input abundance.tsv --metric braycurtis
Utility Tools
Git Repository Management
Check multiple git repositories in one pass:
atg tools git [options]
Options:
--verbose/-v: Show files & commits--remote/-r: Force remote update--untracked/-u: Show untracked files--dir/-d: Search specific directory for repositories--all-branch/-a: Show status of all branches--stash/-s: Show stashed changes
Manifest Creation
Create manifest files for QIIME2:
atg tools manifest --fastq_dir /path/to/fastq --output manifest.tsv
Supported FASTQ naming schemes:
sample_R1.fastq.gzsample_R2.fastq.gzsample_S01_R1.fastq.gzsample_S01_R2.fastq.gz
Other Tools
atg tools oneliner: Convert multiline FASTA to single lineatg tools countfq: Count reads in FASTQ filesatg tools abundance: Generate relative abundance tablesatg tools download: Download ENA dataatg tools retrieve: Search and retrieve ENA dataatg tools search: Search ENA database
Metadata
Release files for atgtools 0.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| atgtools-0.1.9.tar.gz | 72.9 kB | Without provenance | Details for atgtools-0.1.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| atgtools-0.1.9-py3-none-any.whl | Python 3 | none | any | Details for atgtools-0.1.9-py3-none-any.whl |
Total release size: 163.3 kB
Release files / atgtools-0.1.9.tar.gz
| Download URL | atgtools-0.1.9.tar.gz |
|---|---|
| Size | 72.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0a23ab37dea4ba13ee4bdc168eefa010ff9ddaedc47902c0215e924b8d1a8a11
|
|
BLAKE2b-256 checksum How to use checksums |
d211cd0eddee62363e0df3bce8409306e18145a16f8aff908f04713961e0f47e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.1
|
Release files / atgtools-0.1.9-py3-none-any.whl
| Download URL | atgtools-0.1.9-py3-none-any.whl |
|---|---|
| Size | 90.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
071c3ddf22701f4ba00186fcda3c47f014997a06051a430e5f3d649800077ba8
|
|
BLAKE2b-256 checksum How to use checksums |
d7da6089e22075adabea6269b58f355c1f2bbd765604185db363cfe1d07e0232
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.1
|
Security for atgtools 0.1.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.