Metadata-Version: 2.4
Name: RosettaX
Version: 0.16.0
Summary: Interactive fluorescence and scattering calibration workflows for flow cytometry.
Author-email: Martin Poinsinet de Sivry-Houle <martin.poinsinet.de.sivry@gmail.com>
License-Expression: AGPL-3.0-or-later
Project-URL: Contact, https://github.com/MartinPdeS
Project-URL: Homepage, https://github.com/MartinPdeS/RosettaX
Project-URL: Documentation, https://martinpdes.github.io/RosettaX/
Project-URL: Repository, https://github.com/MartinPdeS/RosettaX.git
Keywords: flow-cytometry,calibration,scattering,fluorescence,data-analysis
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Development Status :: 3 - Alpha
Classifier: Topic :: Scientific/Engineering :: Physics
Classifier: Intended Audience :: Science/Research
Requires-Python: >=3.11
Description-Content-Type: text/x-rst
License-File: LICENSE
Requires-Dist: FCSBridge>=0.3.0
Requires-Dist: PyMieSim==6.0.4
Requires-Dist: numpy>=2.2.6
Requires-Dist: scipy>=1.15
Requires-Dist: scikit-learn>=1.6
Requires-Dist: pandas>=2.2
Requires-Dist: typing_extensions>=4.10
Requires-Dist: flask>=3.0
Requires-Dist: itsdangerous>=2.1.2
Requires-Dist: werkzeug>=3.0
Requires-Dist: matplotlib>=3.8
Requires-Dist: dash>=4.1.0
Requires-Dist: dash-bootstrap-components>=2.0.4
Requires-Dist: plotly>=6.7.0
Requires-Dist: gunicorn>=23.0.0
Requires-Dist: psycopg[binary]>=3.2.9
Provides-Extra: release
Requires-Dist: martinpdes-maintenance==0.2.3; extra == "release"
Provides-Extra: testing
Requires-Dist: martinpdes-maintenance[testing]==0.2.3; extra == "testing"
Requires-Dist: pytest-json-report~=1.5; extra == "testing"
Requires-Dist: coverage~=7.6; extra == "testing"
Requires-Dist: pytest-cov<8; extra == "testing"
Provides-Extra: documentation
Requires-Dist: MartinPdeS-docs<0.5,>=0.4.0; extra == "documentation"
Provides-Extra: dev
Requires-Dist: martinpdes-maintenance[quality]==0.2.3; extra == "dev"
Requires-Dist: flake8==7.4.1; extra == "dev"
Provides-Extra: bundling
Requires-Dist: pyinstaller<7,>=6.14; extra == "bundling"
Dynamic: license-file

RosettaX
========

.. image:: https://raw.githubusercontent.com/MartinPdeS/RosettaX/HEAD/RosettaX/assets/logo/logo_light.svg
   :alt: RosettaX logo
   :width: 100%

.. list-table::
   :width: 100%
   :widths: 35 65
   :header-rows: 1

   * - Badge
     - Status
   * - Python versions
     - |mps-python|
   * - Documentation
     - |mps-docs|
   * - Tests
     - |mps-ci| |mps-coverage|
   * - PyPI
     - |mps-pypi| |mps-downloads|
   * - Conda
     - |mps-conda| |mps-conda-downloads| |mps-conda-release|
   * - Zenodo DOI
     - |mps-zenodo|

Interactive fluorescence and scattering calibration workflows for flow cytometry.

Use a bead-standard FCS recording to calibrate a flow cytometer. The fluorescence
workflow pairs measured peaks with reference intensities such as MESF. The
scattering workflow fits measured peaks against modeled or tabulated standards.
Review the fit, save the calibration as JSON, and apply it to other FCS files.

After installation, run ``rosettax`` to open the local browser interface, or
``rosettax --fcs-file-path sample.fcs`` to start with a recording.
The `quick-start guide <https://martinpdes.github.io/RosettaX/quickstart.html>`_
walks through both fits and links to worked Python examples. See the
`privacy policy <https://martinpdes.github.io/RosettaX/privacy.html>`_ for file storage details.

Installation
------------

Requires Python ``>=3.11``.

.. code-block:: console

   $ python -m pip install RosettaX

Install from the ``martinpdes`` Conda channel:

.. code-block:: console

   $ conda install -c martinpdes rosettax

For an editable source installation:

.. code-block:: console

   $ git clone https://github.com/MartinPdeS/RosettaX.git
   $ cd RosettaX
   $ python -m pip install -e .

Documentation
-------------

Use the `RosettaX documentation <https://martinpdes.github.io/RosettaX/>`__ to work through
examples and look up the inputs and return values of individual functions.

Supported cytometers
--------------------

The `cross-device validation report <https://github.com/MartinPdeS/RosettaX/blob/HEAD/VALIDATION.md>`_
lists results for individual recordings from these instruments. Some recordings
exercise warning behavior when too few peaks resolve for automatic sizing.

.. supported-cytometers-start

.. list-table::
   :header-rows: 1
   :widths: 28 72

   * - Manufacturer
     - Cytometer models
   * - Apogee
     - A50 Micro, A60 Micro, MicroPLUS
   * - BD
     - FACSCalibur, FACSCelesta SORP, FACSLyric, FACSymphony A1, FACSymphony A5
   * - Beckman Coulter
     - CytoFLEX LX, CytoFLEX S, MoFlo Astrios
   * - Cytek
     - Aurora, Northern Lights
   * - Miltenyi Biotec
     - MACSQuant Analyzer 16
   * - Sony
     - ID7000

.. supported-cytometers-end

Citation
--------

Cite RosettaX using DOI `10.5281/zenodo.19846629 <https://doi.org/10.5281/zenodo.19846629>`__.
The Zenodo record provides the citation in BibTeX and other formats.

Contributing
------------

Bug reports, worked examples, and documentation corrections are welcome.
To set up a development checkout and run the tests, follow the `contributing guide <https://github.com/MartinPdeS/RosettaX/blob/HEAD/CONTRIBUTING.md>`__.

Contact
-------

For questions, contact `Martin Poinsinet de Sivry-Houle <mailto:martin.poinsinet.de.sivry@gmail.com?subject=RosettaX>`__.
Send questions through the `project contact page <https://github.com/MartinPdeS>`__.

License
-------

RosettaX is licensed under `AGPL-3.0-or-later <https://github.com/MartinPdeS/RosettaX/blob/HEAD/LICENSE>`__.

Commercial licensing, support, validation, or custom deployment agreements may
be discussed with the author.

.. |mps-python| image:: https://img.shields.io/pypi/pyversions/rosettax.svg
   :alt: Supported Python versions
   :target: https://pypi.org/project/rosettax/

.. |mps-pypi| image:: https://img.shields.io/pypi/v/rosettax.svg
   :alt: PyPI version
   :target: https://pypi.org/project/rosettax/

.. |mps-downloads| image:: https://img.shields.io/pypi/dm/rosettax.svg
   :alt: Monthly PyPI downloads
   :target: https://pypistats.org/packages/rosettax

.. |mps-docs| image:: https://github.com/MartinPdeS/RosettaX/actions/workflows/deploy_documentation.yml/badge.svg
   :alt: Documentation
   :target: https://martinpdes.github.io/RosettaX/

.. |mps-ci| image:: https://github.com/MartinPdeS/RosettaX/actions/workflows/unit-tests.yml/badge.svg
   :alt: Tests
   :target: https://github.com/MartinPdeS/RosettaX/actions/workflows/unit-tests.yml

.. |mps-coverage| image:: https://raw.githubusercontent.com/MartinPdeS/RosettaX/python-coverage-comment-action-data/badge.svg
   :alt: Test coverage
   :target: https://htmlpreview.github.io/?https://github.com/MartinPdeS/RosettaX/blob/python-coverage-comment-action-data/htmlcov/index.html

.. |mps-conda| image:: https://anaconda.org/martinpdes/rosettax/badges/version.svg
   :alt: Anaconda version
   :target: https://anaconda.org/martinpdes/rosettax

.. |mps-conda-downloads| image:: https://anaconda.org/martinpdes/rosettax/badges/downloads.svg
   :alt: Anaconda downloads
   :target: https://anaconda.org/martinpdes/rosettax

.. |mps-conda-release| image:: https://anaconda.org/martinpdes/rosettax/badges/latest_release_relative_date.svg
   :alt: Latest Anaconda release
   :target: https://anaconda.org/martinpdes/rosettax

.. |mps-zenodo| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.19846629.svg
   :alt: Cite RosettaX on Zenodo
   :target: https://doi.org/10.5281/zenodo.19846629
