mgnify-pipelines-toolkit 0.1.7__py3-none-any.whl → 0.1.8__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.

@@ -277,6 +277,8 @@ def main():
277
277
  taxa_df = taxa_df.fillna("0")
278
278
  taxa_df = order_df(taxa_df)
279
279
 
280
+ asv_list = taxa_df.ASV.to_list()
281
+
280
282
  amp_reads = [read.strip() for read in list(open(amp, "r"))]
281
283
  headers = [read.split(" ")[0][1:] for read in list(open(headers, "r"))]
282
284
  amp_region = ".".join(amp.split(".")[1:3])
@@ -288,7 +290,7 @@ def main():
288
290
  counter += 1
289
291
  line_fwd = line_fwd.strip()
290
292
 
291
- if line_fwd == "0":
293
+ if line_fwd == "0" or f"seq_{line_fwd}" not in asv_list:
292
294
  continue
293
295
 
294
296
  if headers[counter] in amp_reads:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mgnify_pipelines_toolkit
3
- Version: 0.1.7
3
+ Version: 0.1.8
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
@@ -6,7 +6,7 @@ mgnify_pipelines_toolkit/analysis/amplicon/assess_inflection_point_mcp.py,sha256
6
6
  mgnify_pipelines_toolkit/analysis/amplicon/assess_mcp_proportions.py,sha256=aNucaUnYejl2Not4YLMBSzyYWGYJvYwLPZcFE94TIDc,5355
7
7
  mgnify_pipelines_toolkit/analysis/amplicon/classify_var_regions.py,sha256=kIuE2wo3FaFZw2-HRGxstKz29FyGuhqVDRhf_vPZgsA,19921
8
8
  mgnify_pipelines_toolkit/analysis/amplicon/find_mcp_inflection_points.py,sha256=EnsIrPGigsy8jVnjYgSECihhuquSJTgCi-k6fhusKYM,3547
9
- mgnify_pipelines_toolkit/analysis/amplicon/make_asv_count_table.py,sha256=pvMDfq-KA9LrD359fvM1uXbXa2Mow5Fja-1iUoVdSEg,8676
9
+ mgnify_pipelines_toolkit/analysis/amplicon/make_asv_count_table.py,sha256=ICFR8Ci_VofQFykasiSWwOwL_SH64PVcROoenw5jifE,8751
10
10
  mgnify_pipelines_toolkit/analysis/amplicon/mapseq_to_asv_table.py,sha256=9QI6o85T4JPFq4EdKmnYzI6sxPLJG6t9W0xKiu24aqw,5035
11
11
  mgnify_pipelines_toolkit/analysis/amplicon/primer_val_classification.py,sha256=d_Mco92RRUXSq5-5oFlXC0ZO83kbxwOREoCCyA2glDc,3751
12
12
  mgnify_pipelines_toolkit/analysis/amplicon/remove_ambiguous_reads.py,sha256=8vwH6PY-XwMZhaUo08tOwdFsoREfNumvvDawTb9Y98U,3168
@@ -26,9 +26,9 @@ mgnify_pipelines_toolkit/constants/var_region_coordinates.py,sha256=jbOB_bTnW2TR
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
28
  mgnify_pipelines_toolkit/utils/get_mpt_version.py,sha256=zsQ4TuR4vpqYa67MgIdopdscsS0DVJdy4enRe1nCjSs,793
29
- mgnify_pipelines_toolkit-0.1.7.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
30
- mgnify_pipelines_toolkit-0.1.7.dist-info/METADATA,sha256=qCpuJs-FFtVbcNgmbj1pV1f2oHLeyiaGUkC1eRS1dLE,5859
31
- mgnify_pipelines_toolkit-0.1.7.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
32
- mgnify_pipelines_toolkit-0.1.7.dist-info/entry_points.txt,sha256=tCZ7ijAgfIn47xXGxNtoZbHTDyUfHjUzjXg-NBRlj6g,1646
33
- mgnify_pipelines_toolkit-0.1.7.dist-info/top_level.txt,sha256=xA_wC7C01V3VwuDnqwRM2QYeJJ45WtvF6LVav4tYxuE,25
34
- mgnify_pipelines_toolkit-0.1.7.dist-info/RECORD,,
29
+ mgnify_pipelines_toolkit-0.1.8.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
30
+ mgnify_pipelines_toolkit-0.1.8.dist-info/METADATA,sha256=Uf-ukd_8rWTprPyipZQXTy4ZKdpxNezdwwPNwtNFbRk,5859
31
+ mgnify_pipelines_toolkit-0.1.8.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
32
+ mgnify_pipelines_toolkit-0.1.8.dist-info/entry_points.txt,sha256=tCZ7ijAgfIn47xXGxNtoZbHTDyUfHjUzjXg-NBRlj6g,1646
33
+ mgnify_pipelines_toolkit-0.1.8.dist-info/top_level.txt,sha256=xA_wC7C01V3VwuDnqwRM2QYeJJ45WtvF6LVav4tYxuE,25
34
+ mgnify_pipelines_toolkit-0.1.8.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.1.0)
2
+ Generator: setuptools (75.2.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5