29 using namespace pwiz::util;
31 using namespace pwiz::chemistry;
32 using namespace pwiz::data::unimod;
33 using namespace boost::logic;
41 if (
os_) *
os_ <<
"test()\n";
98 indeterminate, indeterminate,
99 Site::Any, Position::AnyNTerminus).size());
101 indeterminate, indeterminate,
102 Site::Any, Position::AnyNTerminus)[0].cvid);
139 Classification::PostTranslational).size());
156 double mass_2000Da_1ppm = 2000 - (2000 -
MZTolerance(1, MZTolerance::PPM));
170 Position::AnyNTerminus)[0].cvid);
186 int main(
int argc,
char* argv[])
192 if (argc>1 && !strcmp(argv[1],
"-v"))
os_ = &cout;
PWIZ_API_DECL const Modification & modification(CVID cvid)
find a modification by CVID
#define unit_assert_throws_what(x, exception, whatStr)
PWIZ_API_DECL const CV & cv(const std::string &prefix)
returns a CV object for the specified namespace (prefix); currently supported namespaces are: MS UO ...
MS_modification_specificity_C_term
modification specificity C-term: As parameter for search engine: apply the modification only C-termin...
() Anywhere() AnyNTerminus() AnyCTerminus()() Any(1<< 0)(Artifact)(1<< 1)(ChemicalDerivative)(1<< 2)(CoTranslational)(1<< 3)(IsotopicLabel)(1<< 4)(Multiple)(1<< 5)(NLinkedGlycosylation)(1<< 6)(NonStandardResidue)(1<< 7)(OLinkedGlycosylation)(1<< 8)(OtherGlycosylation)(1<< 9)(Other)(1<< 10)(PostTranslational)(1<< 11)(PreTranslational)(1<< 12)(Substitution)(1<< 13)) struct PWIZ_API_DECL Modification
a modification from Unimod
UNIMOD_Acetyl
Acetyl: Acetylation.
MS_modification_specificity_N_term
modification specificity N-term: As parameter for search engine: apply the modification only N-termin...
PWIZ_API_DECL const std::vector< Modification > & modifications()
the entire list of Unimod modifications
#define unit_assert_operator_equal(expected, actual)
UNIMOD_Met__Hse
Met->Hse: Homoserine.
PWIZ_API_DECL Position position(CVID cvid=CVID_Unknown)
returns a Position corresponding to one of the following CVIDs: CVID_Unknown: Position::Anywhere MS_m...
UNIMOD_Phospho
Phospho: Phosphorylation.
struct for expressing m/z tolerance in either amu or ppm
MS_ion_trap
ion trap: A device for spatially confining ions using electric and magnetic fields alone or in combin...
#define TEST_PROLOG(argc, argv)
UNIMOD_Gln__pyro_Glu
Gln->pyro-Glu: Pyro-glu from Q.
() Anywhere() AnyNTerminus() AnyCTerminus() ProteinNTerminus(ProteinCTerminus)) BOOST_BITFIELD_EX(Classification
UNIMOD_Oxidation
Oxidation: Oxidation or Hydroxylation.
PWIZ_API_DECL Site site(char symbol)
returns the Site given a one-letter residue code, or: 'x' for Site::Any, 'n' for Site::NTerminus, 'c' for Site::CTerminus