-
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
Changes from 7 commits
dd6923a
f0e5d7b
c3ed0df
c6189bd
1e975e5
b8e091b
36ccc7d
2f7f75a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,13 +13,8 @@ alphapept: | |
'raw_name': 'raw_name' #parse from `ms_data.hdf`` file | ||
'fdr': 'q_value' | ||
'decoy': 'decoy' | ||
modification_mapping: | ||
'Carbamidomethyl@C': 'cC' | ||
'Oxidation@M': 'oxM' | ||
'Phospho@S': 'pS' | ||
'Phospho@T': 'pT' | ||
'Phospho@Y': 'pY' | ||
'Acetyl@Protein_N-term': 'a' | ||
modification_mapping_type: 'alphapept' | ||
|
||
|
||
maxquant: | ||
reader_type: maxquant | ||
|
@@ -49,7 +44,10 @@ maxquant: | |
'genes': ['Gene Names','Gene names'] | ||
'decoy': 'Reverse' | ||
'intensity': 'Intensity' | ||
modification_mapping: | ||
modification_mapping_type: 'maxquant' | ||
|
||
modification_mappings: | ||
maxquant: | ||
'Dimethyl@K': | ||
- 'K(Dimethyl)' | ||
'Dimethyl@R': | ||
|
@@ -103,6 +101,13 @@ maxquant: | |
'Deamidated@Q': ['Q(Deamidation (NQ))','Q(de)'] | ||
'GlyGly@K': ['K(GlyGly (K))', 'K(gl)'] | ||
'hydroxyisobutyryl@K': 'K(2-)' | ||
alphapept: | ||
'Carbamidomethyl@C': 'cC' | ||
'Oxidation@M': 'oxM' | ||
'Phospho@S': 'pS' | ||
'Phospho@T': 'pT' | ||
'Phospho@Y': 'pY' | ||
'Acetyl@Protein_N-term': 'a' | ||
|
||
pfind: | ||
reader_type: pfind | ||
|
@@ -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 commentThe 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 commentThe 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 |
||
|
||
msfragger_pepxml: | ||
reader_type: msfragger_pepxml | ||
|
@@ -136,8 +140,6 @@ msfragger_pepxml: | |
'proteins': 'protein' | ||
'raw_name': 'raw_name' | ||
'mobility': 'ion_mobility' | ||
modification_mapping: | ||
'': '' | ||
mass_mapped_mods: | ||
- 'Oxidation@M' #other Oxidation@X are not needed here | ||
- 'Carbamidomethyl@C' | ||
|
@@ -150,6 +152,7 @@ msfragger_pepxml: | |
- 'Dimethyl@K' # Any_N-term is not needed here as it will be infered in-the-fly | ||
- 'Methyl@E' #an example of a PTM that can be C-term | ||
mod_mass_tol: 0.1 # Da | ||
modification_mapping_type: 'maxquant' | ||
|
||
diann: | ||
reader_type: diann | ||
|
@@ -172,7 +175,7 @@ diann: | |
'fdr': 'Q.Value' | ||
mod_seq_columns: | ||
- "Modified.Sequence" | ||
modification_mapping: 'maxquant' | ||
modification_mapping_type: 'maxquant' | ||
|
||
spectronaut_report: | ||
reader_type: spectronaut_report | ||
|
@@ -188,7 +191,7 @@ spectronaut_report: | |
'charge': 'charge' | ||
mod_seq_columns: | ||
- 'ModifiedSequence' | ||
modification_mapping: 'maxquant' | ||
modification_mapping_type: 'maxquant' | ||
|
||
spectronaut: | ||
reader_type: spectronaut | ||
|
@@ -212,7 +215,7 @@ spectronaut: | |
- 'ModifiedPeptideSequence' | ||
- 'LabeledSequence' | ||
- 'FullUniModPeptideName' | ||
modification_mapping: 'maxquant' | ||
modification_mapping_type: 'maxquant' | ||
|
||
library_reader_base: | ||
reader_type: library_reader_base | ||
|
@@ -243,11 +246,11 @@ library_reader_base: | |
- 'FullUniModPeptideName' | ||
- 'LabeledSequence' | ||
- 'FullUniModPeptideName' | ||
modification_mapping: 'maxquant' | ||
modification_mapping_type: 'maxquant' | ||
|
||
sage: | ||
reader_type: sage | ||
rt_unit: minute | ||
rt_unit: second | ||
column_mapping: | ||
'modified_sequence': 'peptide' | ||
'sequence': 'stripped_peptide' | ||
|
@@ -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 commentThe 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 commentThe 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 |
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