apscale-gui 3.4.0__tar.gz → 4.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- apscale_gui-4.0.2/PKG-INFO +169 -0
- apscale_gui-4.0.2/README.md +116 -0
- apscale_gui-4.0.2/apscale_gui/__main__.py +28 -0
- apscale_gui-4.0.2/apscale_gui/apscale_gui.py +1484 -0
- apscale_gui-4.0.2/apscale_gui.egg-info/PKG-INFO +169 -0
- {apscale_gui-3.4.0 → apscale_gui-4.0.2}/apscale_gui.egg-info/requires.txt +8 -2
- {apscale_gui-3.4.0 → apscale_gui-4.0.2}/setup.py +10 -4
- apscale_gui-3.4.0/PKG-INFO +0 -217
- apscale_gui-3.4.0/README.md +0 -170
- apscale_gui-3.4.0/apscale_gui/__main__.py +0 -16
- apscale_gui-3.4.0/apscale_gui/apscale_gui.py +0 -1276
- apscale_gui-3.4.0/apscale_gui.egg-info/PKG-INFO +0 -217
- {apscale_gui-3.4.0 → apscale_gui-4.0.2}/LICENSE +0 -0
- {apscale_gui-3.4.0 → apscale_gui-4.0.2}/MANIFEST.in +0 -0
- {apscale_gui-3.4.0 → apscale_gui-4.0.2}/apscale_gui/__init__.py +0 -0
- {apscale_gui-3.4.0 → apscale_gui-4.0.2}/apscale_gui/_user_data/.DS_Store +0 -0
- {apscale_gui-3.4.0 → apscale_gui-4.0.2}/apscale_gui/_user_data/user_data.txt +0 -0
- {apscale_gui-3.4.0 → apscale_gui-4.0.2}/apscale_gui.egg-info/SOURCES.txt +0 -0
- {apscale_gui-3.4.0 → apscale_gui-4.0.2}/apscale_gui.egg-info/dependency_links.txt +0 -0
- {apscale_gui-3.4.0 → apscale_gui-4.0.2}/apscale_gui.egg-info/entry_points.txt +0 -0
- {apscale_gui-3.4.0 → apscale_gui-4.0.2}/apscale_gui.egg-info/top_level.txt +0 -0
- {apscale_gui-3.4.0 → apscale_gui-4.0.2}/setup.cfg +0 -0
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: apscale_gui
|
|
3
|
+
Version: 4.0.2
|
|
4
|
+
Summary: Advanced Pipeline for Simple yet Comprehensive AnaLysEs of DNA metabarcoding data - Graphical User Interface
|
|
5
|
+
Home-page: https://github.com/TillMacher/apscale_gui
|
|
6
|
+
Author: Till-Hendrik Macher
|
|
7
|
+
Author-email: macher@uni-trier.de
|
|
8
|
+
License: MIT
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
11
|
+
Classifier: Operating System :: OS Independent
|
|
12
|
+
Requires-Python: >=3.12
|
|
13
|
+
Description-Content-Type: text/markdown
|
|
14
|
+
License-File: LICENSE
|
|
15
|
+
Requires-Dist: apscale>=4.1.4
|
|
16
|
+
Requires-Dist: apscale_blast>=3.0.0
|
|
17
|
+
Requires-Dist: boldigger3>=3.0.3
|
|
18
|
+
Requires-Dist: demultiplexer3>=1.0.1
|
|
19
|
+
Requires-Dist: ete3>=3.1.3
|
|
20
|
+
Requires-Dist: lxml_html_clean>=0.4.2
|
|
21
|
+
Requires-Dist: playwright>=1.54.0
|
|
22
|
+
Requires-Dist: pandas>=2.3.1
|
|
23
|
+
Requires-Dist: numpy>=2.3.2
|
|
24
|
+
Requires-Dist: streamlit>=1.48.1
|
|
25
|
+
Requires-Dist: streamlit-file-browser>=3.2.22
|
|
26
|
+
Requires-Dist: scipy>=1.16.1
|
|
27
|
+
Requires-Dist: cutadapt>=5.1
|
|
28
|
+
Requires-Dist: update-checker>=0.18.0
|
|
29
|
+
Requires-Dist: update_checker
|
|
30
|
+
Requires-Dist: powerlaw>=1.5
|
|
31
|
+
Requires-Dist: requests>=2.32.3
|
|
32
|
+
Requires-Dist: beautifulsoup4>=4.13.4
|
|
33
|
+
Requires-Dist: lxml>=6.0.0
|
|
34
|
+
Requires-Dist: asyncio>=4.0.0
|
|
35
|
+
Requires-Dist: stqdm>=0.0.5
|
|
36
|
+
Requires-Dist: pycountry>=24.6.1
|
|
37
|
+
Requires-Dist: six>=1.16.0
|
|
38
|
+
Requires-Dist: duckdb>=1.3.2
|
|
39
|
+
Requires-Dist: openpyxl>=3.1.1
|
|
40
|
+
Requires-Dist: tqdm>=4.66.4
|
|
41
|
+
Requires-Dist: requests_html>=0.10.0
|
|
42
|
+
Dynamic: author
|
|
43
|
+
Dynamic: author-email
|
|
44
|
+
Dynamic: classifier
|
|
45
|
+
Dynamic: description
|
|
46
|
+
Dynamic: description-content-type
|
|
47
|
+
Dynamic: home-page
|
|
48
|
+
Dynamic: license
|
|
49
|
+
Dynamic: license-file
|
|
50
|
+
Dynamic: requires-dist
|
|
51
|
+
Dynamic: requires-python
|
|
52
|
+
Dynamic: summary
|
|
53
|
+
|
|
54
|
+
# APSCALE-GUI
|
|
55
|
+
|
|
56
|
+
[](https://pepy.tech/project/apscale-gui)
|
|
57
|
+
|
|
58
|
+
Graphical user interface for the DNA metabarcoding pipeline [APSCALE](https://github.com/DominikBuchner/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](https://github.com/TillMacher/apscale_blast) or [BOLDigger3](https://github.com/DominikBuchner/BOLDigger3).
|
|
59
|
+
|
|
60
|
+
* **Input:** paired-end sequencing data (`.fastq.gz`), demultiplexed or not
|
|
61
|
+
* **Output:** read tables (`.xlsx`/`.parquet`), sequences (`.fasta`) and taxonomy tables (`.xlsx`) in your project folder, ready for [TaxonTableTools2](https://github.com/TillMacher/TaxonTableTools2). APSCALE always creates both ESVs (denoised sequences) and OTUs (sequence groups, clustered with the sequence group threshold, default 97%)
|
|
62
|
+
|
|
63
|
+
## Installation
|
|
64
|
+
|
|
65
|
+
The easiest way is the conda environment of the [APSCALE installer](https://github.com/TillMacher/apscale_installer), which installs APSCALE-GUI and all its dependencies (APSCALE, APSCALE-blast, BOLDigger3, Demultiplexer3, cutadapt, VSEARCH, SWARM, BLAST+).
|
|
66
|
+
|
|
67
|
+
Alternatively, install via pip (Python ≥ 3.12):
|
|
68
|
+
|
|
69
|
+
```
|
|
70
|
+
pip install apscale_gui
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
With pip, [VSEARCH](https://github.com/torognes/vsearch), [SWARM](https://github.com/torognes/swarm) and [BLAST+](https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/LATEST/) must be installed separately and be available in your PATH. APSCALE-GUI checks whether they are installed and tells you what is missing.
|
|
74
|
+
|
|
75
|
+
To update, always update all packages together (mixing old and new versions leads to import errors):
|
|
76
|
+
|
|
77
|
+
```
|
|
78
|
+
pip install --upgrade apscale_gui apscale apscale_blast boldigger3 demultiplexer3
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
Or simply run the [APSCALE installer](https://github.com/TillMacher/apscale_installer) again.
|
|
82
|
+
|
|
83
|
+
**Note:** projects created with APSCALE v3 or older are not compatible with APSCALE v4. Please create a new project.
|
|
84
|
+
|
|
85
|
+
## Usage
|
|
86
|
+
|
|
87
|
+
```
|
|
88
|
+
conda activate apscale4
|
|
89
|
+
apscale_gui
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
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.
|
|
93
|
+
|
|
94
|
+
### Pages
|
|
95
|
+
|
|
96
|
+
**Start**
|
|
97
|
+
* **Home:** overview of the active project (raw files, demultiplexed files, FASTA files, databases), installed tools and package versions, links, tutorials and citations
|
|
98
|
+
|
|
99
|
+
**Raw Data Processing**
|
|
100
|
+
* **Demultiplexing:** demultiplex raw data with [Demultiplexer3](https://github.com/DominikBuchner/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`
|
|
101
|
+
* **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
|
|
102
|
+
|
|
103
|
+
**Taxonomic Assignment**
|
|
104
|
+
* **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)
|
|
105
|
+
* **BOLDigger3:** taxonomic assignment against the [BOLD Systems](https://boldsystems.org/) database. The local BOLD database file is downloaded with your BOLD account
|
|
106
|
+
|
|
107
|
+
**Downstream**
|
|
108
|
+
* **Data Analysis:** open the APSCALE analysis module, or continue with [TaxonTableTools2](https://github.com/TillMacher/TaxonTableTools2)
|
|
109
|
+
|
|
110
|
+
### Project folder
|
|
111
|
+
|
|
112
|
+
```
|
|
113
|
+
APSCALE_projects/
|
|
114
|
+
├── APSCALE_databases/
|
|
115
|
+
├── APSCALE_tagging_schemes/
|
|
116
|
+
├── APSCALE_primersets/
|
|
117
|
+
└── My_project_apscale/
|
|
118
|
+
├── 01_raw_data/data <- non-demultiplexed raw data
|
|
119
|
+
├── 02_demultiplexing/data <- demultiplexed raw data
|
|
120
|
+
├── 03_PE_merging/data
|
|
121
|
+
├── 04_primer_trimming/data
|
|
122
|
+
├── 05_quality_filtering/data
|
|
123
|
+
├── 06_dereplication/data
|
|
124
|
+
├── 07_denoising/data
|
|
125
|
+
├── 08_swarm_clustering/data
|
|
126
|
+
├── 09_replicate_merging/data
|
|
127
|
+
├── 10_nc_removal/data
|
|
128
|
+
├── 11_read_table/data <- read tables, FASTA files and taxonomy tables
|
|
129
|
+
├── 12_analyze/data
|
|
130
|
+
└── Settings_My_project.xlsx
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
* 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.
|
|
134
|
+
* 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](https://github.com/DominikBuchner/apscale/blob/main/manual/apscale_manual.pdf).
|
|
135
|
+
* For large datasets and large databases (e.g. COI), the BLAST task "megablast" decreases the runtime considerably.
|
|
136
|
+
|
|
137
|
+
## Troubleshooting
|
|
138
|
+
|
|
139
|
+
| Problem | Solution |
|
|
140
|
+
|---|---|
|
|
141
|
+
| `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](#installation)) or run the APSCALE installer again. |
|
|
142
|
+
| `ModuleNotFoundError: No module named '...'` (e.g. `stqdm`) | Install the missing module in the activated environment: `pip install <module name>` |
|
|
143
|
+
| `pip install apscale-gui` does not work | Use the package name with underscore: `pip install apscale_gui` |
|
|
144
|
+
| 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](https://github.com/TillMacher/apscale_installer). |
|
|
145
|
+
| Settings or result tables cannot be written | Close the Excel file (e.g. the settings file) before you start a run. |
|
|
146
|
+
| vsearch, swarm or blastn is missing | Run the [APSCALE installer](https://github.com/TillMacher/apscale_installer) again, or install the tools manually and add them to your PATH. |
|
|
147
|
+
|
|
148
|
+
## Databases
|
|
149
|
+
|
|
150
|
+
Pre-compiled databases for APSCALE-blast are [available here](https://seafile.rlp.net/d/c172d076de1e4c45b594/) and are updated regularly. They are stored in `APSCALE_projects/APSCALE_databases`. Each database folder contains a `citation.txt`.
|
|
151
|
+
|
|
152
|
+
## Citation
|
|
153
|
+
|
|
154
|
+
If you use APSCALE, please cite:
|
|
155
|
+
|
|
156
|
+
* **APSCALE:** Buchner, Macher & Leese (2022) Bioinformatics 38: 4817–4819. https://doi.org/10.1093/bioinformatics/btac588
|
|
157
|
+
|
|
158
|
+
Please also cite the programs and data you used:
|
|
159
|
+
|
|
160
|
+
* **cutadapt:** Martin (2011) EMBnet.journal 17: 10–12. https://doi.org/10.14806/ej.17.1.200
|
|
161
|
+
* **VSEARCH:** Rognes et al. (2016) PeerJ 4: e2584. https://doi.org/10.7717/peerj.2584
|
|
162
|
+
* **SWARM:** Mahé et al. (2022) Bioinformatics 38: 267–269. https://doi.org/10.1093/bioinformatics/btab493
|
|
163
|
+
* **BLAST+:** Camacho et al. (2009) BMC Bioinformatics 10: 421. https://doi.org/10.1186/1471-2105-10-421
|
|
164
|
+
* **BOLDigger:** Buchner & Leese (2020) Metabarcoding and Metagenomics 4: e53535. https://doi.org/10.3897/mbmg.4.53535
|
|
165
|
+
* **Databases:** see the `citation.txt` in the database folder and the [APSCALE-blast citations](https://github.com/TillMacher/apscale_blast#citation)
|
|
166
|
+
|
|
167
|
+
## Reporting issues
|
|
168
|
+
|
|
169
|
+
Please open an [issue](https://github.com/TillMacher/apscale_gui/issues) or contact me via email (macher@uni-trier.de).
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
# APSCALE-GUI
|
|
2
|
+
|
|
3
|
+
[](https://pepy.tech/project/apscale-gui)
|
|
4
|
+
|
|
5
|
+
Graphical user interface for the DNA metabarcoding pipeline [APSCALE](https://github.com/DominikBuchner/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](https://github.com/TillMacher/apscale_blast) or [BOLDigger3](https://github.com/DominikBuchner/BOLDigger3).
|
|
6
|
+
|
|
7
|
+
* **Input:** paired-end sequencing data (`.fastq.gz`), demultiplexed or not
|
|
8
|
+
* **Output:** read tables (`.xlsx`/`.parquet`), sequences (`.fasta`) and taxonomy tables (`.xlsx`) in your project folder, ready for [TaxonTableTools2](https://github.com/TillMacher/TaxonTableTools2). APSCALE always creates both ESVs (denoised sequences) and OTUs (sequence groups, clustered with the sequence group threshold, default 97%)
|
|
9
|
+
|
|
10
|
+
## Installation
|
|
11
|
+
|
|
12
|
+
The easiest way is the conda environment of the [APSCALE installer](https://github.com/TillMacher/apscale_installer), which installs APSCALE-GUI and all its dependencies (APSCALE, APSCALE-blast, BOLDigger3, Demultiplexer3, cutadapt, VSEARCH, SWARM, BLAST+).
|
|
13
|
+
|
|
14
|
+
Alternatively, install via pip (Python ≥ 3.12):
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
pip install apscale_gui
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
With pip, [VSEARCH](https://github.com/torognes/vsearch), [SWARM](https://github.com/torognes/swarm) and [BLAST+](https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/LATEST/) must be installed separately and be available in your PATH. APSCALE-GUI checks whether they are installed and tells you what is missing.
|
|
21
|
+
|
|
22
|
+
To update, always update all packages together (mixing old and new versions leads to import errors):
|
|
23
|
+
|
|
24
|
+
```
|
|
25
|
+
pip install --upgrade apscale_gui apscale apscale_blast boldigger3 demultiplexer3
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Or simply run the [APSCALE installer](https://github.com/TillMacher/apscale_installer) again.
|
|
29
|
+
|
|
30
|
+
**Note:** projects created with APSCALE v3 or older are not compatible with APSCALE v4. Please create a new project.
|
|
31
|
+
|
|
32
|
+
## Usage
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
conda activate apscale4
|
|
36
|
+
apscale_gui
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
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.
|
|
40
|
+
|
|
41
|
+
### Pages
|
|
42
|
+
|
|
43
|
+
**Start**
|
|
44
|
+
* **Home:** overview of the active project (raw files, demultiplexed files, FASTA files, databases), installed tools and package versions, links, tutorials and citations
|
|
45
|
+
|
|
46
|
+
**Raw Data Processing**
|
|
47
|
+
* **Demultiplexing:** demultiplex raw data with [Demultiplexer3](https://github.com/DominikBuchner/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`
|
|
48
|
+
* **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
|
|
49
|
+
|
|
50
|
+
**Taxonomic Assignment**
|
|
51
|
+
* **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)
|
|
52
|
+
* **BOLDigger3:** taxonomic assignment against the [BOLD Systems](https://boldsystems.org/) database. The local BOLD database file is downloaded with your BOLD account
|
|
53
|
+
|
|
54
|
+
**Downstream**
|
|
55
|
+
* **Data Analysis:** open the APSCALE analysis module, or continue with [TaxonTableTools2](https://github.com/TillMacher/TaxonTableTools2)
|
|
56
|
+
|
|
57
|
+
### Project folder
|
|
58
|
+
|
|
59
|
+
```
|
|
60
|
+
APSCALE_projects/
|
|
61
|
+
├── APSCALE_databases/
|
|
62
|
+
├── APSCALE_tagging_schemes/
|
|
63
|
+
├── APSCALE_primersets/
|
|
64
|
+
└── My_project_apscale/
|
|
65
|
+
├── 01_raw_data/data <- non-demultiplexed raw data
|
|
66
|
+
├── 02_demultiplexing/data <- demultiplexed raw data
|
|
67
|
+
├── 03_PE_merging/data
|
|
68
|
+
├── 04_primer_trimming/data
|
|
69
|
+
├── 05_quality_filtering/data
|
|
70
|
+
├── 06_dereplication/data
|
|
71
|
+
├── 07_denoising/data
|
|
72
|
+
├── 08_swarm_clustering/data
|
|
73
|
+
├── 09_replicate_merging/data
|
|
74
|
+
├── 10_nc_removal/data
|
|
75
|
+
├── 11_read_table/data <- read tables, FASTA files and taxonomy tables
|
|
76
|
+
├── 12_analyze/data
|
|
77
|
+
└── Settings_My_project.xlsx
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
* 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.
|
|
81
|
+
* 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](https://github.com/DominikBuchner/apscale/blob/main/manual/apscale_manual.pdf).
|
|
82
|
+
* For large datasets and large databases (e.g. COI), the BLAST task "megablast" decreases the runtime considerably.
|
|
83
|
+
|
|
84
|
+
## Troubleshooting
|
|
85
|
+
|
|
86
|
+
| Problem | Solution |
|
|
87
|
+
|---|---|
|
|
88
|
+
| `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](#installation)) or run the APSCALE installer again. |
|
|
89
|
+
| `ModuleNotFoundError: No module named '...'` (e.g. `stqdm`) | Install the missing module in the activated environment: `pip install <module name>` |
|
|
90
|
+
| `pip install apscale-gui` does not work | Use the package name with underscore: `pip install apscale_gui` |
|
|
91
|
+
| 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](https://github.com/TillMacher/apscale_installer). |
|
|
92
|
+
| Settings or result tables cannot be written | Close the Excel file (e.g. the settings file) before you start a run. |
|
|
93
|
+
| vsearch, swarm or blastn is missing | Run the [APSCALE installer](https://github.com/TillMacher/apscale_installer) again, or install the tools manually and add them to your PATH. |
|
|
94
|
+
|
|
95
|
+
## Databases
|
|
96
|
+
|
|
97
|
+
Pre-compiled databases for APSCALE-blast are [available here](https://seafile.rlp.net/d/c172d076de1e4c45b594/) and are updated regularly. They are stored in `APSCALE_projects/APSCALE_databases`. Each database folder contains a `citation.txt`.
|
|
98
|
+
|
|
99
|
+
## Citation
|
|
100
|
+
|
|
101
|
+
If you use APSCALE, please cite:
|
|
102
|
+
|
|
103
|
+
* **APSCALE:** Buchner, Macher & Leese (2022) Bioinformatics 38: 4817–4819. https://doi.org/10.1093/bioinformatics/btac588
|
|
104
|
+
|
|
105
|
+
Please also cite the programs and data you used:
|
|
106
|
+
|
|
107
|
+
* **cutadapt:** Martin (2011) EMBnet.journal 17: 10–12. https://doi.org/10.14806/ej.17.1.200
|
|
108
|
+
* **VSEARCH:** Rognes et al. (2016) PeerJ 4: e2584. https://doi.org/10.7717/peerj.2584
|
|
109
|
+
* **SWARM:** Mahé et al. (2022) Bioinformatics 38: 267–269. https://doi.org/10.1093/bioinformatics/btab493
|
|
110
|
+
* **BLAST+:** Camacho et al. (2009) BMC Bioinformatics 10: 421. https://doi.org/10.1186/1471-2105-10-421
|
|
111
|
+
* **BOLDigger:** Buchner & Leese (2020) Metabarcoding and Metagenomics 4: e53535. https://doi.org/10.3897/mbmg.4.53535
|
|
112
|
+
* **Databases:** see the `citation.txt` in the database folder and the [APSCALE-blast citations](https://github.com/TillMacher/apscale_blast#citation)
|
|
113
|
+
|
|
114
|
+
## Reporting issues
|
|
115
|
+
|
|
116
|
+
Please open an [issue](https://github.com/TillMacher/apscale_gui/issues) or contact me via email (macher@uni-trier.de).
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import subprocess
|
|
2
|
+
import sys
|
|
3
|
+
import os
|
|
4
|
+
|
|
5
|
+
def main():
|
|
6
|
+
# Determine theme
|
|
7
|
+
theme = "light" # default
|
|
8
|
+
if len(sys.argv) > 1:
|
|
9
|
+
if sys.argv[1].lower() in ["dark", "light"]:
|
|
10
|
+
theme = sys.argv[1].lower()
|
|
11
|
+
|
|
12
|
+
try:
|
|
13
|
+
script_dir = os.path.dirname(os.path.abspath(__file__))
|
|
14
|
+
script_path = os.path.join(script_dir, 'apscale_gui.py')
|
|
15
|
+
|
|
16
|
+
print(f"Starting APSCALE-GUI in {theme} mode. Press CTRL + C to exit.")
|
|
17
|
+
subprocess.run([
|
|
18
|
+
'streamlit', 'run', script_path,
|
|
19
|
+
'--theme.base', theme,
|
|
20
|
+
'--server.address', 'localhost'
|
|
21
|
+
])
|
|
22
|
+
|
|
23
|
+
except KeyboardInterrupt:
|
|
24
|
+
print("Exiting...")
|
|
25
|
+
sys.exit()
|
|
26
|
+
|
|
27
|
+
if __name__ == "__main__":
|
|
28
|
+
main()
|