Skip to main content

Amplicon Suite Aggregator

Description

Aggregates results from AmpliconSuite-pipeline runs.

  • Accepts compressed input files (.tar.gz, .zip) of individual or grouped AmpliconSuite results, or plain directories.
  • Aggregates and packages results into a new .tar.gz file, along with an aggregated .csv and .html summary.
  • The output .tar.gz can be directly uploaded to AmpliconRepository.org.
  • Supports batch sample renaming via a name map file.
  • Can include auxiliary files alongside the upload; place them in a directory containing a file named AUX_DIR.

Installation

Option 1 — pip

pip install AmpliconSuiteAggregator

Option 2 — Git clone

git clone https://github.com/AmpliconSuite/AmpliconSuiteAggregator.git
cd AmpliconSuiteAggregator
pip install -r requirements.txt

Dependencies

Python packages: pandas, requests

Usage

python src/AmpliconSuiteAggregator.py -flist <input_list.txt> -o <project_name> [options]

input_list.txt is a plain text file with one input path per line (.tar.gz, .zip, or directory).

Aggregation options

Flag Description
-flist FILE Text file listing input paths, one per line
--files PATH [PATH ...] Input files or directories directly on the command line
-o NAME Output prefix / project name (required)
--name_map FILE Two-column file: col 1 = current sample name, col 2 = replacement name. Applies a deep rename throughout all output files and tables.
-c {Yes,No} Re-run Amplicon Classifier on inputs (Yes/No)
--ref GENOME Reference genome: hg19, GRCh37, GRCh38, GRCh38_viral, or mm10

AmpliconRepository upload options

Flag Description
-u EMAIL AmpliconRepository username (email). If provided, triggers upload after aggregation.
--upload_only {Yes,No} Skip aggregation and upload an existing .tar.gz directly
-s {prod,dev} Target server (prod for most users)

Examples

Aggregate a set of results:

python src/AmpliconSuiteAggregator.py -flist input_list.txt -o MyProject

Aggregate and upload to AmpliconRepository:

python src/AmpliconSuiteAggregator.py -flist input_list.txt -o MyProject -u you@email.com -s prod

Upload an already-aggregated file without re-aggregating:

python src/AmpliconSuiteAggregator.py --files MyProject.tar.gz -o MyProject -u you@email.com --upload_only Yes -s prod

Input files

For a breakdown of which per-sample files make up a classification project — which are essential, which are strongly recommended, and the naming patterns the Aggregator expects — see INPUT_FILES.md.

Authors

Issues

Bug reports and feature requests: GitHub Issues

Metadata

Release files for AmpliconSuiteAggregator 8.2.0

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

Source distribution (sdist)

Source distribution for AmpliconSuiteAggregator 8.2.0
File Size Uploaded Provenance Actions
ampliconsuiteaggregator-8.2.0.tar.gz 45.2 kB Without provenance Details for ampliconsuiteaggregator-8.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for AmpliconSuiteAggregator 8.2.0
File Interpreter ABI Platform Actions
ampliconsuiteaggregator-8.2.0-py3-none-any.whl Python 3 none any Details for ampliconsuiteaggregator-8.2.0-py3-none-any.whl

Total release size: 94.0 kB

Release files / ampliconsuiteaggregator-8.2.0.tar.gz

Download URL ampliconsuiteaggregator-8.2.0.tar.gz
Size 45.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6db88ea9a4a7c4086f7a904f666cc6d0e98e95b701eced3e4bd28cf249a38db1
BLAKE2b-256 checksum
How to use checksums
e1ef16561bf20d77bd6d5842319ea27ee3369e207a7cce499468c78881b9eca9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.12

Release files / ampliconsuiteaggregator-8.2.0-py3-none-any.whl

Download URL ampliconsuiteaggregator-8.2.0-py3-none-any.whl
Size 48.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a514dc2fced22f8392c8e9b9bdf35ccc0a24c7ca7136403a5ae695091141883b
BLAKE2b-256 checksum
How to use checksums
aed8f556e2eaed6b1a6b232eac22a256b7348993f1d430d6c44db3e0adc00b0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.12

Security for AmpliconSuiteAggregator 8.2.0

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.

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