percolator-cpp 4.0.0__py3-none-win_amd64.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.
@@ -0,0 +1,54 @@
1
+ Metadata-Version: 2.4
2
+ Name: percolator-cpp
3
+ Version: 4.0.0
4
+ Summary: Percolator and qvality: semi-supervised learning for peptide identification from shotgun proteomics data (command line programs)
5
+ License-Expression: Apache-2.0
6
+ License-File: license.txt
7
+ Classifier: Environment :: Console
8
+ Classifier: Intended Audience :: Science/Research
9
+ Classifier: Programming Language :: C++
10
+ Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
11
+ Project-URL: Homepage, http://percolator.ms
12
+ Project-URL: Source, https://github.com/percolator/percolator
13
+ Requires-Python: >=3.8
14
+ Description-Content-Type: text/markdown
15
+
16
+ ## Percolator
17
+ [![Build status](https://github.com/percolator/percolator/actions/workflows/build.yml/badge.svg)](https://github.com/percolator/percolator/actions/workflows/build.yml) [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg)](code_of_conduct.md)
18
+
19
+ This repository holds the source code for percolator and format
20
+ converters software packages; a software for postprocessing of shotgun
21
+ proteomics data.
22
+
23
+ The source code is hosted at github, binary downloads can be found in the release repository:
24
+ https://github.com/percolator/percolator/releases
25
+
26
+ The building procedure is cmake-based. Helper scripts for building on
27
+ different platforms can be found in: admin/builders/
28
+
29
+ cmake -S . -B build
30
+ cmake --build build -j 4
31
+ cd build && ctest
32
+
33
+ Requirements: CMake 3.15 or later and a C++17 compiler. The oldest
34
+ supported GCC is 9; from GCC 11 on, reading and writing numbers use the
35
+ faster std::from_chars and std::to_chars. The continuous integration builds
36
+ with GCC 11 and 13 on Linux (x86-64 and arm64), AppleClang on macOS 15 (the
37
+ binaries run on macOS 12 and later) and Visual Studio 2022 on Windows; its
38
+ job with GCC 9 does not block yet.
39
+ For a profile or a coverage report, pass the compiler's flag, e.g.
40
+ `-DCMAKE_CXX_FLAGS=-pg` (gprof) or `-DCMAKE_CXX_FLAGS=--coverage` (gcov);
41
+ there are no separate CMake options for them.
42
+ Results can differ in a printed digit between platforms, since compilers and
43
+ math libraries round differently; the Build workflow lists the differences
44
+ (job platform-differences).
45
+
46
+ A Python wheel that holds only the percolator and qvality executables is
47
+ built with `python -m build --wheel` (pyproject.toml), and for all
48
+ platforms by the Wheels workflow. Its name on PyPI is percolator-cpp; a
49
+ run of the Wheels workflow started by hand on a release tag, with publish
50
+ ticked, uploads the wheels and the source distribution there if their
51
+ version, read from CommonCMake.txt, is that of the tag.
52
+
53
+ The cleanest way to build is to use the vagrant virtual machine
54
+ system, which can be setup using the script: admin/vagrant/manager.sh
@@ -0,0 +1,17 @@
1
+ percolator_launcher/__init__.py,sha256=3hvD5qKBOtIY-st4IlFMC0MQTk8c05d6fKDAvtRRxdM,1643
2
+ percolator_launcher/bin/concrt140.dll,sha256=JAU1XwpYBnslj43zPDJ-Oj1xbqrFo6Wuu3V4Qthb03Y,324208
3
+ percolator_launcher/bin/msvcp140.dll,sha256=D4hbUJpoXSu_plL-0mtfsx2I-9qwqXjGQdHHuKpGCqk,557728
4
+ percolator_launcher/bin/msvcp140_1.dll,sha256=v61a70xjpmnjwUBlXN_fOVtsl5tACkR71dy2XtiCbD0,35952
5
+ percolator_launcher/bin/msvcp140_2.dll,sha256=PqBvDuCYtII8t5WZ3zeA5_I8zlLBmqwx0qDUfv4zpek,280200
6
+ percolator_launcher/bin/msvcp140_atomic_wait.dll,sha256=ZAsq787UhNA2jupb3Qat3QZYo6cKSSVuVg1pI7QEpHk,50304
7
+ percolator_launcher/bin/msvcp140_codecvt_ids.dll,sha256=8gaaUogOyIXufwURGGEA63-toEEaK0lI-v6nc1uHihg,31872
8
+ percolator_launcher/bin/percolator.exe,sha256=OJgm4j6-2aJ4PgD-A0SOfLce5qryjbh7ynhhhcDiRWM,1198592
9
+ percolator_launcher/bin/qvality.exe,sha256=rUJzpGWMLgFko2_wSaZCU-vbl6b4czeexTBbWyzJgWE,494592
10
+ percolator_launcher/bin/vcomp140.dll,sha256=VauiPNzWSE-7BvQVW4ynWt_OeogfEK_QxJRXFl5ncWQ,193152
11
+ percolator_launcher/bin/vcruntime140.dll,sha256=1eTZo-g1-meUUBRdan2U42VzpQkxcRGQTZs3EsMNkGY,124544
12
+ percolator_launcher/bin/vcruntime140_1.dll,sha256=Hy1BxKpdsLwz6_e2bXKUOoF9fObL6IBQKpQDgjYzCT8,49792
13
+ percolator_cpp-4.0.0.dist-info/METADATA,sha256=T7UfoEppKOpuxdoQJy7QkyaS2c7xOGVEp1cD9mfRlEU,2733
14
+ percolator_cpp-4.0.0.dist-info/WHEEL,sha256=MavvTN48CE-QbhQ_kyQzVg79Yjk576_oKsIlJsE4vMI,102
15
+ percolator_cpp-4.0.0.dist-info/entry_points.txt,sha256=zRfR0ew6sD3Mzo8wYL52BkcJXX9j_UWgrqb_zfF97nw,101
16
+ percolator_cpp-4.0.0.dist-info/licenses/license.txt,sha256=EO8eBfEladNyHi2Rf7DSnRhmvkVXA7UmZ6VVd5gqr3o,2842
17
+ percolator_cpp-4.0.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: scikit-build-core 1.1.2
3
+ Root-Is-Purelib: false
4
+ Tag: py3-none-win_amd64
5
+
@@ -0,0 +1,4 @@
1
+ [console_scripts]
2
+ percolator = percolator_launcher:percolator
3
+ qvality = percolator_launcher:qvality
4
+
@@ -0,0 +1,51 @@
1
+ Percolator, qvality, sqt2pin, mzidentml2pin are distributed under
2
+ Apache 2.0 license with the following boiler-plate meassage:
3
+
4
+ Copyright 2006-2012 Lukas Käll <lukas.kall@scilifelab.se>
5
+ Licensed under the Apache License, Version 2.0 (the "License");
6
+ you may not use this file except in compliance with the License.
7
+ You may obtain a copy of the License at
8
+
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
+ The source code bundle includes a couple of other software packages as well:
18
+
19
+ *The Fido Suite is written by Oliver R. Serang in Department of Genome Science
20
+ at the University of Washington, Copyright © 2008-9 Oliver Serang, under MIT
21
+ license.
22
+
23
+ *libSVM by Chih-Chung Chang and Chih-Jen Lin:
24
+
25
+ Copyright © 2000-2008 Chih-Chung Chang and Chih-Jen Lin All rights
26
+ reserved.
27
+ Redistribution and use in source and binary forms, with or without
28
+ modification, are permitted provided that the following conditions
29
+ are met:
30
+ 1. Redistributions of source code must retain the above copyright
31
+ notice, this list of conditions and the following disclaimer.
32
+ 2. Redistributions in binary form must reproduce the above copyright
33
+ notice, this list of conditions and the following disclaimer in the
34
+ documentation and/or other materials provided with the distribution.
35
+ 3. Neither name of copyright holders nor the names of its contributors
36
+ may be used to endorse or promote products derived from this software
37
+ without specific prior written permission.
38
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
39
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
40
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
41
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
42
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
43
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
44
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
45
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
46
+ OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
47
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
48
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
49
+
50
+ *MSToolkit written by Michael Hoopman, University of Washington, provided
51
+ under BSD license.
@@ -0,0 +1,51 @@
1
+ """Starts the percolator and qvality executables that the wheel bundles.
2
+
3
+ The wheel holds the binaries of the CMake build in the bin directory of this
4
+ package (see pyproject.toml). The console commands "percolator" and
5
+ "qvality" call the functions of the same names below. There is no Python
6
+ API: the functions pass the command line on and end with the exit status of
7
+ the program.
8
+ """
9
+
10
+ import os
11
+ import subprocess
12
+ import sys
13
+
14
+ __all__ = ["executable", "percolator", "qvality"]
15
+
16
+
17
+ def executable(name):
18
+ """Returns the path of the bundled program (percolator or qvality)."""
19
+ suffix = ".exe" if os.name == "nt" else ""
20
+ path = os.path.join(os.path.dirname(os.path.abspath(__file__)), "bin",
21
+ name + suffix)
22
+ if not os.path.isfile(path):
23
+ raise FileNotFoundError("the bundled program %s is missing" % path)
24
+ return path
25
+
26
+
27
+ def _run(name):
28
+ exe = executable(name)
29
+ args = [exe] + sys.argv[1:]
30
+ if os.name != "nt":
31
+ # replaces this process, so signals and the exit status are the
32
+ # program's own
33
+ os.execv(exe, args)
34
+ # Windows has no exec that keeps the console waiting: start the program
35
+ # and wait for it. Ctrl-C reaches the child as well, so keep waiting for
36
+ # it to end instead of leaving it behind. vcomp140.dll (OpenMP) is found
37
+ # in the directory of the executable.
38
+ process = subprocess.Popen(args)
39
+ while True:
40
+ try:
41
+ sys.exit(process.wait())
42
+ except KeyboardInterrupt:
43
+ pass
44
+
45
+
46
+ def percolator():
47
+ _run("percolator")
48
+
49
+
50
+ def qvality():
51
+ _run("qvality")
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file