mgnify-pipelines-toolkit 0.1.5__py3-none-any.whl → 0.1.6__py3-none-any.whl

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.

@@ -77,12 +77,10 @@ def main():
77
77
  'No reverse file given, yet given forward file has the "_1" suffix implying it\'s paired-end. '
78
78
  + "Either supply the reverse file, or supply a single-end file."
79
79
  )
80
- exit(1)
81
80
  elif "_2" not in rev:
82
81
  logging.error(
83
82
  'The expected suffix "_2" for a supplied reverse file is missing. Please verify your inputs.'
84
83
  )
85
- exit(1)
86
84
  else:
87
85
  files_to_parse = [fwd, rev]
88
86
 
@@ -0,0 +1,26 @@
1
+ #!/usr/bin/env python
2
+ # -*- coding: utf-8 -*-
3
+
4
+ # Copyright 2024 EMBL - European Bioinformatics Institute
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ import importlib.metadata
18
+
19
+
20
+ def main():
21
+
22
+ print(importlib.metadata.version("mgnify-pipelines-toolkit"))
23
+
24
+
25
+ if __name__ == "__main__":
26
+ main()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mgnify_pipelines_toolkit
3
- Version: 0.1.5
3
+ Version: 0.1.6
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
@@ -13,7 +13,7 @@ mgnify_pipelines_toolkit/analysis/amplicon/remove_ambiguous_reads.py,sha256=8vwH
13
13
  mgnify_pipelines_toolkit/analysis/amplicon/rev_comp_se_primers.py,sha256=19NgCYE12bEvRBVibhZtZywwRiMdiBUBJjzL4by3_qo,1717
14
14
  mgnify_pipelines_toolkit/analysis/amplicon/standard_primer_matching.py,sha256=RDPsaWKf0wIDwvCHXyRCh2zSJf3y9E7uOhHjaAeX8bY,11099
15
15
  mgnify_pipelines_toolkit/analysis/shared/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
- mgnify_pipelines_toolkit/analysis/shared/fastq_suffix_header_check.py,sha256=t0nleHm45KXsoPTuNOJESfL2DxBWH6bGZJnRxXuCKB4,4061
16
+ mgnify_pipelines_toolkit/analysis/shared/fastq_suffix_header_check.py,sha256=H5ccd1e_e5dk8vhVOvHLK1lknYbRPbnqPjULCYnU0FQ,4021
17
17
  mgnify_pipelines_toolkit/analysis/shared/get_subunits.py,sha256=xT-66JaeVA-jVh6l7PkvKSmMjnU6RsHz7sTiCehG_wk,4771
18
18
  mgnify_pipelines_toolkit/analysis/shared/get_subunits_coords.py,sha256=DTX7S1P_BkGPEeDkbmUn1YoB247hpdNIe5rdFdRYDdA,1929
19
19
  mgnify_pipelines_toolkit/analysis/shared/library_strategy_check.py,sha256=XV1vjkjIHhzouM1k5hu_51XK_mgC_EOOGDN3mx4LOvc,1991
@@ -25,9 +25,10 @@ mgnify_pipelines_toolkit/constants/thresholds.py,sha256=zz8paGQfZAU8tT-RbSGpzZ1A
25
25
  mgnify_pipelines_toolkit/constants/var_region_coordinates.py,sha256=jbOB_bTnW2TRjmdF7IS1A7nNOLt-lGnGyVXUHu0TmvQ,1307
26
26
  mgnify_pipelines_toolkit/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
27
27
  mgnify_pipelines_toolkit/utils/fasta_to_delimited.py,sha256=GbNT7clHso21w_1PbPpWKVRd5bNs_MDbGXt8XVIGl2o,3991
28
- mgnify_pipelines_toolkit-0.1.5.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
29
- mgnify_pipelines_toolkit-0.1.5.dist-info/METADATA,sha256=qTVmZHGu2BCpES3sd5OwcuO63oAWcTk_X8z3ZtSogX8,5859
30
- mgnify_pipelines_toolkit-0.1.5.dist-info/WHEEL,sha256=HiCZjzuy6Dw0hdX5R3LCFPDmFS4BWl8H-8W39XfmgX4,91
31
- mgnify_pipelines_toolkit-0.1.5.dist-info/entry_points.txt,sha256=wzYtVvCSM5JfOaOh1KsDnU70o3VEj9cR83TV3qqDzeE,1576
32
- mgnify_pipelines_toolkit-0.1.5.dist-info/top_level.txt,sha256=xA_wC7C01V3VwuDnqwRM2QYeJJ45WtvF6LVav4tYxuE,25
33
- mgnify_pipelines_toolkit-0.1.5.dist-info/RECORD,,
28
+ mgnify_pipelines_toolkit/utils/get_mpt_version.py,sha256=zsQ4TuR4vpqYa67MgIdopdscsS0DVJdy4enRe1nCjSs,793
29
+ mgnify_pipelines_toolkit-0.1.6.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
30
+ mgnify_pipelines_toolkit-0.1.6.dist-info/METADATA,sha256=eG7O-AjUoEx1OpdksKj9cfadbRUdzJ0TxT6ZRo2ANQ4,5859
31
+ mgnify_pipelines_toolkit-0.1.6.dist-info/WHEEL,sha256=UvcQYKBHoFqaQd6LKyqHw9fxEolWLQnlzP0h_LgJAfI,91
32
+ mgnify_pipelines_toolkit-0.1.6.dist-info/entry_points.txt,sha256=tCZ7ijAgfIn47xXGxNtoZbHTDyUfHjUzjXg-NBRlj6g,1646
33
+ mgnify_pipelines_toolkit-0.1.6.dist-info/top_level.txt,sha256=xA_wC7C01V3VwuDnqwRM2QYeJJ45WtvF6LVav4tYxuE,25
34
+ mgnify_pipelines_toolkit-0.1.6.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (72.2.0)
2
+ Generator: setuptools (74.0.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -6,6 +6,7 @@ classify_var_regions = mgnify_pipelines_toolkit.analysis.amplicon.classify_var_r
6
6
  fasta_to_delimited = mgnify_pipelines_toolkit.utils.fasta_to_delimited:main
7
7
  fastq_suffix_header_check = mgnify_pipelines_toolkit.analysis.shared.fastq_suffix_header_check:main
8
8
  find_mcp_inflection_points = mgnify_pipelines_toolkit.analysis.amplicon.find_mcp_inflection_points:main
9
+ get_mpt_version = mgnify_pipelines_toolkit.utils.get_mpt_version:main
9
10
  get_subunits = mgnify_pipelines_toolkit.analysis.shared.get_subunits:main
10
11
  get_subunits_coords = mgnify_pipelines_toolkit.analysis.shared.get_subunits_coords:main
11
12
  library_strategy_check = mgnify_pipelines_toolkit.analysis.shared.library_strategy_check:main