Skip to content

Commit

Permalink
Merge pull request #30 from metagenlab/hmp-template
Browse files Browse the repository at this point in the history
Add accessions for hmp-template
  • Loading branch information
farchaab authored Oct 11, 2024
2 parents 82dc0f2 + 72dfab8 commit 1514b00
Show file tree
Hide file tree
Showing 23 changed files with 4,724 additions and 4,906 deletions.
3 changes: 2 additions & 1 deletion mess/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,12 +460,13 @@ def test(**kwargs):
def hmp_template(site, sample, **kwargs):
"""Download and simulate healthy human microbiome templates"""
# Config to add or update in configfile
if sample == None:
if sample is None:
kwargs["input"] = snake_base(os.path.join("data", "hmp_templates", site))
else:
kwargs["input"] = snake_base(
os.path.join("data", "hmp_templates", site, f"{sample}.tsv")
)
kwargs["taxon"] = False
merge_config = {"args": kwargs}
run_snakemake(
# Full path to Snakefile
Expand Down
Loading

0 comments on commit 1514b00

Please sign in to comment.