Skip to main content

APSCALE-GUI

Downloads

Graphical user interface for the DNA metabarcoding pipeline APSCALE – no programming required. APSCALE-GUI runs in your browser (Streamlit) and guides you from the raw sequencing data to the taxonomic assignment: demultiplexing, raw data processing, and taxonomic assignment with APSCALE-blast or BOLDigger3.

  • Input: paired-end sequencing data (.fastq.gz), demultiplexed or not
  • Output: read tables (.xlsx/.parquet), sequences (.fasta) and taxonomy tables (.xlsx) in your project folder, ready for TaxonTableTools2. APSCALE always creates both ESVs (denoised sequences) and OTUs (sequence groups, clustered with the sequence group threshold, default 97%)

Installation

The easiest way is the conda environment of the APSCALE installer, which installs APSCALE-GUI and all its dependencies (APSCALE, APSCALE-blast, BOLDigger3, Demultiplexer3, cutadapt, VSEARCH, SWARM, BLAST+).

Alternatively, install via pip (Python ≥ 3.12):

pip install apscale_gui

With pip, VSEARCH, SWARM and BLAST+ must be installed separately and be available in your PATH. APSCALE-GUI checks whether they are installed and tells you what is missing.

To update, always update all packages together (mixing old and new versions leads to import errors):

pip install --upgrade apscale_gui apscale apscale_blast boldigger3 demultiplexer3

Or simply run the APSCALE installer again.

Note: projects created with APSCALE v3 or older are not compatible with APSCALE v4. Please create a new project.

Usage

conda activate apscale4
apscale_gui

The graphical interface opens in your browser (use apscale_gui dark for the dark mode). Enter the path to your projects folder (e.g. an empty folder named APSCALE_projects) in the sidebar, create the database and tagging scheme folders, and create or select a project. Click "🔄 Refresh files and folders" at the top of each page when you have added new files.

Pages

Start

  • Home: overview of the active project (raw files, demultiplexed files, FASTA files, databases), installed tools and package versions, links, tutorials and citations

Raw Data Processing

  • Raw Data Preparation: for sequencing data that is split into several files per sample (e.g. Sample_1a_1.fq.gz, Sample_1b_1.fq.gz, ..., also in sub-folders). All file pairs are found and merged into one forward and one reverse file per sample (one sample per folder, or each file pair is one sample), shown in a preview, and written to 02_demultiplexing/data (or 01_raw_data/data) of the selected project. The original files are not changed
  • Demultiplexing: demultiplex raw data with Demultiplexer3: select or create a primer set, create a tagging scheme (opens as Excel sheet), and start the demultiplexing. Primer sets are stored in APSCALE_projects/APSCALE_primersets (primer sets from Demultiplexer2 can be copied there with one click). Processed raw files are moved to 01_raw_data/processed
  • APSCALE: adjust the settings (PE merging, primer trimming, quality filtering, dereplication, denoising, SWARM clustering, replicate merging, negative control removal, read table) and run APSCALE in basic mode (without replicate merging and negative control removal), complete mode, or module by module. The settings are saved to the project's settings file when the analysis starts

Taxonomic Assignment

  • Database Finder: select a taxonomic group (e.g. fish) and a marker (e.g. 12S) to get a recommended reference database that can be built with the APSCALE-blast Database Creator (apscale_blast dbcreator). The finder also checks whether the database is already in your APSCALE_databases folder. For other groups or markers, build a custom database in the Database Creator
  • APSCALE-BLAST: BLAST your OTUs/ESVs against a local database with all APSCALE-blast options: similarity thresholds (database-specific thresholds from db_thresholds.xlsx for all taxa or per taxon, e.g. per class, or your own values; missing thresholds can be calculated with the Database Optimiser), filter modes 1–4, minimum query coverage, and an optional re-BLAST of low-similarity sequences against a second database. Each run also writes a report and a methods text. Afterwards, the species assignments can be validated with GBIF occurrences (countries, continent or coordinates with radius) or synonyms can be replaced by their accepted names. Pre-compiled databases can be downloaded directly (single databases via the Database Hub, or all latest databases at once)
  • BOLDigger3: taxonomic assignment against the BOLD Systems database. The local BOLD database file is downloaded with your BOLD account

Downstream

  • Data Analysis: open the APSCALE analysis module, or continue with TaxonTableTools2

Project folder

APSCALE_projects/
├── APSCALE_databases/
├── APSCALE_tagging_schemes/
├── APSCALE_primersets/
└── My_project_apscale/
    ├── 01_raw_data/data             <- non-demultiplexed raw data
    ├── 02_demultiplexing/data       <- demultiplexed raw data
    ├── 03_PE_merging/data
    ├── 04_primer_trimming/data
    ├── 05_quality_filtering/data
    ├── 06_dereplication/data
    ├── 07_denoising/data
    ├── 08_swarm_clustering/data
    ├── 09_replicate_merging/data
    ├── 10_nc_removal/data
    ├── 11_read_table/data           <- read tables, FASTA files and taxonomy tables
    ├── 12_analyze/data
    └── Settings_My_project.xlsx
  • Paired-end files are matched by their names: both files of a pair must have the same name and differ only in the read number (e.g. Sample1_R1.fastq.gz and Sample1_R2.fastq.gz, or Sample1_1.fastq.gz and Sample1_2.fastq.gz). Files ending with .fq.gz are detected and can be renamed with one click.
  • Most settings can be left at default. The primer sequences and the minimum and maximum length must be provided for each project. For details on all settings, see the APSCALE manual.
  • For large datasets and large databases (e.g. COI), the BLAST task "megablast" decreases the runtime considerably.

Troubleshooting

Problem Solution
ModuleNotFoundError: No module named 'apscale....' or ImportError: cannot import name '...' from 'boldigger3' The installed packages do not fit together. Update all packages at once (see Installation) or run the APSCALE installer again.
ModuleNotFoundError: No module named '...' (e.g. stqdm) Install the missing module in the activated environment: pip install <module name>
pip install apscale-gui does not work Use the package name with underscore: pip install apscale_gui
Errors with conda/Anaconda base libraries (e.g. Intel MKL FATAL ERROR) Do not install into the base environment. Use the apscale4 environment of the APSCALE installer.
Settings or result tables cannot be written Close the Excel file (e.g. the settings file) before you start a run.
vsearch, swarm or blastn is missing Run the APSCALE installer again, or install the tools manually and add them to your PATH.

Databases

Pre-compiled databases for APSCALE-blast are available here and are updated regularly. They are stored in APSCALE_projects/APSCALE_databases. Each database folder contains a citation.txt.

Citation

If you use APSCALE, please cite:

Please also cite the programs and data you used:

Reporting issues

Please open an issue or contact me via email (macher@uni-trier.de).

Metadata

Release files for apscale-gui 4.0.4

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

Source distribution (sdist)

Source distribution for apscale-gui 4.0.4
File Size Uploaded Provenance Actions
apscale_gui-4.0.4.tar.gz 35.6 kB Without provenance Details for apscale_gui-4.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for apscale-gui 4.0.4
File Interpreter ABI Platform Actions
apscale_gui-4.0.4-py3-none-any.whl Python 3 none any Details for apscale_gui-4.0.4-py3-none-any.whl

Total release size: 67.8 kB

Release files / apscale_gui-4.0.4.tar.gz

Download URL apscale_gui-4.0.4.tar.gz
Size 35.6 kB
Tags Source
SHA-256 checksum
How to use checksums
155358545f4a7f84981be587e664eaf2ece84c8fe033242f8af7b36942bde516
BLAKE2b-256 checksum
How to use checksums
c18a0fba9c27ee8051f937e1b3e2440789104e7a3cc199e7fe113c323c15c9d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.4

Release files / apscale_gui-4.0.4-py3-none-any.whl

Download URL apscale_gui-4.0.4-py3-none-any.whl
Size 32.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a0a85068823a25803be27926d0352df4e844d10c8e80daa0da6716a9d8c69a39
BLAKE2b-256 checksum
How to use checksums
a2851feb7f6a6a7950fc829ca8eecd573584f32aafa7d916cc9b45e91c711bd9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.4

Security for apscale-gui 4.0.4

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.

Release history Release notifications | RSS feed

This release

4.0.4 This release

2 release files No provenance

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