-
Notifications
You must be signed in to change notification settings - Fork 12
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
Parse settings #101
Parse settings #101
Changes from 1 commit
8fc4166
f5445a7
f05c2a9
56e846f
b8a56b1
d7e38b7
532157f
9b69350
be17263
27079ef
fcce49f
dc1233e
07ff672
8ab896a
a83dbcf
030eb20
682825d
33aebf4
df208d2
5a95fa0
f47c6fc
769624a
27f8f1f
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 |
---|---|---|
|
@@ -2,29 +2,30 @@ | |
from typing import Optional | ||
|
||
|
||
# Reference for parameter names | ||
# https://github.com/bigbio/proteomics-sample-metadata/blob/master/sdrf-proteomics/assets/param2sdrf.yml | ||
# new name as comment | ||
@dataclass | ||
class ProteoBenchParameters: | ||
search_engine: Optional[str] = None | ||
software_version: Optional[str] = None | ||
fdr_psm: Optional[str] = None | ||
fdr_peptide: Optional[str] = None | ||
fdr_protein: Optional[str] = None | ||
MBR: Optional[str] = None | ||
precursor_tol: Optional[str] = None | ||
fdr_psm: Optional[str] = None # ident_fdr_psm | ||
fdr_peptide: Optional[str] = None # ident_fdr_peptide | ||
fdr_protein: Optional[str] = None # ident_fdr_protein | ||
MBR: Optional[str] = None # enable_match_between_runs | ||
precursor_tol: Optional[ | ||
str | ||
] = None # precursor_mass_tolerance, value and unit not separated | ||
precursor_tol_unit: Optional[str] = None | ||
mlocardpaulet marked this conversation as resolved.
Show resolved
Hide resolved
|
||
fragment_tol: Optional[str] = None | ||
fragment_tol: Optional[ | ||
str | ||
] = None # fragment_mass_tolerance, value and unit not separated | ||
fragment_tol_unit: Optional[str] = None | ||
mlocardpaulet marked this conversation as resolved.
Show resolved
Hide resolved
|
||
enzyme_name: Optional[str] = None | ||
missed_cleavages: Optional[str] = None | ||
min_pep_length: Optional[str] = None | ||
max_pep_length: Optional[str] = None | ||
fixed_modifications: Optional[str] = None | ||
variable_modifications: Optional[str] = None | ||
max_num_modifications: Optional[str] = None | ||
precursor_charge: Optional[str] = None | ||
|
||
|
||
# params = ProteoBenchParameters() | ||
# params.search_engine = "MaxQuant" | ||
# params | ||
# %% | ||
enzyme_name: Optional[str] = None # enzyme | ||
missed_cleavages: Optional[str] = None # allowed_miscleavages | ||
min_pep_length: Optional[str] = None # min_peptide_length | ||
max_pep_length: Optional[str] = None # max_peptide_length | ||
fixed_modifications: Optional[str] = None # fixex_mods | ||
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. should be 'fixed_mods' |
||
variable_modifications: Optional[str] = None # variable_mods | ||
max_num_modifications: Optional[str] = None # max_mods | ||
precursor_charge: Optional[str] = None # min_precursor_charge | ||
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. if we don't enter all the possible precursor charges, then we should have min_ and max_precursor_charge 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. But the maximum can be unlimited in some tools? 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 am not sure. I guess that if this happens, we'll have a missing value there. 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. MQ specifies a range of min. and max. charge. We only have a problem if a tools would e.g. allow peptides with charges 2,3 and 5, but excludes charges with 4. But I guess this is quite uncommon? 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. Yep, you are absolutely right. There could be an issue in this case. I don't like this. 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. In that case yes, as we should not diverge from SDRF-extended. |
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.
There are two parameters missing, and I did not find the correspondance in the SDRF doc. But maybe I missed it:
'software_name' for the software tool (that combines a search engine and some algorithms for quantification)
'search_engine_version'
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.
yes, me neither. I guess this is something SDRF does intend to have.
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.
Could you check with Veit? Or anybody else? I think that we don't take any risk any way if we name them this way, No?
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.
no, we can decide the name for parameters specific to our needs. SDRF is independent of software tools, so it would not make sense to have this kind of information there.