-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplified return object and updated example script
- Loading branch information
Showing
8 changed files
with
74 additions
and
129 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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
|
||
.. examples: | ||
.. default-domain:: py | ||
|
||
Examples | ||
######## | ||
|
||
Get parameter information | ||
------------------------- | ||
|
||
.. autofunction:: get_param_info.main |
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 |
---|---|---|
|
@@ -26,7 +26,7 @@ Contents | |
:maxdepth: 2 | ||
:caption: Contents: | ||
|
||
|
||
examples | ||
|
||
Indices and tables | ||
================== | ||
|
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,5 +1,5 @@ | ||
|
||
.. unimod_mapper: | ||
.. uparma: | ||
.. default-domain:: py | ||
|
||
|
This file was deleted.
Oops, something went wrong.
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,26 @@ | ||
#!/usr/bin/env python3 | ||
import uparma | ||
import pprint | ||
|
||
def main(): | ||
up = uparma.UParma(refresh_jsons=True) | ||
print('Original input:') | ||
input_dict = { | ||
"precursor_mass_tolerance_unit": "ppm", | ||
"min_pep_length" : 8, | ||
"max_num_mods" : 3, | ||
} | ||
pprint.pprint(input_dict) | ||
|
||
msgf_params = up.convert( | ||
input_dict, | ||
target_style = 'msgfplus_style_1' | ||
) | ||
print('\nMapped to msgf+:') | ||
pprint.pprint(msgf_params) | ||
|
||
print('\nDetails:') | ||
pprint.pprint(msgf_params.details) | ||
|
||
if __name__ == '__main__': | ||
main() |
This file was deleted.
Oops, something went wrong.
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,30 +1 @@ | ||
{ | ||
"msgfplus_style_1" : { | ||
"name" : "MS-GF+", | ||
"version" : [ | ||
"v2018.01.20", | ||
"v2018.06.28", | ||
"v2018.09.12" | ||
], | ||
"reference" : "Kim S, Mischerikow N, Bandeira N, Navarro JD, Wich L, 'Mohammed S, Heck AJ, Pevzner PA. (2010) The Generating Function of CID, ETD, and CID/ETD Pairs of Tandem Mass Spectra: Applications to Database Search." | ||
}, | ||
"msfragger_style_1" : { | ||
"name" : "MSFragger", | ||
"version" : [ | ||
"20170103" | ||
], | ||
"reference" : "Kong, A. T., Leprevost, F. V, Avtonomov, D. M., Mellacheruvu, D., and Nesvizhskii, A. I. (2017) MSFragger: ultrafast and comprehensive peptide identification in mass spectrometry-based proteomics. Nature Methods 14" | ||
}, | ||
"ursgal_style_1" : { | ||
"name" : "Ursgal", | ||
"version" : [ | ||
"0.6.0", | ||
"0.6.1" | ||
], | ||
"reference" : "Kremer, L. P. M., Leufken, J., Oyunchimeg, P., Schulze, S. & Fufezan, C. (2016) Ursgal, Universal Python Module Combining Common Bottom-Up Proteomics Tools for Large-Scale Analysis. J. Proteome res. 15, 788-794." | ||
}, | ||
"searchgui_style_1" : {}, | ||
"searchgui_style_2" : {}, | ||
"psi_ms_style_1" : {}, | ||
"xtandem_style_1" : {} | ||
} | ||
{'msgfplus_style_1': {'name': 'MS-GF+', 'version': ['v2018.01.30', 'v2018.06.28', 'v2018.09.12'], 'reference': "Kim S, Mischerikow N, Bandeira N, Navarro JD, Wich L, 'Mohammed S, Heck AJ, Pevzner PA. (2010) The Generating Function of CID, ETD, and CID/ETD Pairs of Tandem Mass Spectra: Applications to Database Search."}, 'msfragger_style_1': {'name': 'MSFragger', 'version': ['20170103'], 'reference': 'Kong, A. T., Leprevost, F. V, Avtonomov, D. M., Mellacheruvu, D., and Nesvizhskii, A. I. (2017) MSFragger: ultrafast and comprehensive peptide identification in mass spectrometry-based proteomics. Nature Methods 14'}, 'ursgal_style_1': {'name': 'Ursgal', 'version': ['0.6.0', '0.6.1'], 'reference': 'Kremer, L. P. M., Leufken, J., Oyunchimeg, P., Schulze, S. & Fufezan, C. (2016) Ursgal, Universal Python Module Combining Common Bottom-Up Proteomics Tools for Large-Scale Analysis. J. Proteome res. 15, 788-794.'}, 'searchgui_style_1': {}, 'searchgui_style_2': {}, 'psi_ms_style_1': {}, 'xtandem_style_1': {'name': 'X!Tandem', 'version': ['vengeance', 'alanine'], 'reference': ''}, 'masamanda_style_1': {'name': 'MS Amanda', 'version': ['2_0_0_9695', '2_0_0_9706', '2_0_0_10695']}} |
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