mgnify-pipelines-toolkit 0.0.5__py3-none-any.whl → 0.0.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.

Files changed (22) hide show
  1. {mgnify_pipelines_toolkit-0.0.5.dist-info → mgnify_pipelines_toolkit-0.0.6.dist-info}/METADATA +10 -8
  2. mgnify_pipelines_toolkit-0.0.6.dist-info/RECORD +21 -0
  3. {mgnify_pipelines_toolkit-0.0.5.dist-info → mgnify_pipelines_toolkit-0.0.6.dist-info}/WHEEL +1 -1
  4. mgnify_pipelines_toolkit-0.0.6.dist-info/entry_points.txt +13 -0
  5. mgnify_pipelines_toolkit-0.0.5.dist-info/RECORD +0 -21
  6. mgnify_pipelines_toolkit-0.0.5.dist-info/entry_points.txt +0 -13
  7. /mgnify_pipelines_toolkit/{v6 → analysis/amplicon}/__init__.py +0 -0
  8. /mgnify_pipelines_toolkit/{v6/v6_amplicon → analysis/amplicon}/are_there_primers.py +0 -0
  9. /mgnify_pipelines_toolkit/{v6/v6_amplicon → analysis/amplicon}/assess_inflection_point_mcp.py +0 -0
  10. /mgnify_pipelines_toolkit/{v6/v6_amplicon → analysis/amplicon}/assess_mcp_proportions.py +0 -0
  11. /mgnify_pipelines_toolkit/{v6/v6_amplicon → analysis/amplicon}/classify_var_regions.py +0 -0
  12. /mgnify_pipelines_toolkit/{v6/v6_amplicon → analysis/amplicon}/find_mcp_inflection_points.py +0 -0
  13. /mgnify_pipelines_toolkit/{v6/v6_amplicon → analysis/amplicon}/make_asv_count_table.py +0 -0
  14. /mgnify_pipelines_toolkit/{v6/v6_amplicon → analysis/amplicon}/remove_ambiguous_reads.py +0 -0
  15. /mgnify_pipelines_toolkit/{v6/v6_amplicon → analysis/amplicon}/rev_comp_se_primers.py +0 -0
  16. /mgnify_pipelines_toolkit/{v6/v6_amplicon → analysis/amplicon}/standard_primer_agrep.py +0 -0
  17. /mgnify_pipelines_toolkit/{v6/v6_amplicon → analysis/shared}/__init__.py +0 -0
  18. /mgnify_pipelines_toolkit/{v6 → analysis/shared}/get_subunits.py +0 -0
  19. /mgnify_pipelines_toolkit/{v6 → analysis/shared}/get_subunits_coords.py +0 -0
  20. /mgnify_pipelines_toolkit/{v6 → analysis/shared}/mapseq2biom.py +0 -0
  21. {mgnify_pipelines_toolkit-0.0.5.dist-info → mgnify_pipelines_toolkit-0.0.6.dist-info}/LICENSE +0 -0
  22. {mgnify_pipelines_toolkit-0.0.5.dist-info → mgnify_pipelines_toolkit-0.0.6.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
- Name: mgnify-pipelines-toolkit
3
- Version: 0.0.5
2
+ Name: mgnify_pipelines_toolkit
3
+ Version: 0.0.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
@@ -50,14 +50,14 @@ Then this command will upload it to Test-PyPi (you will need to generate an API
50
50
 
51
51
  To upload it to actual PyPi:
52
52
 
53
- `python3 -m twine upload dist/*`
53
+ `python3 -m twine upload dist/mgnify_pipelines_toolkit-0.0.x*`
54
54
 
55
55
  ## Adding a new script to the package
56
56
 
57
57
  ### New script requirements
58
58
 
59
59
  There are a few requirements for your script:
60
- - It needs to have a named main function of some kind. See `mgnify_pipelines_toolkit/v6/get_subunits.py` and the `main()` function for an example
60
+ - It needs to have a named main function of some kind. See `mgnify_pipelines_toolkit/analysis/shared/get_subunits.py` and the `main()` function for an example
61
61
  - Because this package is meant to be run from the command-line, make sure your script can easily pass arguments using tools like `argparse` or `click`
62
62
  - A small amount of dependencies. This requirement is subjective, but for example if your script only requires a handful of basic packages like `Biopython`, `numpy`, `pandas`, etc., then it's fine. However if the script has a more extensive list of dependencies, a container is probably a better fit.
63
63
 
@@ -65,19 +65,21 @@ There are a few requirements for your script:
65
65
 
66
66
  To add a new Python script, first copy it over to the `mgnify_pipelines_toolkit` directory in this repository, specifically to the subdirectory that makes the most sense. If none of the subdirectories make sense for your script, create a new one. If your script doesn't have a `main()` type function yet, write one.
67
67
 
68
- Then, open `pyproject.toml` as you will need to add some bits. First, any dependencies required (include the version) to the `dependencies` field.
68
+ Then, open `pyproject.toml` as you will need to add some bits. First, add any missing dependencies (include the version) to the `dependencies` field.
69
+
70
+ Then, if you created a new subdirectory to add your script in, go to the `packages` line under `[tool.setuptools]` and add the new subdirectory following the same syntax.
69
71
 
70
72
  Then, scroll down to the `[project.scripts]` line. Here, you will create an alias command for running your script from the command-line. In the example line:
71
73
 
72
- `get_subunits = "mgnify_pipelines_toolkit.v6.get_subunits:main"`
74
+ `get_subunits = "mgnify_pipelines_toolkit.analysis.shared.get_subunits:main"`
73
75
 
74
76
  - `get_subunits` is the alias
75
- - `mgnify_pipelines_toolkit.v6.get_subunits` will link the alias to the script with the path `mgnify_pipelines_toolkit/v6/get_subunits.py`
77
+ - `mgnify_pipelines_toolkit.analysis.shared.get_subunits` will link the alias to the script with the path `mgnify_pipelines_toolkit/analysis/shared/get_subunits.py`
76
78
  - `:main` will specifically call the function named `main()` when the alias is run.
77
79
 
78
80
  When you have setup this command, executing `get_subunits` on the command-line will be the equivalent of doing:
79
81
 
80
- `from mgnify_pipelines_toolkit.v6.get_subunits import main; main()`
82
+ `from mgnify_pipelines_toolkit.analysis.shared.get_subunits import main; main()`
81
83
 
82
84
  Finally, you will need to bump up the version in the `version` line. How/when we bump versions is to be determined.
83
85
 
@@ -0,0 +1,21 @@
1
+ mgnify_pipelines_toolkit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ mgnify_pipelines_toolkit/analysis/amplicon/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ mgnify_pipelines_toolkit/analysis/amplicon/are_there_primers.py,sha256=8w9YrRS0dKfgJPK7NlOmwOio2KKIeGzSCaqWlJlYmAY,4459
4
+ mgnify_pipelines_toolkit/analysis/amplicon/assess_inflection_point_mcp.py,sha256=LlriVhzuDavTDHgUnInFlzzvdubtCKC6HynxEfzK-pg,6192
5
+ mgnify_pipelines_toolkit/analysis/amplicon/assess_mcp_proportions.py,sha256=ixvutBg0W1FokLhAOOJvhdCZFeY2N605gsrKkXfn0zs,5435
6
+ mgnify_pipelines_toolkit/analysis/amplicon/classify_var_regions.py,sha256=aLXhWjbVwJrasIbtg0hL9EeeZX5HBGkC442quYNxh0k,18297
7
+ mgnify_pipelines_toolkit/analysis/amplicon/find_mcp_inflection_points.py,sha256=C4ZragSYWH6rd7xdcMYI461yOV1Z2z7UZGcJ-_oYJio,2891
8
+ mgnify_pipelines_toolkit/analysis/amplicon/make_asv_count_table.py,sha256=nwRvYp_l9cS8i4l82WY5WdAWeYR-HXRmB4oJ8wsaxkA,7630
9
+ mgnify_pipelines_toolkit/analysis/amplicon/remove_ambiguous_reads.py,sha256=IzNM4SpKoPd_sdpO_8pAvO-WGb9hOPtDH49jnlA5O8I,2174
10
+ mgnify_pipelines_toolkit/analysis/amplicon/rev_comp_se_primers.py,sha256=EtwbB3BPz4OKVUzgfJbVEf2a9uG-Vgpl9lceQEHun7Y,1083
11
+ mgnify_pipelines_toolkit/analysis/amplicon/standard_primer_agrep.py,sha256=wleamlGGdsWy9eddpxAVzcXYz52hdpLXlPrPoL3i934,10279
12
+ mgnify_pipelines_toolkit/analysis/shared/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
+ mgnify_pipelines_toolkit/analysis/shared/get_subunits.py,sha256=93YYL9gD7yGKsirWVWMWXbnM1ukKwvZfDxLX9L5L23Q,3907
14
+ mgnify_pipelines_toolkit/analysis/shared/get_subunits_coords.py,sha256=Y4OWjGj0C3R1D4xYSOWfE8Jlp5JYHzpxbPatqdElWo8,1241
15
+ mgnify_pipelines_toolkit/analysis/shared/mapseq2biom.py,sha256=qm8WGdyzshKVGTyEblMnELcO0UOaL-eI-px8Or61cPM,4911
16
+ mgnify_pipelines_toolkit-0.0.6.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
17
+ mgnify_pipelines_toolkit-0.0.6.dist-info/METADATA,sha256=6sC7zwsbk2rJC3k0JY6_c1YthuNyvmK0lHGIfdi3Dzo,4403
18
+ mgnify_pipelines_toolkit-0.0.6.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
19
+ mgnify_pipelines_toolkit-0.0.6.dist-info/entry_points.txt,sha256=7X3ACUcOZBNpAuFchzblpjv7vz7rsaruUGuZKjj6UfM,1108
20
+ mgnify_pipelines_toolkit-0.0.6.dist-info/top_level.txt,sha256=xA_wC7C01V3VwuDnqwRM2QYeJJ45WtvF6LVav4tYxuE,25
21
+ mgnify_pipelines_toolkit-0.0.6.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.41.3)
2
+ Generator: bdist_wheel (0.42.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -0,0 +1,13 @@
1
+ [console_scripts]
2
+ are_there_primers = mgnify_pipelines_toolkit.analysis.amplicon.are_there_primers:main
3
+ assess_inflection_point_mcp = mgnify_pipelines_toolkit.analysis.amplicon.assess_inflection_point_mcp:main
4
+ assess_mcp_proportions = mgnify_pipelines_toolkit.analysis.amplicon.assess_mcp_proportions:main
5
+ classify_var_regions = mgnify_pipelines_toolkit.analysis.amplicon.classify_var_regions:main
6
+ find_mcp_inflection_points = mgnify_pipelines_toolkit.analysis.amplicon.find_mcp_inflection_points:main
7
+ get_subunits = mgnify_pipelines_toolkit.analysis.shared.get_subunits:main
8
+ get_subunits_coords = mgnify_pipelines_toolkit.analysis.shared.get_subunits_coords:main
9
+ make_asv_count_table = mgnify_pipelines_toolkit.analysis.amplicon.make_asv_count_table:main
10
+ mapseq2biom = mgnify_pipelines_toolkit.analysis.shared.mapseq2biom:main
11
+ remove_ambiguous_reads = mgnify_pipelines_toolkit.analysis.amplicon.remove_ambiguous_reads:main
12
+ rev_comp_se_primers = mgnify_pipelines_toolkit.analysis.amplicon.rev_comp_se_primers:main
13
+ standard_primer_agrep = mgnify_pipelines_toolkit.analysis.amplicon.standard_primer_agrep:main
@@ -1,21 +0,0 @@
1
- mgnify_pipelines_toolkit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- mgnify_pipelines_toolkit/v6/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- mgnify_pipelines_toolkit/v6/get_subunits.py,sha256=93YYL9gD7yGKsirWVWMWXbnM1ukKwvZfDxLX9L5L23Q,3907
4
- mgnify_pipelines_toolkit/v6/get_subunits_coords.py,sha256=Y4OWjGj0C3R1D4xYSOWfE8Jlp5JYHzpxbPatqdElWo8,1241
5
- mgnify_pipelines_toolkit/v6/mapseq2biom.py,sha256=qm8WGdyzshKVGTyEblMnELcO0UOaL-eI-px8Or61cPM,4911
6
- mgnify_pipelines_toolkit/v6/v6_amplicon/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
- mgnify_pipelines_toolkit/v6/v6_amplicon/are_there_primers.py,sha256=8w9YrRS0dKfgJPK7NlOmwOio2KKIeGzSCaqWlJlYmAY,4459
8
- mgnify_pipelines_toolkit/v6/v6_amplicon/assess_inflection_point_mcp.py,sha256=LlriVhzuDavTDHgUnInFlzzvdubtCKC6HynxEfzK-pg,6192
9
- mgnify_pipelines_toolkit/v6/v6_amplicon/assess_mcp_proportions.py,sha256=ixvutBg0W1FokLhAOOJvhdCZFeY2N605gsrKkXfn0zs,5435
10
- mgnify_pipelines_toolkit/v6/v6_amplicon/classify_var_regions.py,sha256=aLXhWjbVwJrasIbtg0hL9EeeZX5HBGkC442quYNxh0k,18297
11
- mgnify_pipelines_toolkit/v6/v6_amplicon/find_mcp_inflection_points.py,sha256=C4ZragSYWH6rd7xdcMYI461yOV1Z2z7UZGcJ-_oYJio,2891
12
- mgnify_pipelines_toolkit/v6/v6_amplicon/make_asv_count_table.py,sha256=nwRvYp_l9cS8i4l82WY5WdAWeYR-HXRmB4oJ8wsaxkA,7630
13
- mgnify_pipelines_toolkit/v6/v6_amplicon/remove_ambiguous_reads.py,sha256=IzNM4SpKoPd_sdpO_8pAvO-WGb9hOPtDH49jnlA5O8I,2174
14
- mgnify_pipelines_toolkit/v6/v6_amplicon/rev_comp_se_primers.py,sha256=EtwbB3BPz4OKVUzgfJbVEf2a9uG-Vgpl9lceQEHun7Y,1083
15
- mgnify_pipelines_toolkit/v6/v6_amplicon/standard_primer_agrep.py,sha256=wleamlGGdsWy9eddpxAVzcXYz52hdpLXlPrPoL3i934,10279
16
- mgnify_pipelines_toolkit-0.0.5.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
17
- mgnify_pipelines_toolkit-0.0.5.dist-info/METADATA,sha256=aqmgib6aJC5ixaQIVhWndmTxGwS3qA4ZtYUELrCOq50,4133
18
- mgnify_pipelines_toolkit-0.0.5.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
19
- mgnify_pipelines_toolkit-0.0.5.dist-info/entry_points.txt,sha256=T2a1gbjOJuvynZ5iNMZb_-ovUBa1YHe8WJo2VqEfJPQ,1042
20
- mgnify_pipelines_toolkit-0.0.5.dist-info/top_level.txt,sha256=xA_wC7C01V3VwuDnqwRM2QYeJJ45WtvF6LVav4tYxuE,25
21
- mgnify_pipelines_toolkit-0.0.5.dist-info/RECORD,,
@@ -1,13 +0,0 @@
1
- [console_scripts]
2
- are_there_primers = mgnify_pipelines_toolkit.v6.v6_amplicon.are_there_primers:main
3
- assess_inflection_point_mcp = mgnify_pipelines_toolkit.v6.v6_amplicon.assess_inflection_point_mcp:main
4
- assess_mcp_proportions = mgnify_pipelines_toolkit.v6.v6_amplicon.assess_mcp_proportions:main
5
- classify_var_regions = mgnify_pipelines_toolkit.v6.v6_amplicon.classify_var_regions:main
6
- find_mcp_inflection_points = mgnify_pipelines_toolkit.v6.v6_amplicon.find_mcp_inflection_points:main
7
- get_subunits = mgnify_pipelines_toolkit.v6.get_subunits:main
8
- get_subunits_coords = mgnify_pipelines_toolkit.v6.get_subunits_coords:main
9
- make_asv_count_table = mgnify_pipelines_toolkit.v6.v6_amplicon.make_asv_count_table:main
10
- mapseq2biom = mgnify_pipelines_toolkit.v6.mapseq2biom:main
11
- remove_ambiguous_reads = mgnify_pipelines_toolkit.v6.v6_amplicon.remove_ambiguous_reads:main
12
- rev_comp_se_primers = mgnify_pipelines_toolkit.v6.v6_amplicon.rev_comp_se_primers:main
13
- standard_primer_agrep = mgnify_pipelines_toolkit.v6.v6_amplicon.standard_primer_agrep:main