smith-chem-wisc / mzLib

Library for mass spectrometry projects
GNU Lesser General Public License v3.0
26 stars 33 forks source link

Get Modifications from Full Sequence #796

Open nbollis opened 2 months ago

nbollis commented 2 months ago

Added two methods in IBiopolymerWithSetModifications allowing one to get out a list or dictionary of modifications from the full sequence and a dictionary of all known modifications.

One private method from PeptideWithSetMods was deleted as it is now obsolete

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 98.33333% with 1 line in your changes missing coverage. Please review.

Project coverage is 76.49%. Comparing base (6c18e9f) to head (da7ee7d).

Files with missing lines Patch % Lines
...ib/Readers/SearchResults/SpectrumMatchTsvReader.cs 0.00% 1 Missing :warning:
Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/smith-chem-wisc/mzLib/pull/796/graphs/tree.svg?width=650&height=150&src=pr&token=1lXMC2BqYG&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=smith-chem-wisc)](https://app.codecov.io/gh/smith-chem-wisc/mzLib/pull/796?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=smith-chem-wisc) ```diff @@ Coverage Diff @@ ## master #796 +/- ## ======================================= Coverage 76.48% 76.49% ======================================= Files 211 211 Lines 31960 31963 +3 Branches 3286 3287 +1 ======================================= + Hits 24446 24449 +3 Misses 6954 6954 Partials 560 560 ``` | [Files with missing lines](https://app.codecov.io/gh/smith-chem-wisc/mzLib/pull/796?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=smith-chem-wisc) | Coverage Δ | | |---|---|---| | [mzLib/MzLibUtil/MzLibException.cs](https://app.codecov.io/gh/smith-chem-wisc/mzLib/pull/796?src=pr&el=tree&filepath=mzLib%2FMzLibUtil%2FMzLibException.cs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=smith-chem-wisc#diff-bXpMaWIvTXpMaWJVdGlsL016TGliRXhjZXB0aW9uLmNz) | `100.00% <ø> (ø)` | | | [mzLib/Omics/IBioPolymerWithSetMods.cs](https://app.codecov.io/gh/smith-chem-wisc/mzLib/pull/796?src=pr&el=tree&filepath=mzLib%2FOmics%2FIBioPolymerWithSetMods.cs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=smith-chem-wisc#diff-bXpMaWIvT21pY3MvSUJpb1BvbHltZXJXaXRoU2V0TW9kcy5jcw==) | `98.68% <100.00%> (+3.44%)` | :arrow_up: | | [...ib/Proteomics/AminoAcidPolymer/AminoAcidPolymer.cs](https://app.codecov.io/gh/smith-chem-wisc/mzLib/pull/796?src=pr&el=tree&filepath=mzLib%2FProteomics%2FAminoAcidPolymer%2FAminoAcidPolymer.cs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=smith-chem-wisc#diff-bXpMaWIvUHJvdGVvbWljcy9BbWlub0FjaWRQb2x5bWVyL0FtaW5vQWNpZFBvbHltZXIuY3M=) | `97.47% <100.00%> (ø)` | | | [...roteolyticDigestion/PeptideWithSetModifications.cs](https://app.codecov.io/gh/smith-chem-wisc/mzLib/pull/796?src=pr&el=tree&filepath=mzLib%2FProteomics%2FProteolyticDigestion%2FPeptideWithSetModifications.cs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=smith-chem-wisc#diff-bXpMaWIvUHJvdGVvbWljcy9Qcm90ZW9seXRpY0RpZ2VzdGlvbi9QZXB0aWRlV2l0aFNldE1vZGlmaWNhdGlvbnMuY3M=) | `95.93% <100.00%> (-0.23%)` | :arrow_down: | | [...ib/Readers/SearchResults/SpectrumMatchTsvReader.cs](https://app.codecov.io/gh/smith-chem-wisc/mzLib/pull/796?src=pr&el=tree&filepath=mzLib%2FReaders%2FSearchResults%2FSpectrumMatchTsvReader.cs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=smith-chem-wisc#diff-bXpMaWIvUmVhZGVycy9TZWFyY2hSZXN1bHRzL1NwZWN0cnVtTWF0Y2hUc3ZSZWFkZXIuY3M=) | `95.79% <0.00%> (ø)` | |