mgnify-pipelines-toolkit 1.0.3__tar.gz → 1.0.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of mgnify-pipelines-toolkit might be problematic. Click here for more details.

Files changed (58) hide show
  1. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/PKG-INFO +19 -27
  2. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/README.md +2 -1
  3. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/analysis/assembly/add_rhea_chebi_annotation.py +5 -1
  4. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/analysis/assembly/krona_txt_from_cat_classification.py +13 -9
  5. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/analysis/shared/get_subunits.py +1 -1
  6. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit.egg-info/PKG-INFO +19 -27
  7. mgnify_pipelines_toolkit-1.0.4/mgnify_pipelines_toolkit.egg-info/requires.txt +20 -0
  8. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/pyproject.toml +17 -26
  9. mgnify_pipelines_toolkit-1.0.3/mgnify_pipelines_toolkit.egg-info/requires.txt +0 -29
  10. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/LICENSE +0 -0
  11. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/__init__.py +0 -0
  12. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/analysis/__init__.py +0 -0
  13. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/analysis/amplicon/amplicon_utils.py +0 -0
  14. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/analysis/amplicon/are_there_primers.py +0 -0
  15. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/analysis/amplicon/assess_inflection_point_mcp.py +0 -0
  16. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/analysis/amplicon/assess_mcp_proportions.py +0 -0
  17. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/analysis/amplicon/classify_var_regions.py +0 -0
  18. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/analysis/amplicon/find_mcp_inflection_points.py +0 -0
  19. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/analysis/amplicon/make_asv_count_table.py +0 -0
  20. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/analysis/amplicon/mapseq_to_asv_table.py +0 -0
  21. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/analysis/amplicon/primer_val_classification.py +0 -0
  22. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/analysis/amplicon/remove_ambiguous_reads.py +0 -0
  23. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/analysis/amplicon/rev_comp_se_primers.py +0 -0
  24. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/analysis/amplicon/standard_primer_matching.py +0 -0
  25. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/analysis/assembly/antismash_gff_builder.py +0 -0
  26. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/analysis/assembly/combined_gene_caller_merge.py +0 -0
  27. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/analysis/assembly/generate_gaf.py +0 -0
  28. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/analysis/assembly/gff_annotation_utils.py +0 -0
  29. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/analysis/assembly/gff_file_utils.py +0 -0
  30. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/analysis/assembly/gff_toolkit.py +0 -0
  31. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/analysis/assembly/go_utils.py +0 -0
  32. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/analysis/assembly/summarise_goslims.py +0 -0
  33. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/analysis/genomes/__init__.py +0 -0
  34. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/analysis/shared/__init__.py +0 -0
  35. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/analysis/shared/convert_cmscan_to_cmsearch_tblout.py +0 -0
  36. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/analysis/shared/dwc_summary_generator.py +0 -0
  37. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/analysis/shared/fastq_suffix_header_check.py +0 -0
  38. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/analysis/shared/get_subunits_coords.py +0 -0
  39. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/analysis/shared/library_strategy_check.py +0 -0
  40. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/analysis/shared/mapseq2biom.py +0 -0
  41. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/analysis/shared/markergene_study_summary.py +0 -0
  42. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/analysis/shared/study_summary_generator.py +0 -0
  43. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/constants/db_labels.py +0 -0
  44. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/constants/ncrna.py +0 -0
  45. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/constants/regex_ambiguous_bases.py +0 -0
  46. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/constants/regex_fasta_header.py +0 -0
  47. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/constants/tax_ranks.py +0 -0
  48. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/constants/thresholds.py +0 -0
  49. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/constants/var_region_coordinates.py +0 -0
  50. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/schemas/schemas.py +0 -0
  51. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/utils/__init__.py +0 -0
  52. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/utils/fasta_to_delimited.py +0 -0
  53. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit/utils/get_mpt_version.py +0 -0
  54. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit.egg-info/SOURCES.txt +0 -0
  55. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit.egg-info/dependency_links.txt +0 -0
  56. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit.egg-info/entry_points.txt +0 -0
  57. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/mgnify_pipelines_toolkit.egg-info/top_level.txt +0 -0
  58. {mgnify_pipelines_toolkit-1.0.3 → mgnify_pipelines_toolkit-1.0.4}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mgnify_pipelines_toolkit
3
- Version: 1.0.3
3
+ Version: 1.0.4
4
4
  Summary: Collection of scripts and tools for MGnify pipelines
5
5
  Author-email: MGnify team <metagenomics-help@ebi.ac.uk>
6
6
  License: Apache Software License 2.0
@@ -11,33 +11,24 @@ Classifier: Operating System :: OS Independent
11
11
  Requires-Python: >=3.9
12
12
  Description-Content-Type: text/markdown
13
13
  License-File: LICENSE
14
- Requires-Dist: biopython==1.82
15
- Requires-Dist: numpy==1.26.0
16
- Requires-Dist: pandas==2.0.2
17
- Requires-Dist: regex==2023.12.25
18
- Requires-Dist: requests==2.32.3
19
- Requires-Dist: click==8.1.7
20
- Requires-Dist: pandera==0.22.1
21
- Requires-Dist: pyfastx>=2.2.0
22
- Requires-Dist: intervaltree==3.1.0
14
+ Requires-Dist: biopython>=1.85
15
+ Requires-Dist: numpy<3,>=2.2.4
16
+ Requires-Dist: pandas<3,>=2.2.3
17
+ Requires-Dist: regex>=2024.11.6
18
+ Requires-Dist: requests<3,>=2.32.3
19
+ Requires-Dist: click<9,>=8.1.8
20
+ Requires-Dist: pandera<0.24,>=0.23.1
21
+ Requires-Dist: pyfastx<3,>=2.2.0
22
+ Requires-Dist: intervaltree<4,>=3.1.0
23
23
  Provides-Extra: tests
24
- Requires-Dist: pytest==7.4.0; extra == "tests"
25
- Requires-Dist: pytest-md==0.2.0; extra == "tests"
26
- Requires-Dist: pytest-workflow==2.0.1; extra == "tests"
27
- Requires-Dist: biopython==1.82; extra == "tests"
28
- Requires-Dist: pandas==2.0.2; extra == "tests"
29
- Requires-Dist: numpy==1.26.0; extra == "tests"
30
- Requires-Dist: regex==2023.12.25; extra == "tests"
31
- Requires-Dist: requests==2.32.3; extra == "tests"
32
- Requires-Dist: click==8.1.7; extra == "tests"
33
- Requires-Dist: pandera==0.22.1; extra == "tests"
34
- Requires-Dist: pyfastx>=2.2.0; extra == "tests"
24
+ Requires-Dist: pytest<9,>=8.3.5; extra == "tests"
25
+ Requires-Dist: pytest-md>=0.2.0; extra == "tests"
26
+ Requires-Dist: pytest-workflow==2.1.0; extra == "tests"
35
27
  Provides-Extra: dev
36
- Requires-Dist: mgnify_pipelines_toolkit[tests]; extra == "dev"
37
- Requires-Dist: pre-commit==3.8.0; extra == "dev"
38
- Requires-Dist: black==24.8.0; extra == "dev"
39
- Requires-Dist: flake8==7.1.1; extra == "dev"
40
- Requires-Dist: pep8-naming==0.14.1; extra == "dev"
28
+ Requires-Dist: pre-commit>=4.2.0; extra == "dev"
29
+ Requires-Dist: black>=25.1.0; extra == "dev"
30
+ Requires-Dist: flake8>=7.1.2; extra == "dev"
31
+ Requires-Dist: pep8-naming>=0.14.1; extra == "dev"
41
32
  Dynamic: license-file
42
33
 
43
34
  # mgnify-pipelines-toolkit
@@ -74,8 +65,9 @@ Before starting any development, you should do these few steps:
74
65
  - Clone the repo if you haven't already and create a feature branch from the `dev` branch (NOT `main`).
75
66
  - Create a virtual environment with the tool of your choice (i.e. `conda create --name my_new_env`)
76
67
  - Activate you new environment (i.e. `conda activate my_new_env`)
77
- - Install dev dependencies `pip install -e '.[dev]'`
68
+ - Install dev dependencies `pip install -e '.[tests,dev]'`
78
69
  - Install pre-commit hooks `pre-commit install`
70
+ - Run unit tests `pytest`
79
71
 
80
72
  When doing these steps above, you ensure that the code you add will be linted and formatted properly.
81
73
 
@@ -32,8 +32,9 @@ Before starting any development, you should do these few steps:
32
32
  - Clone the repo if you haven't already and create a feature branch from the `dev` branch (NOT `main`).
33
33
  - Create a virtual environment with the tool of your choice (i.e. `conda create --name my_new_env`)
34
34
  - Activate you new environment (i.e. `conda activate my_new_env`)
35
- - Install dev dependencies `pip install -e '.[dev]'`
35
+ - Install dev dependencies `pip install -e '.[tests,dev]'`
36
36
  - Install pre-commit hooks `pre-commit install`
37
+ - Run unit tests `pytest`
37
38
 
38
39
  When doing these steps above, you ensure that the code you add will be linted and formatted properly.
39
40
 
@@ -78,7 +78,11 @@ def main():
78
78
  "--output",
79
79
  required=True,
80
80
  type=Path,
81
- help="Output TSV file with columns: contig_id, protein_id, UniRef90 cluster, rhea_ids, CHEBI reaction participants",
81
+ help=(
82
+ "Output TSV file with columns: contig_id, protein_id, protein hash, "
83
+ "Rhea IDs, CHEBI reaction, reaction definition, 'top hit' if it is "
84
+ "the first hit for the protein"
85
+ ),
82
86
  )
83
87
  parser.add_argument(
84
88
  "-p",
@@ -40,10 +40,12 @@ def import_nodes(nodes_dmp):
40
40
  taxid2rank = {}
41
41
 
42
42
  with open(nodes_dmp) as f1:
43
- reader = csv.reader(f1, delimiter="\t")
44
- for line in reader:
45
- taxid = line[0]
46
- rank = line[4]
43
+ for line in f1:
44
+ fields = [part.strip() for part in line.split("|")]
45
+ if len(fields) != 14:
46
+ raise ValueError(f"Unexpected number of columns in line: {line}")
47
+ taxid = fields[0]
48
+ rank = fields[2]
47
49
  taxid2rank[taxid] = rank
48
50
 
49
51
  return taxid2rank
@@ -54,11 +56,13 @@ def import_names(names_dmp):
54
56
  taxid2name = {}
55
57
 
56
58
  with open(names_dmp, newline="") as f1:
57
- reader = csv.reader(f1, delimiter="\t")
58
- for line in reader:
59
- if line[6] == "scientific name":
60
- taxid = line[0]
61
- name = line[2]
59
+ for line in f1:
60
+ fields = [part.strip() for part in line.split("|")]
61
+ if len(fields) != 5:
62
+ raise ValueError(f"Unexpected number of columns in line: {line}")
63
+ if fields[3] == "scientific name":
64
+ taxid = fields[0]
65
+ name = fields[1]
62
66
  taxid2name[taxid] = name
63
67
 
64
68
  return taxid2name
@@ -108,7 +108,7 @@ def main():
108
108
 
109
109
  open_files = {}
110
110
  for record in SeqIO.parse(args.input, "fasta"):
111
- model = "-".join(record.id.split("/")[0].split("-")[-1:])
111
+ model = "-".join("/".join(record.id.split("/")[:-1]).split("-")[-1:])
112
112
  if model in SSU_MODELS:
113
113
  if SSU not in open_files:
114
114
  file_out = open(pattern_dict[SSU], "w")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mgnify_pipelines_toolkit
3
- Version: 1.0.3
3
+ Version: 1.0.4
4
4
  Summary: Collection of scripts and tools for MGnify pipelines
5
5
  Author-email: MGnify team <metagenomics-help@ebi.ac.uk>
6
6
  License: Apache Software License 2.0
@@ -11,33 +11,24 @@ Classifier: Operating System :: OS Independent
11
11
  Requires-Python: >=3.9
12
12
  Description-Content-Type: text/markdown
13
13
  License-File: LICENSE
14
- Requires-Dist: biopython==1.82
15
- Requires-Dist: numpy==1.26.0
16
- Requires-Dist: pandas==2.0.2
17
- Requires-Dist: regex==2023.12.25
18
- Requires-Dist: requests==2.32.3
19
- Requires-Dist: click==8.1.7
20
- Requires-Dist: pandera==0.22.1
21
- Requires-Dist: pyfastx>=2.2.0
22
- Requires-Dist: intervaltree==3.1.0
14
+ Requires-Dist: biopython>=1.85
15
+ Requires-Dist: numpy<3,>=2.2.4
16
+ Requires-Dist: pandas<3,>=2.2.3
17
+ Requires-Dist: regex>=2024.11.6
18
+ Requires-Dist: requests<3,>=2.32.3
19
+ Requires-Dist: click<9,>=8.1.8
20
+ Requires-Dist: pandera<0.24,>=0.23.1
21
+ Requires-Dist: pyfastx<3,>=2.2.0
22
+ Requires-Dist: intervaltree<4,>=3.1.0
23
23
  Provides-Extra: tests
24
- Requires-Dist: pytest==7.4.0; extra == "tests"
25
- Requires-Dist: pytest-md==0.2.0; extra == "tests"
26
- Requires-Dist: pytest-workflow==2.0.1; extra == "tests"
27
- Requires-Dist: biopython==1.82; extra == "tests"
28
- Requires-Dist: pandas==2.0.2; extra == "tests"
29
- Requires-Dist: numpy==1.26.0; extra == "tests"
30
- Requires-Dist: regex==2023.12.25; extra == "tests"
31
- Requires-Dist: requests==2.32.3; extra == "tests"
32
- Requires-Dist: click==8.1.7; extra == "tests"
33
- Requires-Dist: pandera==0.22.1; extra == "tests"
34
- Requires-Dist: pyfastx>=2.2.0; extra == "tests"
24
+ Requires-Dist: pytest<9,>=8.3.5; extra == "tests"
25
+ Requires-Dist: pytest-md>=0.2.0; extra == "tests"
26
+ Requires-Dist: pytest-workflow==2.1.0; extra == "tests"
35
27
  Provides-Extra: dev
36
- Requires-Dist: mgnify_pipelines_toolkit[tests]; extra == "dev"
37
- Requires-Dist: pre-commit==3.8.0; extra == "dev"
38
- Requires-Dist: black==24.8.0; extra == "dev"
39
- Requires-Dist: flake8==7.1.1; extra == "dev"
40
- Requires-Dist: pep8-naming==0.14.1; extra == "dev"
28
+ Requires-Dist: pre-commit>=4.2.0; extra == "dev"
29
+ Requires-Dist: black>=25.1.0; extra == "dev"
30
+ Requires-Dist: flake8>=7.1.2; extra == "dev"
31
+ Requires-Dist: pep8-naming>=0.14.1; extra == "dev"
41
32
  Dynamic: license-file
42
33
 
43
34
  # mgnify-pipelines-toolkit
@@ -74,8 +65,9 @@ Before starting any development, you should do these few steps:
74
65
  - Clone the repo if you haven't already and create a feature branch from the `dev` branch (NOT `main`).
75
66
  - Create a virtual environment with the tool of your choice (i.e. `conda create --name my_new_env`)
76
67
  - Activate you new environment (i.e. `conda activate my_new_env`)
77
- - Install dev dependencies `pip install -e '.[dev]'`
68
+ - Install dev dependencies `pip install -e '.[tests,dev]'`
78
69
  - Install pre-commit hooks `pre-commit install`
70
+ - Run unit tests `pytest`
79
71
 
80
72
  When doing these steps above, you ensure that the code you add will be linted and formatted properly.
81
73
 
@@ -0,0 +1,20 @@
1
+ biopython>=1.85
2
+ numpy<3,>=2.2.4
3
+ pandas<3,>=2.2.3
4
+ regex>=2024.11.6
5
+ requests<3,>=2.32.3
6
+ click<9,>=8.1.8
7
+ pandera<0.24,>=0.23.1
8
+ pyfastx<3,>=2.2.0
9
+ intervaltree<4,>=3.1.0
10
+
11
+ [dev]
12
+ pre-commit>=4.2.0
13
+ black>=25.1.0
14
+ flake8>=7.1.2
15
+ pep8-naming>=0.14.1
16
+
17
+ [tests]
18
+ pytest<9,>=8.3.5
19
+ pytest-md>=0.2.0
20
+ pytest-workflow==2.1.0
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "mgnify_pipelines_toolkit"
3
- version = "1.0.3"
3
+ version = "1.0.4"
4
4
  readme = "README.md"
5
5
  license = {text = "Apache Software License 2.0"}
6
6
  authors = [
@@ -16,15 +16,15 @@ classifiers = [
16
16
  ]
17
17
 
18
18
  dependencies = [
19
- "biopython==1.82",
20
- "numpy==1.26.0",
21
- "pandas==2.0.2",
22
- "regex==2023.12.25",
23
- "requests==2.32.3",
24
- "click==8.1.7",
25
- "pandera==0.22.1",
26
- "pyfastx>=2.2.0",
27
- "intervaltree==3.1.0",
19
+ "biopython>=1.85",
20
+ "numpy>=2.2.4,<3",
21
+ "pandas>=2.2.3,<3",
22
+ "regex>=2024.11.6",
23
+ "requests>=2.32.3,<3",
24
+ "click>=8.1.8,<9",
25
+ "pandera>=0.23.1,<0.24",
26
+ "pyfastx>=2.2.0,<3",
27
+ "intervaltree>=3.1.0,<4",
28
28
  ]
29
29
 
30
30
  [build-system]
@@ -84,23 +84,14 @@ get_mpt_version = "mgnify_pipelines_toolkit.utils.get_mpt_version:main"
84
84
 
85
85
  [project.optional-dependencies]
86
86
  tests = [
87
- "pytest==7.4.0",
88
- "pytest-md==0.2.0",
89
- "pytest-workflow==2.0.1",
90
- "biopython==1.82",
91
- "pandas==2.0.2",
92
- "numpy==1.26.0",
93
- "regex==2023.12.25",
94
- "requests==2.32.3",
95
- "click==8.1.7",
96
- "pandera==0.22.1",
97
- "pyfastx>=2.2.0"
87
+ "pytest>=8.3.5,<9",
88
+ "pytest-md>=0.2.0",
89
+ "pytest-workflow==2.1.0",
98
90
  ]
99
91
 
100
92
  dev = [
101
- "mgnify_pipelines_toolkit[tests]",
102
- "pre-commit==3.8.0",
103
- "black==24.8.0",
104
- "flake8==7.1.1",
105
- "pep8-naming==0.14.1"
93
+ "pre-commit>=4.2.0",
94
+ "black>=25.1.0",
95
+ "flake8>=7.1.2",
96
+ "pep8-naming>=0.14.1"
106
97
  ]
@@ -1,29 +0,0 @@
1
- biopython==1.82
2
- numpy==1.26.0
3
- pandas==2.0.2
4
- regex==2023.12.25
5
- requests==2.32.3
6
- click==8.1.7
7
- pandera==0.22.1
8
- pyfastx>=2.2.0
9
- intervaltree==3.1.0
10
-
11
- [dev]
12
- mgnify_pipelines_toolkit[tests]
13
- pre-commit==3.8.0
14
- black==24.8.0
15
- flake8==7.1.1
16
- pep8-naming==0.14.1
17
-
18
- [tests]
19
- pytest==7.4.0
20
- pytest-md==0.2.0
21
- pytest-workflow==2.0.1
22
- biopython==1.82
23
- pandas==2.0.2
24
- numpy==1.26.0
25
- regex==2023.12.25
26
- requests==2.32.3
27
- click==8.1.7
28
- pandera==0.22.1
29
- pyfastx>=2.2.0