Skip to content

Commit

Permalink
upd plants
Browse files Browse the repository at this point in the history
  • Loading branch information
ctb committed Dec 24, 2024
1 parent b3e31f2 commit 2331206
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,11 @@ dist:
black:
python -m black chill_filter_web

dbzip:
cd prepare-db && zip -r ../chill-filter-db.zip outputs/* \
downloads/gtdb-rs220-phylum.sig.zip \
downloads/genbank-plants-2024.07.k51.s100_000.sig.zip \
downloads/podar-ref.sig.zip

test:
pytest
11 changes: 10 additions & 1 deletion prepare-db/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ rule plants_animals_and_gtdb:
input:
expand('outputs/{g}.k51.100k.sig.zip', g=GENOMES),
'outputs/all-gtdb-rs220.k51.100k.sig.zip',
'downloads/genbank-plants-merged-2024.07.sig.zip',
'outputs/genbank-plants-merged-2024.07.sig.zip',
output:
'plants+animals+gtdb.mf.csv',
shell: """
Expand Down Expand Up @@ -104,3 +104,12 @@ rule plants_individual_mf:
shell: """
sourmash sig collect -F csv {input} -o {output} --abspath
"""

rule plants_merged_all:
input:
"downloads/genbank-plants-2024.07.k51.s100_000.sig.zip",
output:
"outputs/genbank-plants-merged-2024.07.sig.zip",
shell: """
sourmash sig merge --set-name genbank-plants {input} -o {output}
"""

0 comments on commit 2331206

Please sign in to comment.