Skip to main content

MetaPhlAnTaxaProcessor

PyPI - Version PyPI - Python Version


MetaPhlAnTaxaProcessor is a Python-based utility designed to streamline the downstream analysis of MetaPhlAn output. It processes MetaPhlAn's taxonomic profiling data, converting it into structured CSV files for each taxonomic rank (e.g., Kingdom, Phyla, Class, etc.). Additionally, it offers the option to consolidate these CSV files into a single Excel workbook, with each sheet named after the corresponding taxonomic rank. This tool enhances the accessibility and interpretability of metagenomic data, facilitating further statistical analysis and visualization.


Table of Contents

Installation

You can install the latest version of MetaPhlAnTaxaProcessor using pip:

pip install metaphlantaxaprocessor

Usage

Once installed, you can use MetaPhlAnTaxaProcessor via the command line to process your MetaPhlAn output files.

Basic Command

metaphlan-taxaprocessor.main INPUT_TSV_FILE

Where INPUT_TSV_FILE is the path to your MetaPhlAn-generated TSV file.

Available Options

  • --outdir: Specify the output directory for the generated CSV files (default is <prefix>-taxa).
  • --combine: Optionally combine the generated CSV files into a single Excel workbook.

Example usage with options:

metaphlan-taxaprocessor.main tests/test_data/Galaxy-res.tsv --outdir ./output --combine

This command will process the Galaxy-res.tsv file and store the CSVs in the ./output directory, then combine them into a single Excel workbook.

License

metaphlantaxaprocessor is distributed under the terms of the MIT license.

Release files for metaphlantaxaprocessor 0.0.3

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

Source distribution (sdist)

Source distribution for metaphlantaxaprocessor 0.0.3
File Size Uploaded
metaphlantaxaprocessor-0.0.3.tar.gz 53.1 kB Details

Built distribution (wheel)

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

Total release size: 60.1 kB

Release files / metaphlantaxaprocessor-0.0.3.tar.gz

Download URL metaphlantaxaprocessor-0.0.3.tar.gz
Size 53.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f41e4a08301bd8428cc9382fba40cbf2866618e616358c6a0eef410dc6994479
BLAKE2b-256 checksum
How to use checksums
19ba5164ae465068d34d80f44b5139f606fcdb24bf31dc982dc69a7f5e1c8698
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 21, 2025.

Transparency log

Release files / metaphlantaxaprocessor-0.0.3-py3-none-any.whl

Download URL metaphlantaxaprocessor-0.0.3-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6a879ff3659e651a678e22e96310dabc6c43be80eb9f2935e2960fa3ee2751bb
BLAKE2b-256 checksum
How to use checksums
dc97c7dca4390d376fc2e692bc59ae7849d33f7594ff8f6e6d9f1b30aa36bd32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 21, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

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