Skip to content

PGAlign 1.0.1

Choose a tag to compare

@QihuangZhang QihuangZhang released this 14 Oct 02:19
· 7 commits to main since this release

This is the version that accompanies the manuscript "PGAlign: peak group alignment of mass spectrometry data" (Deng, Zhang & Zhang), under review at the Journal of Proteome Research. Later releases may change the results, so install this one to reproduce the manuscript:

pip install "git+https://github.com/StaGill/PGAlign@v1.0.1"

The alignment algorithm is unchanged from the code that produced the manuscript's results. Changes since the package was renamed from GALAXY:

  • Runs under pandas 3, which fresh installs on Python 3.12 and later receive. Step 3 and the output step looked up the m/z table by position in a way that pandas 3 reads as a label, and failed with a KeyError. On pandas 2 the outputs are identical to before.
  • The mouse pancreas toy dataset now ships with the package (pg.datasets.load_mouse_pancreas_toy()), so the examples in the README and the documentation run as written.
  • The output step, pg.PGmzalign(align).getAnnSim(), which returns the unknown spectra on the reference m/z grid, is documented in the README, the tutorial and the API reference.
  • The README, the documentation and the case-study notes match the manuscript as submitted: data availability, section names, citation and the symbols used in the paper.
  • Tests run on every push, on Python 3.9 with the minimum supported dependencies and on Python 3.14 with the latest releases. New tests cover the output step, the moving-average peak caller and the simulation code.
  • The minimum scanpy version is now 1.9.2, since scanpy 1.9.0 and 1.9.1 cannot be imported alongside matplotlib 3.7 or later.