-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #108 from wilhelm-lab/feature/api
Feature/api
- Loading branch information
Showing
54 changed files
with
33,149 additions
and
32,669 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,5 +15,5 @@ full_name: Victor Giurcoiu | |
email: [email protected] | ||
project_name: oktoberfest | ||
project_short_description: Public repo oktoberfest | ||
version: 0.4.0 | ||
version: 0.5.0 | ||
license: MIT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
[flake8] | ||
select = B,B9,C,D,DAR,E,F,N,RST,S,W | ||
ignore = E203,E501,RST201,RST203,RST301,W503,D100,D212,S404,S602,B905 | ||
ignore = E203,E501,RST201,RST203,RST301,RST304,W503,D100,D212,S404,S602,B905 | ||
max-line-length = 120 | ||
max-complexity = 10 | ||
docstring-convention = google | ||
per-file-ignores = | ||
tests/*:S101 | ||
oktoberfest/__init__.py:F401 | ||
**/__init__.py:F401,F403 | ||
docs/conf.py:S404,S607,S603 | ||
docstring_style = sphinx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,117 @@ | ||
API (under development) | ||
======================= | ||
.. module:: oktoberfest | ||
|
||
.. toctree:: | ||
:maxdepth: 4 | ||
.. automodule:: oktoberfest | ||
:noindex: | ||
|
||
oktoberfest | ||
oktoberfest.data | ||
oktoberfest.utils | ||
API | ||
=== | ||
|
||
Import Oktoberfest using | ||
|
||
.. code-block:: python | ||
import oktoberfest as ok | ||
Preprocessing: :code:`pp` | ||
------------------------- | ||
|
||
.. module:: oktoberfest.pp | ||
|
||
.. currentmodule:: oktoberfest | ||
|
||
Generating libraries | ||
|
||
.. autosummary:: | ||
:toctree: api/pp | ||
|
||
pp.digest | ||
pp.gen_lib | ||
pp.merge_spectra_and_peptides | ||
|
||
Spectra preprocessing | ||
|
||
.. autosummary:: | ||
:toctree: api/pp | ||
|
||
pp.list_spectra | ||
pp.convert_spectra | ||
pp.load_spectra | ||
|
||
|
||
Peptide preprocessing | ||
|
||
.. autosummary:: | ||
:toctree: api/pp | ||
|
||
pp.convert_search | ||
pp.load_search | ||
pp.filter_peptides | ||
|
||
|
||
Predicting: :code:`pr` | ||
---------------------- | ||
|
||
.. module:: oktoberfest.pr | ||
|
||
.. currentmodule:: oktoberfest | ||
|
||
All things predictions | ||
|
||
Koina interface | ||
~~~~~~~~~~~~~~~ | ||
|
||
.. autosummary:: | ||
:toctree: api/pr | ||
|
||
pr.grpc_predict | ||
pr.infer_predictions | ||
|
||
Postprocessing koina response | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
.. autosummary:: | ||
:toctree: api/pr | ||
|
||
|
||
pr.parse_fragment_labels | ||
|
||
|
||
Rescoring: :code:`re` | ||
--------------------- | ||
|
||
.. module:: oktoberfest.re | ||
|
||
.. currentmodule:: oktoberfest | ||
|
||
General | ||
~~~~~~~ | ||
|
||
.. autosummary:: | ||
:toctree: api/re | ||
|
||
re.generate_features | ||
re.merge_input | ||
re.rescore_with_mokapot | ||
re.rescore_with_percolator | ||
|
||
|
||
Plotting: :code:`pl` | ||
--------------------- | ||
|
||
.. module:: oktoberfest.pl | ||
|
||
.. currentmodule:: oktoberfest | ||
|
||
General | ||
~~~~~~~ | ||
|
||
.. autosummary:: | ||
:toctree: api/pl | ||
|
||
pl.plot_score_distribution | ||
pl.joint_plot | ||
pl.plot_gain_loss | ||
pl.plot_mean_sa_ce | ||
pl.plot_violin_sa_ce | ||
pl.plot_pred_rt_vs_irt | ||
pl.plot_all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
:github_url: {{ fullname | modurl }} | ||
|
||
{% extends "!autosummary/base.rst" %} | ||
|
||
.. http://www.sphinx-doc.org/en/stable/ext/autosummary.html#customizing-templates |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.