meancure 1.0.0__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.
- meancure-1.0.0/LICENSE +21 -0
- meancure-1.0.0/PKG-INFO +34 -0
- meancure-1.0.0/README.md +13 -0
- meancure-1.0.0/pyproject.toml +35 -0
- meancure-1.0.0/src/meancure/__init__.py +0 -0
- meancure-1.0.0/src/meancure/meancure.py +1834 -0
meancure-1.0.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Christoph Schomburg
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
meancure-1.0.0/PKG-INFO
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: meancure
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: Metabarcoding Analysis with a Custom Reference
|
|
5
|
+
Project-URL: Homepage, https://github.com/cschomb/Metabarcoding-Analysis-with-a-Custom-Reference
|
|
6
|
+
Project-URL: Issues, https://github.com/cschomb/Metabarcoding-Analysis-with-a-Custom-Reference/issues
|
|
7
|
+
Author-email: Christoph Schomburg <c.schomburg@uni-kassel.de>
|
|
8
|
+
License-Expression: MIT
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Classifier: Operating System :: OS Independent
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Requires-Python: >=3.8
|
|
13
|
+
Requires-Dist: numpy>=2.3.5
|
|
14
|
+
Requires-Dist: openpyxl>=3.1.5
|
|
15
|
+
Requires-Dist: pandas>=2.3.3
|
|
16
|
+
Requires-Dist: pyproj>=3.7.2
|
|
17
|
+
Requires-Dist: requests>=2.31.0
|
|
18
|
+
Requires-Dist: tqdm>=4.67.1
|
|
19
|
+
Requires-Dist: urllib3>=2.0.7
|
|
20
|
+
Description-Content-Type: text/markdown
|
|
21
|
+
|
|
22
|
+
# MEtabarcoding-ANalysis against a CUstom REference (MEAN-CURE)
|
|
23
|
+
|
|
24
|
+
## Introduction
|
|
25
|
+
This script is used for the Analysis of Metabarcoding results from the Apscale Pipeline from a custom reference database. It assignes taxonomic information to the ESV sequences and can check the plausibility of these assignments by querying GBIF occurrence records.
|
|
26
|
+
|
|
27
|
+
### BLAST search
|
|
28
|
+
Performs a BLAST search of ESV sequences against a custom reference database (see Requirements for details). The maximum number of BLAST hits to keep can be set in the settings file. It also incorporates information about the length of the query coverage, which is used in the analysis step.
|
|
29
|
+
|
|
30
|
+
### Analysis
|
|
31
|
+
Filters the BLAST hits, so that the top 3% of the most identical records remain as candidates. These results are then calculated into a BLAST score.
|
|
32
|
+
|
|
33
|
+
### GBIF occurrence search
|
|
34
|
+
The resulting analysed esv tabel can further be checked against occurrence records on GBIF. The settings file allows the creation of a circle (point and radius) in which occurrences should be present. Cutoffs for the year since when occurrences are counted and the minimum number of occurrences can be set. The best blast hits (family, genus and species level) from the results file will be labeled as plausible or implausible depending on occurrences in the set parameters. Entries from the other_candidates column will only appear, if they are likely to occur according to GBIF.
|
meancure-1.0.0/README.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# MEtabarcoding-ANalysis against a CUstom REference (MEAN-CURE)
|
|
2
|
+
|
|
3
|
+
## Introduction
|
|
4
|
+
This script is used for the Analysis of Metabarcoding results from the Apscale Pipeline from a custom reference database. It assignes taxonomic information to the ESV sequences and can check the plausibility of these assignments by querying GBIF occurrence records.
|
|
5
|
+
|
|
6
|
+
### BLAST search
|
|
7
|
+
Performs a BLAST search of ESV sequences against a custom reference database (see Requirements for details). The maximum number of BLAST hits to keep can be set in the settings file. It also incorporates information about the length of the query coverage, which is used in the analysis step.
|
|
8
|
+
|
|
9
|
+
### Analysis
|
|
10
|
+
Filters the BLAST hits, so that the top 3% of the most identical records remain as candidates. These results are then calculated into a BLAST score.
|
|
11
|
+
|
|
12
|
+
### GBIF occurrence search
|
|
13
|
+
The resulting analysed esv tabel can further be checked against occurrence records on GBIF. The settings file allows the creation of a circle (point and radius) in which occurrences should be present. Cutoffs for the year since when occurrences are counted and the minimum number of occurrences can be set. The best blast hits (family, genus and species level) from the results file will be labeled as plausible or implausible depending on occurrences in the set parameters. Entries from the other_candidates column will only appear, if they are likely to occur according to GBIF.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["hatchling >= 1.26"]
|
|
3
|
+
build-backend = "hatchling.build"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "meancure"
|
|
7
|
+
version = "1.0.0"
|
|
8
|
+
authors = [
|
|
9
|
+
{ name="Christoph Schomburg", email="c.schomburg@uni-kassel.de" },
|
|
10
|
+
]
|
|
11
|
+
description = "Metabarcoding Analysis with a Custom Reference"
|
|
12
|
+
readme = "README.md"
|
|
13
|
+
requires-python = ">=3.8"
|
|
14
|
+
classifiers = [
|
|
15
|
+
"Programming Language :: Python :: 3",
|
|
16
|
+
"Operating System :: OS Independent",
|
|
17
|
+
]
|
|
18
|
+
dependencies = [
|
|
19
|
+
"numpy>=2.3.5",
|
|
20
|
+
"pandas>=2.3.3",
|
|
21
|
+
"requests>=2.31.0",
|
|
22
|
+
"openpyxl>=3.1.5",
|
|
23
|
+
"pyproj>=3.7.2",
|
|
24
|
+
"urllib3>=2.0.7",
|
|
25
|
+
"tqdm>=4.67.1",
|
|
26
|
+
]
|
|
27
|
+
license = "MIT"
|
|
28
|
+
license-files = ["LICEN[CS]E*"]
|
|
29
|
+
|
|
30
|
+
[project.urls]
|
|
31
|
+
Homepage = "https://github.com/cschomb/Metabarcoding-Analysis-with-a-Custom-Reference"
|
|
32
|
+
Issues = "https://github.com/cschomb/Metabarcoding-Analysis-with-a-Custom-Reference/issues"
|
|
33
|
+
|
|
34
|
+
[project.scripts]
|
|
35
|
+
meancure = "meancure_CS5150.meancure:main"
|
|
File without changes
|