diff --git a/environment.yml b/environment.yml index 26f6755b..0eb77abc 100644 --- a/environment.yml +++ b/environment.yml @@ -8,7 +8,9 @@ dependencies: - pandas - numpy - ruamel.yaml - - snakemake >=6.10 + - snakemake >=7.0 - openpyxl - natsort - biopython >=1.73 + - seaborn + - matplotlib diff --git a/metapi/__about__.py b/metapi/__about__.py index 11523520..56f89c47 100644 --- a/metapi/__about__.py +++ b/metapi/__about__.py @@ -1,4 +1,4 @@ #!/usr/bin/env python3 -__version__ = '2.1.1' +__version__ = '2.1.2' __author__ = "Jie Zhu, Fangming Yang" diff --git a/metapi/snakefiles/gene_wf.smk b/metapi/snakefiles/gene_wf.smk index 59102684..dfb6a7c2 100644 --- a/metapi/snakefiles/gene_wf.smk +++ b/metapi/snakefiles/gene_wf.smk @@ -3,6 +3,9 @@ import sys import metapi import pandas as pd +from snakemake.utils import min_version + +min_version(7.0) shell.executable("bash") diff --git a/metapi/snakefiles/mag_wf.smk b/metapi/snakefiles/mag_wf.smk index c10d5383..fc7c02ef 100644 --- a/metapi/snakefiles/mag_wf.smk +++ b/metapi/snakefiles/mag_wf.smk @@ -4,6 +4,9 @@ import sys import metapi import pandas as pd from pprint import pprint +from snakemake.utils import min_version + +min_version(7.0) shell.executable("bash") diff --git a/requirements.txt b/requirements.txt index e2f75225..ce53d8c2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,9 @@ numpy pandas openpyxl -snakemake +snakemake >=7.0 ruamel.yaml natsort biopython >=1.73 +seaborn +matplotlib