Skip to content

Commit 7498fdc

Browse files
authored
MRG: subsearch & refactoring (#17)
* WIP: more cleanup, refactoring, and upgrades * prepare for multiple databases * split out upload functionality * cleanup * refactor * cleanup * refactor * comments * use url_for properly * mostly working * subsearch flat * add tests, plants, download * fix path * add test files * override .gitignore in places * turn off messages * upd plants * add subsearch check * bump version * update README
1 parent 1715bf2 commit 7498fdc

23 files changed

+659
-169
lines changed

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,11 @@ dist:
66
black:
77
python -m black chill_filter_web
88

9+
dbzip:
10+
cd prepare-db && zip -r ../chill-filter-db.zip outputs/* \
11+
downloads/gtdb-rs220-phylum.sig.zip \
12+
downloads/genbank-plants-2024.07.k51.s100_000.sig.zip \
13+
downloads/podar-ref.sig.zip
14+
915
test:
1016
pytest

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ conda activate chill
1919
2. Download the databases from [the Open Science Framework project](https://osf.io/m85ux/), and unpack them into `prepare-db/outputs/`.
2020

2121
```
22-
curl -JLO https://osf.io/download/bzu3v/
23-
unzip -d prepare-db/ -nu chill-filter-db-0.2.zip
22+
curl -JLO https://osf.io/download/5fw2v/
23+
unzip -d prepare-db/ -nu chill-filter-db-0.4.zip
2424
```
2525

2626
3. Run snakemake in the `sample-db/` directory to index the databases. It should take a few minutes at most.
@@ -38,4 +38,4 @@ python -m chill_filter_web -p 5000
3838

3939
This will start a server at http://localhost:5000/
4040

41-
5. Try uploading some FASTQ or FASTA files, or checkout the examples!
41+
5. Try uploading some FASTQ or FASTA files, or check out the examples!

0 commit comments

Comments
 (0)