<commit_before>Introduction
############

*Ursgal - Universal Python Module Combining Common Bottom-Up Proteomics Tools for Large-Scale Analysis*

|pypi| |build-status-travis| |build-status-appveyor| |doc-status| |Gitter|

.. |pypi| image:: https://badge.fury.io/py/ursgal.svg
    :target: https://badge.fury.io/py/ursgal

.. |build-status-travis| image:: https://travis-ci.org/ursgal/ursgal.svg?branch=master
   :target: https://travis-ci.org/ursgal/ursgal
   :alt: Travis CI status

.. |build-status-appveyor| image:: https://ci.appveyor.com/api/projects/status/github/ursgal/ursgal?branch=master&svg=true
   :target: https://ci.appveyor.com/project/fufezan-lab/ursgal
   :alt: AppVeyor CI status

.. |doc-status| image:: http://readthedocs.org/projects/ursgal/badge/?version=latest
   :target: http://ursgal.readthedocs.io/en/latest/?badge=latest
   :alt: Documentation Status

.. |Gitter| image:: https://img.shields.io/gitter/room/gitterHQ/gitter.svg
   :alt: Join the chat at https://gitter.im/ursgal/ursgal
   :target: https://gitter.im/ursgal/ursgal?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge

Summary
*******

Ursgal is a Python module that offers a generalized interface to common bottom-up proteomics tools, e.g.

    a) Peptide spectrum matching with up to eight different search engines (some available in multiple versions), including three open modification search engines

    b) Evaluation and post processing of search results with up to two different engines

    c) Integration of search results from different search engines

    d) De novo sequencing with up to four different search engines

    e) Miscellaneous tools including the creation of a target decoy database as well as filtering, sanitizing and visualizing of results

Abstract
********

Proteomics data integration has become a broad field with a variety of programs offering innovative algorithms to analyze increasing amounts of data. Unfortunately, this software diversity leads to many problems as soon as the data is analyzed using more than one algorithm for the same task. Although it was shown that the combination of multiple peptide identification algorithms yields more robust results (Nahnsen et al. 2011, Vaudel et al. 2015, Kwon et al. 2011), it is only recently that unified approaches are emerging (Vaudel et al. 2011, Wen et al. 2015); however, workflows that, for example, aim to optimize search parameters or that employ cascaded style searches (Kertesz-Farkas et al. 2015) can only be made accessible if data analysis becomes not only unified but also and most importantly scriptable. Here we introduce Ursgal, a Python interface to many commonly used bottom-up proteomics tools and to additional auxiliary programs. Complex workflows can thus be composed using the Python scripting language using a few lines of code. Ursgal is easily extensible, and we have made several database search engines (X!Tandem (Craig and Beavis 2004), OMSSA (Geer et al. 2004), MS-GF+ (Kim et al. 2010), Myrimatch (Tabb et al. 2008), MS Amanda (Dorfer et al. 2014)), statistical postprocessing algorithms (qvality (Käll et al. 2009), Percolator (Käll et al. 2008)), and one algorithm that combines statistically postprocessed outputs from multiple search engines (“combined FDR” (Jones et al. 2009)) accessible as an interface in Python. Furthermore, we have implemented a new algorithm (“combined PEP”) that combines multiple search engines employing elements of “combined FDR” (Jones et al. 2009), PeptideShaker (Vaudel et al. 2015), and Bayes’ theorem.

*<NAME>., <NAME>., <NAME>., <NAME>. and <NAME>.
(2015):* |publicationtitle|_ *, Journal of Proteome research, 15, 788-.
DOI:10.1021/acs.jproteome.5b00860*

.. _publicationtitle: http://dx.doi.org/10.1021/acs.jproteome.5b00860
.. |publicationtitle| replace:: *Ursgal, Universal Python Module Combining Common Bottom-Up Proteomics Tools for Large-Scale Analysis*


Documentation
*************

The complete Documentation can be found at `Read the Docs`_

Besides the `Download and Installation`_ steps,
this includes a `Quick Start Tutorial`_ 
detailed documentation of the `Modules`_ and `Available Engines`_
as well as a broad set of `Example Scripts`_ and many more.


.. _Download and Installation:
    https://ursgal.readthedocs.io/en/latest/intro.html#installation

.. _Quick Start Tutorial:
    https://ursgal.readthedocs.io/en/latest/quick_start.html

.. _Example Scripts:
    https://ursgal.readthedocs.io/en/latest/example_scripts.html

.. _Modules:
    https://ursgal.readthedocs.io/en/latest/index.html#module-structure

.. _Available Engines:
    https://ursgal.readthedocs.io/en/latest/index.html#engines

.. _Read the Docs:
    http://ursgal.readthedocs.org/

.. _installation:

Download and Installation
*************************

Ursgal requires `Python`_ 3.4 or higher.
If you want to run Ursgal on a Windows system, Python 3.6 or higher is
recommended.

There are two recommended ways for installing Ursgal:

    * Installation via pip
    * Installation from the source (GitHub)

.. _Python:
   https://www.python.org/downloads/

.. _install_pip:

Installation via pip
~~~~~~~~~~~~~~~~~~~~

Execute the following command from your command line::

    user@localhost:~$ pip install ursgal

This installs Python into your Python site-packages. 

To download the executables, which we are allowed to distribute run::

    user@localhost:~$ ursgal-install-resources


You can now use it with all engines that we have built
or that we are allowed to distribute.
For all other third-party engines, a manual download from the respective
homepage is required (see also: `How to install third party engines`_)

.. note::

    Pip is included in Python 3.4 and higher. However, it might not be
    included in in your system's PATH environment variable.
    If this is the case, you can either add the Python scripts directory to your
    PATH env variable or use the path to the pip.exe directly for the
    installation, e.g.: ~/Python34/Scripts/pip.exe install ursgal

.. note::

    On Mac it may be neccesary to use Python3.6, since it comes with its
    own OpenSSL now. This may avoid problems when using pip.

.. _How to install third party engines:
    https://ursgal.readthedocs.io/en/latest/faq.html#q-how-do-i-add-an-engine-that-is-not-installed-via-install-resources-py


Installation from  source
~~~~~~~~~~~~~~~~~~~~~~~~~

1. Download Ursgal using `GitHub`_ **or** the zip file:

* GitHub version: Starting from your command line, the easiest way is to clone the GitHub repo.::

   user@localhost:~$ git clone https://github.com/ursgal/ursgal.git

* ZIP version: Alternatively, download and extract the `ursgal zip file`_

.. _GitHub:
   https://github.com/ursgal/ursgal

.. _ursgal zip file:
   https://github.com/ursgal/ursgal/archive/master.zip

2. Next, navigate into the Ursgal folder and install the requirements::

    user@localhost:~$ cd ursgal
    user@localhost:~/ursgal$ pip install -r requirements.txt

.. note::

    Pip is included in Python 3.4 and higher. However, it might not be
    included in in your system's PATH environment variable.
    If this is the case, you can either add the Python scripts directory to your
    PATH env variable or use the path to the pip.exe directly for the
    installation, e.g.: ~/Python34/Scripts/pip.exe install -r requirements.txt

.. note::

    On Mac it may be neccesary to use Python3.6, since it comes with its
    own OpenSSL now. This may avoid problems when using pip.

3. Finally, use setup.py to download third-party engines (those that we are allowed to distribute) 
and to install Ursgal into the Python site-packages::

    user@localhost:~/ursgal$ python setup.py install

If you want to install the third-party engines without installing Ursgal
into the Python site-packages you can use::

    user@localhost:~/ursgal$ python setup.py install_resources

.. note::

    Since we are not allowed to distribute all third party engines, you might need to
    download and install them on your own. See FAQ (`How to install third party engines`_) and
    the respective engine documentation for more information.

.. note::

    Under Linux, it may be required to change the permission in the
    python site-package folder so that all files are executable

(You might need administrator privileges to write in the Python site-package folder.
On Linux or OS X, use ```sudo python setup.py install``` or write into a user folder
by using this command ```python setup.py install --user```. On Windows, you have to
start the command line with administrator privileges.)



Tests
*****

Run tox in root folder. You might need to install `tox`_ for Python3 first
although it is in the requirements_dev.txt (above) thus pip install -r requirements_dev.txt
should have installed it already. Then just execute::

    user@localhost:~/ursgal$ tox

In case you only want to test one python version (e.g because you only have one installed), run for e.g. python3.5::
    
    user@localhost:~/ursgal$ tox -e py35

For other environments to run, check out the tox.ini file
to test the package.

.. _tox:
    https://tox.readthedocs.io/en/latest/


Update to v0.6.0 Warning
************************

Please note that, due to significant reorganization of UController functions as well as some uparams,
compatibility of v0.6.0 with previous versions is not given in all cases.
Most likely, your previous results will not be recognized, i.e. previously executed runs will be executed again.
Please consider this before updating to v0.6.0, check the Changelog or ask us if you have any doubts.
We are sorry for the inconvenience but changes were necessary for further development.
If you want to continue using (and modifying) v0.5.0 you can use the branch v0.5.0.


Questions and Participation
***************************

If you encounter any problems you can open up issues at GitHub, join the conversation at Gitter, or write an email to <EMAIL>. Please also check the `Frequently Asked Questions`_.

For any contributions, fork us at https://github.com/ursgal/ursgal and open up pull requests!
Please also check the `Contribution Guidelines`. Thanks!

.. _Frequently Asked Questions:
    https://ursgal.readthedocs.io/en/latest/faq.html#frequently-asked-questions

.. _Contribution Guidelines:
    https://ursgal.readthedocs.io/en/latest/contribute.html#contribute


Disclaimer
**********

Ursgal is beta and thus still contains bugs. Verify your results manually and
as common practice in science, never trust a blackbox :)

Copyrights
***********

Copyright 2014-2020 by authors and contributors in alphabetical order

* <NAME>
* <NAME>
* <NAME>
* <NAME>
* <NAME>
* <NAME>
* <NAME>
* <NAME>
* <NAME>
* <NAME>

Contact
*******

    | Dr. <NAME>
    | Institute of Pharmacy and Molecular Biotechnology
    | Heidelberg University
    | Germany
    | eMail: <EMAIL>

Citation
********

In an academic world, citations are the only credit that one can hope for ;)
Therefore, please do not forget to cite us if you use Ursagl:

<NAME>., <NAME>., <NAME>., <NAME>., and <NAME>. (2016) `Ursgal, Universal Python Module Combining Common Bottom-Up Proteomics Tools for Large-Scale Analysis`_ Journal of Proteome research 15, 788–794, DOI:10.1021/acs.jproteome.5b00860

.. _Ursgal, Universal Python Module Combining Common Bottom-Up Proteomics Tools for Large-Scale Analysis: http://dx.doi.org/10.1021/acs.jproteome.5b00860

.. note::

    Please also cite every tool you use in Ursgal. During runtime the references of
    the tools you are using are shown.

Full list of tools with proper citations that are integrated into Ursgal are:

    * <NAME>.; <NAME>. TANDEM: matching proteins with tandem mass spectra. Bioinformatics 2004, 20 (9), 1466–1467.
    * <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>. MS Amanda, a Universal Identification Algorithm Optimised for High Accuracy Tandem Mass Spectra. J. Proteome Res. 2014.
    * <NAME>.; <NAME>.; <NAME>.; <NAME>. and <NAME>. De Novo Peptide Sequencing and Identification with Precision Mass Spectrometry. J. Proteome Res. 2007 6:114-123.',
    * <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>. Open Mass Spectrometry Search Algorithm. J. Proteome res. 2004, 3 (5), 958–964.
    * <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>. Kojak: Efficient analysis of chemically cross-linked protein complexes. J Proteome Res 2015, 14, 2190-198
    * <NAME>.; <NAME>.; <NAME>.; <NAME>. Improving sensitivity in proteome studies by analysis of false discovery rates for multiple search engines. Proteomics 2009, 9 (5), 1220–1229.
    * <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>. The generating function of CID, ETD, and CID/ETD pairs of tandem mass spectra: applications to database search. MCP 2010, 2840–2852.
    * <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>. Semi-supervised learning for peptide identification from shotgun proteomics datasets. Nature methods 2007, 4 (11), 923–925.
    * <NAME>.; <NAME>.; <NAME>. Qvality: Non-parametric estimation of q-values and posterior error probabilities. Bioinformatics 2009, 25 (7), 964–966.
    * <NAME>., <NAME>, <NAME>., <NAME>., and <NAME>. MSFragger: ultrafast and comprehensive peptide identification in mass spectrometry–based proteomics. Nature methods 2017, 14, 513–520
    * <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, Fufezan C. pyQms enables universal and accurate quantification of mass spectrometry data. Mol Cell Proteomics 2017, 16, 1736-1745
    * <NAME>: real-time peptide de novo sequencing software. J Am Soc Mass Spectrom. 2015 Nov;26(11):1885-94
    * Na S, <NAME>, <NAME>. Fast multi-blind modification search through tandem mass spectrometry. Mol Cell Proteomics 2012, 11
    * <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>. JmzIdentML API: A Java interface to the mzIdentML standard for peptide and protein identification data. Proteomics 2012, 12 (6), 790–794.
    * <NAME>.; <NAME>.; <NAME>. MyriMatch: highly accurate tandem mass spectral peptide identification by multivariate hypergeometric analysis. J Proteome Res. 2008, 6 (2), 654–661.
    * <NAME>., <NAME>., <NAME>. PIPI: PTM-Invariant Peptide Identification Using Coding Method. J Prot Res 2016, 15
    * <NAME>., <NAME>., <NAME>., <NAME>., <NAME>., <NAME>., and <NAME>. (2011) compomics-utilities: an open-source Java library for computational proteomics. BMC Bioinformatics 12, 70
    * <NAME>., <NAME>., <NAME>., <NAME>., <NAME>., <NAME>., and <NAME>. (2017) pyQms enables universal and accurate quantification of mass spectrometry data. Mol. Cell. Proteomics 16, 1736–1745
    * <NAME>., <NAME>., <NAME>., and <NAME>. (2014) pyGCluster, a novel hierarchical clustering approach. Bioinformatics 30, 896–898
    * <NAME>., <NAME>., <NAME>., <NAME>., <NAME>., and <NAME>. (2012) pymzML--Python module for high-throughput bioinformatics on mass spectrometry data. Bioinformatics 28, 1052–1053
    * <NAME>., <NAME>., <NAME>., <NAME>., <NAME>., <NAME>., <NAME>., <NAME>., and <NAME>. (2018) pymzML v2.0: introducing a highly compressed and seekable gzip format. Bioinformatics 34, 2513-2514
    * <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; Peng, C.; <NAME>.;
    * Zhang, X.J.; <NAME>.; <NAME>.; Sun, R.X.; <NAME>.; Dong, M.Q.; Jiang, B.Y.; Huang, J.M.; <NAME>.; Wong ,C.C.L.; <NAME>.; <NAME>. (2017) pGlyco 2.0 enables precision N-glycoproteomics with comprehensive quality control and one-step mass spectrometry for intact glycopeptide identification. Nat Commun 8(1)
    * <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>. (2012) pParse: a method for accurate determination of monoisotopic peaks in high-resolution mass spectra. Proteomics 12(2)
    * <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>. and <NAME>. (2019) ThermoRawFileParser: modular, scalable and cross-platform RAW file conversion. bioRxiv https://doi.org/10.1101/622852
    * <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>. (2017) De novo peptide sequencing by deep learning. PNAS 114 (31) 
    * <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>. (2019) TagGraph reveals vast protein modification landscapes from large tandem mass spectrometry datasets. Nat Biotechnol. 37(4)
    * <NAME>; <NAME>; <NAME>; Zeng, WF; He, K; Liu, C; Sun, RX; He, SM. (2017) Open-pNovo: De Novo Peptide Sequencing with Thousands of Protein Modifications. J Proteome Res. 16(2)
    * <NAME>; <NAME>; Teo, GC; Nesvizhskii, AI (2020) Fast and comprehensive N- and O-glycoproteomics analysis with MSFragger-Glyco. Nat Methods 17 (11)
    * <NAME>; <NAME>; Avtonomov, DM; <NAME>; <NAME>; Nesvizhskii, AI (2020) PTM-Shepherd: analysis and summarization of post-translational and chemical modifications from open search results. bioRxiv doi: https://doi.org/10.1101/2020.07.08.192583
    * <NAME>; <NAME>; <NAME>; <NAME>; <NAME>; <NAME>; <NAME>. (2019) PTMiner: Localization and Quality Control of Protein Modifications Detected in an Open Search and Its Application to Comprehensive Post-translational Modification Characterization in Human Proteome.  Mol Cell Proteomics 18 (2)
<commit_msg>remove appveyor badge<commit_after>Introduction
############

*Ursgal - Universal Python Module Combining Common Bottom-Up Proteomics Tools for Large-Scale Analysis*

|pypi| |build-status-travis| |doc-status| |Gitter|

.. |pypi| image:: https://badge.fury.io/py/ursgal.svg
    :target: https://badge.fury.io/py/ursgal

.. |build-status-travis| image:: https://travis-ci.org/ursgal/ursgal.svg?branch=master
   :target: https://travis-ci.org/ursgal/ursgal
   :alt: Travis CI status

.. |doc-status| image:: http://readthedocs.org/projects/ursgal/badge/?version=latest
   :target: http://ursgal.readthedocs.io/en/latest/?badge=latest
   :alt: Documentation Status

.. |Gitter| image:: https://img.shields.io/gitter/room/gitterHQ/gitter.svg
   :alt: Join the chat at https://gitter.im/ursgal/ursgal
   :target: https://gitter.im/ursgal/ursgal?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge

Summary
*******

Ursgal is a Python module that offers a generalized interface to common bottom-up proteomics tools, e.g.

    a) Peptide spectrum matching with up to eight different search engines (some available in multiple versions), including three open modification search engines

    b) Evaluation and post processing of search results with up to two different engines

    c) Integration of search results from different search engines

    d) De novo sequencing with up to four different search engines

    e) Miscellaneous tools including the creation of a target decoy database as well as filtering, sanitizing and visualizing of results

Abstract
********

Proteomics data integration has become a broad field with a variety of programs offering innovative algorithms to analyze increasing amounts of data. Unfortunately, this software diversity leads to many problems as soon as the data is analyzed using more than one algorithm for the same task. Although it was shown that the combination of multiple peptide identification algorithms yields more robust results (Nahnsen et al. 2011, Vaudel et al. 2015, Kwon et al. 2011), it is only recently that unified approaches are emerging (Vaudel et al. 2011, Wen et al. 2015); however, workflows that, for example, aim to optimize search parameters or that employ cascaded style searches (Kertesz-Farkas et al. 2015) can only be made accessible if data analysis becomes not only unified but also and most importantly scriptable. Here we introduce Ursgal, a Python interface to many commonly used bottom-up proteomics tools and to additional auxiliary programs. Complex workflows can thus be composed using the Python scripting language using a few lines of code. Ursgal is easily extensible, and we have made several database search engines (X!Tandem (Craig and Beavis 2004), OMSSA (Geer et al. 2004), MS-GF+ (Kim et al. 2010), Myrimatch (Tabb et al. 2008), MS Amanda (Dorfer et al. 2014)), statistical postprocessing algorithms (qvality (Käll et al. 2009), Percolator (Käll et al. 2008)), and one algorithm that combines statistically postprocessed outputs from multiple search engines (“combined FDR” (Jones et al. 2009)) accessible as an interface in Python. Furthermore, we have implemented a new algorithm (“combined PEP”) that combines multiple search engines employing elements of “combined FDR” (Jones et al. 2009), PeptideShaker (Vaudel et al. 2015), and Bayes’ theorem.

*<NAME>., <NAME>., <NAME>., <NAME>. and <NAME>.
(2015):* |publicationtitle|_ *, Journal of Proteome research, 15, 788-.
DOI:10.1021/acs.jproteome.5b00860*

.. _publicationtitle: http://dx.doi.org/10.1021/acs.jproteome.5b00860
.. |publicationtitle| replace:: *Ursgal, Universal Python Module Combining Common Bottom-Up Proteomics Tools for Large-Scale Analysis*


Documentation
*************

The complete Documentation can be found at `Read the Docs`_

Besides the `Download and Installation`_ steps,
this includes a `Quick Start Tutorial`_ 
detailed documentation of the `Modules`_ and `Available Engines`_
as well as a broad set of `Example Scripts`_ and many more.


.. _Download and Installation:
    https://ursgal.readthedocs.io/en/latest/intro.html#installation

.. _Quick Start Tutorial:
    https://ursgal.readthedocs.io/en/latest/quick_start.html

.. _Example Scripts:
    https://ursgal.readthedocs.io/en/latest/example_scripts.html

.. _Modules:
    https://ursgal.readthedocs.io/en/latest/index.html#module-structure

.. _Available Engines:
    https://ursgal.readthedocs.io/en/latest/index.html#engines

.. _Read the Docs:
    http://ursgal.readthedocs.org/

.. _installation:

Download and Installation
*************************

Ursgal requires `Python`_ 3.4 or higher.
If you want to run Ursgal on a Windows system, Python 3.6 or higher is
recommended.

There are two recommended ways for installing Ursgal:

    * Installation via pip
    * Installation from the source (GitHub)

.. _Python:
   https://www.python.org/downloads/

.. _install_pip:

Installation via pip
~~~~~~~~~~~~~~~~~~~~

Execute the following command from your command line::

    user@localhost:~$ pip install ursgal

This installs Python into your Python site-packages. 

To download the executables, which we are allowed to distribute run::

    user@localhost:~$ ursgal-install-resources


You can now use it with all engines that we have built
or that we are allowed to distribute.
For all other third-party engines, a manual download from the respective
homepage is required (see also: `How to install third party engines`_)

.. note::

    Pip is included in Python 3.4 and higher. However, it might not be
    included in in your system's PATH environment variable.
    If this is the case, you can either add the Python scripts directory to your
    PATH env variable or use the path to the pip.exe directly for the
    installation, e.g.: ~/Python34/Scripts/pip.exe install ursgal

.. note::

    On Mac it may be neccesary to use Python3.6, since it comes with its
    own OpenSSL now. This may avoid problems when using pip.

.. _How to install third party engines:
    https://ursgal.readthedocs.io/en/latest/faq.html#q-how-do-i-add-an-engine-that-is-not-installed-via-install-resources-py


Installation from  source
~~~~~~~~~~~~~~~~~~~~~~~~~

1. Download Ursgal using `GitHub`_ **or** the zip file:

* GitHub version: Starting from your command line, the easiest way is to clone the GitHub repo.::

   user@localhost:~$ git clone https://github.com/ursgal/ursgal.git

* ZIP version: Alternatively, download and extract the `ursgal zip file`_

.. _GitHub:
   https://github.com/ursgal/ursgal

.. _ursgal zip file:
   https://github.com/ursgal/ursgal/archive/master.zip

2. Next, navigate into the Ursgal folder and install the requirements::

    user@localhost:~$ cd ursgal
    user@localhost:~/ursgal$ pip install -r requirements.txt

.. note::

    Pip is included in Python 3.4 and higher. However, it might not be
    included in in your system's PATH environment variable.
    If this is the case, you can either add the Python scripts directory to your
    PATH env variable or use the path to the pip.exe directly for the
    installation, e.g.: ~/Python34/Scripts/pip.exe install -r requirements.txt

.. note::

    On Mac it may be neccesary to use Python3.6, since it comes with its
    own OpenSSL now. This may avoid problems when using pip.

3. Finally, use setup.py to download third-party engines (those that we are allowed to distribute) 
and to install Ursgal into the Python site-packages::

    user@localhost:~/ursgal$ python setup.py install

If you want to install the third-party engines without installing Ursgal
into the Python site-packages you can use::

    user@localhost:~/ursgal$ python setup.py install_resources

.. note::

    Since we are not allowed to distribute all third party engines, you might need to
    download and install them on your own. See FAQ (`How to install third party engines`_) and
    the respective engine documentation for more information.

.. note::

    Under Linux, it may be required to change the permission in the
    python site-package folder so that all files are executable

(You might need administrator privileges to write in the Python site-package folder.
On Linux or OS X, use ```sudo python setup.py install``` or write into a user folder
by using this command ```python setup.py install --user```. On Windows, you have to
start the command line with administrator privileges.)



Tests
*****

Run tox in root folder. You might need to install `tox`_ for Python3 first
although it is in the requirements_dev.txt (above) thus pip install -r requirements_dev.txt
should have installed it already. Then just execute::

    user@localhost:~/ursgal$ tox

In case you only want to test one python version (e.g because you only have one installed), run for e.g. python3.5::
    
    user@localhost:~/ursgal$ tox -e py35

For other environments to run, check out the tox.ini file
to test the package.

.. _tox:
    https://tox.readthedocs.io/en/latest/


Update to v0.6.0 Warning
************************

Please note that, due to significant reorganization of UController functions as well as some uparams,
compatibility of v0.6.0 with previous versions is not given in all cases.
Most likely, your previous results will not be recognized, i.e. previously executed runs will be executed again.
Please consider this before updating to v0.6.0, check the Changelog or ask us if you have any doubts.
We are sorry for the inconvenience but changes were necessary for further development.
If you want to continue using (and modifying) v0.5.0 you can use the branch v0.5.0.


Questions and Participation
***************************

If you encounter any problems you can open up issues at GitHub, join the conversation at Gitter, or write an email to <EMAIL>. Please also check the `Frequently Asked Questions`_.

For any contributions, fork us at https://github.com/ursgal/ursgal and open up pull requests!
Please also check the `Contribution Guidelines`. Thanks!

.. _Frequently Asked Questions:
    https://ursgal.readthedocs.io/en/latest/faq.html#frequently-asked-questions

.. _Contribution Guidelines:
    https://ursgal.readthedocs.io/en/latest/contribute.html#contribute


Disclaimer
**********

Ursgal is beta and thus still contains bugs. Verify your results manually and
as common practice in science, never trust a blackbox :)

Copyrights
***********

Copyright 2014-2020 by authors and contributors in alphabetical order

* <NAME>
* <NAME>
* <NAME>
* <NAME>
* <NAME>
* <NAME>
* <NAME>
* <NAME>
* <NAME>
* <NAME>

Contact
*******

    | Dr. <NAME>
    | Institute of Pharmacy and Molecular Biotechnology
    | Heidelberg University
    | Germany
    | eMail: <EMAIL>

Citation
********

In an academic world, citations are the only credit that one can hope for ;)
Therefore, please do not forget to cite us if you use Ursagl:

<NAME>., <NAME>., <NAME>., <NAME>., and <NAME>. (2016) `Ursgal, Universal Python Module Combining Common Bottom-Up Proteomics Tools for Large-Scale Analysis`_ Journal of Proteome research 15, 788–794, DOI:10.1021/acs.jproteome.5b00860

.. _Ursgal, Universal Python Module Combining Common Bottom-Up Proteomics Tools for Large-Scale Analysis: http://dx.doi.org/10.1021/acs.jproteome.5b00860

.. note::

    Please also cite every tool you use in Ursgal. During runtime the references of
    the tools you are using are shown.

Full list of tools with proper citations that are integrated into Ursgal are:

    * <NAME>.; <NAME>. TANDEM: matching proteins with tandem mass spectra. Bioinformatics 2004, 20 (9), 1466–1467.
    * <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>. MS Amanda, a Universal Identification Algorithm Optimised for High Accuracy Tandem Mass Spectra. J. Proteome Res. 2014.
    * <NAME>.; <NAME>.; <NAME>.; <NAME>. and <NAME>. De Novo Peptide Sequencing and Identification with Precision Mass Spectrometry. J. Proteome Res. 2007 6:114-123.',
    * <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>. Open Mass Spectrometry Search Algorithm. J. Proteome res. 2004, 3 (5), 958–964.
    * <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>: Efficient analysis of chemically cross-linked protein complexes. J Proteome Res 2015, 14, 2190-198
    * <NAME>.; <NAME>.; <NAME>.; <NAME>. Improving sensitivity in proteome studies by analysis of false discovery rates for multiple search engines. Proteomics 2009, 9 (5), 1220–1229.
    * <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>. The generating function of CID, ETD, and CID/ETD pairs of tandem mass spectra: applications to database search. MCP 2010, 2840–2852.
    * <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>. Semi-supervised learning for peptide identification from shotgun proteomics datasets. Nature methods 2007, 4 (11), 923–925.
    * <NAME>.; <NAME>.; <NAME>. Qvality: Non-parametric estimation of q-values and posterior error probabilities. Bioinformatics 2009, 25 (7), 964–966.
    * <NAME>., <NAME>, <NAME>., <NAME>., and <NAME>. MSFragger: ultrafast and comprehensive peptide identification in mass spectrometry–based proteomics. Nature methods 2017, 14, 513–520
    * <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>. pyQms enables universal and accurate quantification of mass spectrometry data. Mol Cell Proteomics 2017, 16, 1736-1745
    * <NAME>: real-time peptide de novo sequencing software. J Am Soc Mass Spectrom. 2015 Nov;26(11):1885-94
    * <NAME>, <NAME>, <NAME>. Fast multi-blind modification search through tandem mass spectrometry. Mol Cell Proteomics 2012, 11
    * <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>. JmzIdentML API: A Java interface to the mzIdentML standard for peptide and protein identification data. Proteomics 2012, 12 (6), 790–794.
    * <NAME>.; <NAME>.; <NAME>. MyriMatch: highly accurate tandem mass spectral peptide identification by multivariate hypergeometric analysis. J Proteome Res. 2008, 6 (2), 654–661.
    * <NAME>., <NAME>., <NAME>. PIPI: PTM-Invariant Peptide Identification Using Coding Method. J Prot Res 2016, 15
    * <NAME>., <NAME>., <NAME>., <NAME>., <NAME>., <NAME>., and <NAME>. (2011) compomics-utilities: an open-source Java library for computational proteomics. BMC Bioinformatics 12, 70
    * <NAME>., <NAME>., <NAME>., <NAME>., <NAME>., <NAME>., and <NAME>. (2017) pyQms enables universal and accurate quantification of mass spectrometry data. Mol. Cell. Proteomics 16, 1736–1745
    * <NAME>., <NAME>., <NAME>., and <NAME>. (2014) pyGCluster, a novel hierarchical clustering approach. Bioinformatics 30, 896–898
    * <NAME>., <NAME>., <NAME>., <NAME>., <NAME>., and <NAME>. (2012) pymzML--Python module for high-throughput bioinformatics on mass spectrometry data. Bioinformatics 28, 1052–1053
    * <NAME>., <NAME>., <NAME>., <NAME>., <NAME>., <NAME>., <NAME>., <NAME>., and <NAME>. (2018) pymzML v2.0: introducing a highly compressed and seekable gzip format. Bioinformatics 34, 2513-2514
    * <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.;
    * <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; Wong ,C.C.L.; <NAME>.; <NAME>. (2017) pGlyco 2.0 enables precision N-glycoproteomics with comprehensive quality control and one-step mass spectrometry for intact glycopeptide identification. Nat Commun 8(1)
    * <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>. (2012) pParse: a method for accurate determination of monoisotopic peaks in high-resolution mass spectra. Proteomics 12(2)
    * <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME> <NAME>. (2019) ThermoRawFileParser: modular, scalable and cross-platform RAW file conversion. bioRxiv https://doi.org/10.1101/622852
    * <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>. (2017) De novo peptide sequencing by deep learning. PNAS 114 (31) 
    * <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>.; <NAME>. (2019) TagGraph reveals vast protein modification landscapes from large tandem mass spectrometry datasets. Nat Biotechnol. 37(4)
    * <NAME>; <NAME>; <NAME>; Zeng, WF; <NAME>; <NAME>; Sun, RX; He, SM. (2017) Open-pNovo: De Novo Peptide Sequencing with Thousands of Protein Modifications. J Proteome Res. 16(2)
    * Polasky, DA; Yu, F; Teo, GC; Nesvizhskii, AI (2020) Fast and comprehensive N- and O-glycoproteomics analysis with MSFragger-Glyco. Nat Methods 17 (11)
    * Geiszler, DJ; Kong, AT; Avtonomov, DM; Yu, F; Leprevost, FV; Nesvizhskii, AI (2020) PTM-Shepherd: analysis and summarization of post-translational and chemical modifications from open search results. bioRxiv doi: https://doi.org/10.1101/2020.07.08.192583
    * <NAME>; <NAME>; <NAME>; <NAME>; <NAME>; <NAME>; <NAME>. (2019) PTMiner: Localization and Quality Control of Protein Modifications Detected in an Open Search and Its Application to Comprehensive Post-translational Modification Characterization in Human Proteome.  Mol Cell Proteomics 18 (2)

{'fraction_non_alphanumeric': 0.11936246606532971, 'fraction_numerical': 0.03041714102227282, 'mean_word_length': 4.084298011279311, 'pattern_counts': {'":': 0, '<': 395, '<?xml version=': 0, '>': 395, 'https://': 48, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 20, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '440260', 'n_tokens_mistral': 11266, 'n_tokens_neox': 9870, 'n_words': 4188}