-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor readers x #252
base: refactor_readers_IX
Are you sure you want to change the base?
Refactor readers x #252
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
@@ -262,3 +265,4 @@ sage: | |||
'peptide_fdr': 'peptide_q' | |||
'protein_fdr': 'protein_q' | |||
'decoy': 'is_decoy' | |||
modification_mapping_type: 'maxquant' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if this has an effect. sage uses a different mapping method to my knowledge.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch .. this works because in sageReader, _translate_modifications() is overwritten .. will change the yaml
@@ -13,13 +13,8 @@ alphapept: | |||
'raw_name': 'raw_name' #parse from `ms_data.hdf`` file | |||
'fdr': 'q_value' | |||
'decoy': 'decoy' | |||
modification_mapping: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we shall show here that if search engines use unimod_id
@@ -119,8 +124,7 @@ pfind: | |||
'uniprot_ids': 'Proteins' | |||
'fdr': 'Q-value' | |||
'decoy': ['Target/Decoy', 'Targe/Decoy'] | |||
modification_mapping: | |||
'': '' | |||
modification_mapping_type: 'maxquant' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pFind does not use MaxQuant-like PTM format? Did this pass the pFind tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch .. this works because in pFindReader, _translate_modifications() is overwritten .. will change the yaml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pFind-specific testing result is required
move more responsibility to psm_reader.yaml
also, changed the structure of
psm_reader.yaml
: all modification_mappings are now gathered under one key and referenced by readers.. let me know what you think!