Skip to content

Commit

Permalink
Update to 2022.8
Browse files Browse the repository at this point in the history
  • Loading branch information
colinbrislawn committed Sep 12, 2022
1 parent e1f277e commit f68a62c
Show file tree
Hide file tree
Showing 3 changed files with 460 additions and 5 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Run:
snakemake --cores 8 --use-conda --conda-create-envs-only
# Connect to a worker node, if needed, then
snakemake --cores 8 --use-conda --resources mem_mb=9000
# This takes about 11 hours on my machine
```

Reports:
Expand Down
10 changes: 5 additions & 5 deletions workflow/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ from snakemake.io import glob_wildcards, expand

configfile: "config/config.yaml"

GOALS = expand("results/unite_{ver}_{id}_{type}{date}-Q2-2022.2.qza",ver=config["version"], id=config["cluster"], type=config["type"], date=config["date"])
GOALS = expand("results/unite_{ver}_{id}_{type}{date}-Q2-2022.8.qza",ver=config["version"], id=config["cluster"], type=config["type"], date=config["date"])
# print(GOALS)

rule all:
Expand Down Expand Up @@ -53,7 +53,7 @@ rule import_seqs:
input: "results/sh_refs_qiime_{ver}_{id}_{type}{date}_dev.fixed.fasta"
output: temp("results/sh_refs_qiime_{ver}_{id}_{type}{date}_dev.qza")
log: "logs/import_seqs_{ver}_{id}_{type}{date}.log"
conda: "envs/qiime2-2021.11-py38-linux-conda.yml"
conda: "envs/qiime2-2022.8-py38-linux-conda.yml"
shell: "qiime tools import --type FeatureData[Sequence] \
--input-path {input} \
--output-path {output}"
Expand All @@ -62,7 +62,7 @@ rule import_tax:
input: "downloads"
output:temp("results/sh_taxa_qiime_{ver}_{id}_{type}{date}_dev.qza")
log: "logs/import_taxa_{ver}_{id}_{type}{date}.log"
conda: "envs/qiime2-2021.11-py38-linux-conda.yml"
conda: "envs/qiime2-2022.8-py38-linux-conda.yml"
shell: "qiime tools import --type FeatureData[Taxonomy] \
--input-format HeaderlessTSVTaxonomyFormat \
--input-path {input}/sh_taxonomy_qiime_{wildcards.ver}_{wildcards.id}_{wildcards.type}{wildcards.date}_dev.txt \
Expand All @@ -72,9 +72,9 @@ rule train:
input:
ref=rules.import_seqs.output,
tax=rules.import_tax.output
output: protected("results/unite_{ver}_{id}_{type}{date}-Q2-2022.2.qza")
output: protected("results/unite_{ver}_{id}_{type}{date}-Q2-2022.8.qza")
log: "logs/train_{ver}_{id}_{type}{date}.log"
conda: "envs/qiime2-2022.2-py38-linux-conda.yml"
conda: "envs/qiime2-2022.8-py38-linux-conda.yml"
benchmark: "logs/train_{ver}_{id}_{type}{date}.tsv"
resources:
mem_mb=9000
Expand Down
Loading

0 comments on commit f68a62c

Please sign in to comment.