APSCALE-GUI
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
- 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 to01_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
- APSCALE-BLAST: BLAST your OTUs/ESVs against a local database. 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.gzandSample1_R2.fastq.gz, orSample1_1.fastq.gzandSample1_2.fastq.gz). Files ending with.fq.gzare 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:
- APSCALE: Buchner, Macher & Leese (2022) Bioinformatics 38: 4817–4819. https://doi.org/10.1093/bioinformatics/btac588
Please also cite the programs and data you used:
- cutadapt: Martin (2011) EMBnet.journal 17: 10–12. https://doi.org/10.14806/ej.17.1.200
- VSEARCH: Rognes et al. (2016) PeerJ 4: e2584. https://doi.org/10.7717/peerj.2584
- SWARM: Mahé et al. (2022) Bioinformatics 38: 267–269. https://doi.org/10.1093/bioinformatics/btab493
- BLAST+: Camacho et al. (2009) BMC Bioinformatics 10: 421. https://doi.org/10.1186/1471-2105-10-421
- BOLDigger: Buchner & Leese (2020) Metabarcoding and Metagenomics 4: e53535. https://doi.org/10.3897/mbmg.4.53535
- Databases: see the
citation.txtin the database folder and the APSCALE-blast citations
Reporting issues
Please open an issue or contact me via email (macher@uni-trier.de).
Metadata
Release files for apscale-gui 4.0.2
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 |
|---|---|---|---|---|
| apscale_gui-4.0.2.tar.gz | 28.0 kB | Without provenance | Details for apscale_gui-4.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| apscale_gui-4.0.2-py3-none-any.whl | Python 3 | none | any | Details for apscale_gui-4.0.2-py3-none-any.whl |
Total release size: 53.1 kB
Release files / apscale_gui-4.0.2.tar.gz
| Download URL | apscale_gui-4.0.2.tar.gz |
|---|---|
| Size | 28.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f514f67b16fe26cf2128d1a1c36557679fd21b037a7822a341b61f26cf69c626
|
|
BLAKE2b-256 checksum How to use checksums |
5c05032c3156b427c45acee32a6ce7509ad8f0507335adb7378bd14699f79bc3
|
| 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.2-py3-none-any.whl
| Download URL | apscale_gui-4.0.2-py3-none-any.whl |
|---|---|
| Size | 25.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
52852ae0e3b947ff42b5f903f1f392a823815caec22af337aa26d9841a1c1df7
|
|
BLAKE2b-256 checksum How to use checksums |
edf8510c5f7463c9d61f003c317323b1510efa2a4896983a5a3dae41d680de8c
|
| 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.2
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.