Skip to main content

ALEX123 Unifier

This tool combines search results from multiple ALEX123 extractor searches into a single output file.

Overview

An ALEX123 data search produces a directory with multiple subdirectories, one per MS range. Each subdirectory contains the same set of result files. This tool scans those subdirectories and merges files of the same type into a single output, writing one shared header followed by all data rows.

Installation

Install from PyPI:

pip install alex123-unifier

Usage

Point the tool at the directory produced by an ALEX123 search:

alex123-unifier <search_directory>

Or run it as a module:

python -m alex123_unifier <search_directory>

If no directory is given, the current working directory is used. The unified files are written back into the search directory itself.

Input

The search directory holds one subdirectory per MS range, each containing the same set of result files:

search_results/                          <-- pass this directory to the tool
    neg_101extract_195-400/
        results_alex123_ms1.tab
        lockmasses.tab
        maxgap.tab
        targetlist_ms1.txt
    neg_101extract_350-675/
        results_alex123_ms1.tab
        lockmasses.tab
        maxgap.tab
        targetlist_ms1.txt
    ...

Output

Files of the same type are merged into a single unified file:

Input file pattern Output file
results_alex123_* Results_unified.tab
lockmasses* Lockmass_unified.tab
maxgap* Maxgap_unified.tab
targetlist* Targetlist_unified.txt

Each output file contains the header from the first matched file, followed by the data rows from all matched files. Column headers are validated across files. The unifier raises an error if the columns don't match.

License

alex123-unifier is licensed under the GNU General Public License v3.0 or later (full text). The LICENSE file is included in the package distribution.

Metadata

Release files for alex123-unifier 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for alex123-unifier 0.2.0
File Size Uploaded
alex123_unifier-0.2.0.tar.gz 16.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for alex123-unifier 0.2.0
File Interpreter ABI Platform
alex123_unifier-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 33.3 kB

Release files / alex123_unifier-0.2.0.tar.gz

Download URL alex123_unifier-0.2.0.tar.gz
Size 16.2 kB
Tags Source
SHA-256 checksum
How to use checksums
00d55e3a3974829c60ae09f6d46c9a3f749f2c4801403f1f831218a56003654d
BLAKE2b-256 checksum
How to use checksums
684103a0eb59a49ed2c87ac004f7ee6442ced7cabd5b3ba0bd49696baeea9676
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Release files / alex123_unifier-0.2.0-py3-none-any.whl

Download URL alex123_unifier-0.2.0-py3-none-any.whl
Size 17.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
43d94321867f53b4ebd99a1de3d0e02d6768aa407761d3e7bcfdc1d989b82f76
BLAKE2b-256 checksum
How to use checksums
224ba8f3c56e12b6638593912dbedbf060da0f31fa937846a1b5ac2885eac64f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page