Pyteomics

Latest version: v4.7.5

Safety actively analyzes 685838 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 11 of 13

2.1.2

-----

- Bugfix in XML parsers. The bug caused the mzML parser to break on some files.
The fix can slightly change the format of the output.

2.1.1

-----

- Rename keys in the dicts returned by :py:func:`mgf.read` to facilitate
writing code working with both MGF and mzML.

- The items yielded by :py:func:`fasta.read` now have attributes `description`
and `sequence`.

2.1.0

-----

- New sets of retention coefficients in :py:mod:`achrom`.

- :py:class:`mass.Composition` now only stores non-zero ints.

- :py:mod:`fasta` now has tools for parsing of FASTA headers.

- File parsers now implement the `context manager protocol
<http://docs.python.org/reference/datamodel.html#with-statement-context-managers>`_.
We recommend using `with` statements to avoid resource leaks.

API changes
...........

- 'pepmass' is now a tuple in the output of :py:func:`mgf.read` (to allow
reading precursor intensities).

- new function :py:func:`fasta.parse` for convenient parsing of FASTA headers.

- :py:data:`fasta.std_parsers` stores parsers for common UniProt header formats.

- new parameter *parser* in :py:func:`fasta.read` allows to apply parsing while
reading a FASTA file.

- `close` parameter removed in all functions that do file I/O. The unified
behavior is: if the parameter is a file object, it won't be closed by the
function. If a file path is given, the file object will be created and closed
inside the corresponding function.

2.0.3

-----

- Added new class :py:class:`pyteomics.mass.Unimod`. The interface is
experimental and may change.

- Improved :py:func:`iterfind` function in XML-reading modules.

- :py:class:`pyteomics.mass.Composition` objects now support multiplication by
:py:class:`int`.

- Bugfix in :py:func:`auxiliary.linear_regression`.

2.0.2

-----

- Added new function :py:func:`iterfind` in :py:mod:`pyteomics.mzid`,
:py:mod:`pyteomics.pepxml` and :py:mod:`pyteomics.mzml`.

2.0.1

-----

API changes
...........

- :py:func:`pyteomics.parser.peptide_length` is renamed to
:py:func:`pyteomics.parser.length`.

Page 11 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.