ProteoWizard
|
#include "pwiz/utility/misc/unit.hpp"
#include "pwiz/utility/misc/Std.hpp"
#include "pwiz/data/common/Unimod.hpp"
#include "IdentData.hpp"
#include "Serializer_mzid.hpp"
#include "examples.hpp"
#include "Diff.hpp"
#include "TextWriter.hpp"
Go to the source code of this file.
Macros | |
#define | PWIZ_SOURCE |
Functions | |
void | testDigestedPeptides () |
void | testSnapModifications () |
void | testConversion () |
void | testCleavageAgent () |
int | main (int argc, char **argv) |
Variables | |
ostream * | os_ |
#define PWIZ_SOURCE |
Definition at line 24 of file IdentDataTest.cpp.
void testDigestedPeptides | ( | ) |
Definition at line 46 of file IdentDataTest.cpp.
References pwiz::identdata::DataCollection::analysisData, pwiz::identdata::IdentData::analysisProtocolCollection, pwiz::identdata::IdentData::dataCollection, pwiz::identdata::digestedPeptide(), pwiz::identdata::digestedPeptides(), pwiz::identdata::examples::initializeBasicSpectrumIdentification(), MS_no_cleavage, MS_Trypsin_P, MS_unspecific_cleavage, pwiz::identdata::AnalysisData::spectrumIdentificationList, pwiz::identdata::AnalysisProtocolCollection::spectrumIdentificationProtocol, unit_assert, and unit_assert_operator_equal.
Referenced by main().
void testSnapModifications | ( | ) |
Definition at line 304 of file IdentDataTest.cpp.
References pwiz::identdata::IdentData::analysisCollection, pwiz::identdata::IdentData::analysisProtocolCollection, diff(), pwiz::identdata::examples::initializeBasicSpectrumIdentification(), os_, pwiz::identdata::SequenceCollection::peptides, pwiz::identdata::IdentData::sequenceCollection, pwiz::identdata::snapModificationsToUnimod(), pwiz::identdata::AnalysisCollection::spectrumIdentification, pwiz::identdata::AnalysisProtocolCollection::spectrumIdentificationProtocol, and unit_assert.
Referenced by main().
void testConversion | ( | ) |
Definition at line 329 of file IdentDataTest.cpp.
References pwiz::identdata::Modification::avgMassDelta, pwiz::util::virtual_map< keyT, valueT, _Pr, _Alloc >::count(), pwiz::proteome::ModificationMap::CTerminus(), pwiz::proteome::ModificationMap::find(), pwiz::identdata::examples::initializeBasicSpectrumIdentification(), pwiz::identdata::Modification::location, pwiz::data::unimod::modification(), pwiz::identdata::Peptide::modification, pwiz::proteome::Peptide::modifications(), pwiz::proteome::Modification::monoisotopicDeltaMass(), pwiz::identdata::Modification::monoisotopicMassDelta, pwiz::proteome::ModificationMap::NTerminus(), pwiz::identdata::peptide(), pwiz::identdata::SequenceCollection::peptides, pwiz::identdata::Peptide::peptideSequence, pwiz::identdata::Modification::residues, pwiz::proteome::Peptide::sequence(), pwiz::identdata::IdentData::sequenceCollection, pwiz::data::ParamContainer::set(), pwiz::util::virtual_map< keyT, valueT, _Pr, _Alloc >::size(), UNIMOD_Amidated, UNIMOD_Carbamidomethyl, UNIMOD_Phospho, UNIMOD_TMT6plex, unit_assert_equal, and unit_assert_operator_equal.
Referenced by main().
void testCleavageAgent | ( | ) |
Definition at line 382 of file IdentDataTest.cpp.
References pwiz::identdata::cleavageAgent(), pwiz::identdata::Enzyme::enzymeName, MS_Trypsin, MS_Trypsin_P, pwiz::identdata::Identifiable::name, pwiz::data::ParamContainer::set(), pwiz::identdata::Enzyme::siteRegexp, unit_assert_operator_equal, and pwiz::data::ParamContainer::userParams.
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 410 of file IdentDataTest.cpp.
References os_, TEST_EPILOG, TEST_FAILED, TEST_PROLOG, testCleavageAgent(), testConversion(), testDigestedPeptides(), and testSnapModifications().
ostream* os_ |
Definition at line 43 of file IdentDataTest.cpp.
Referenced by main(), and testSnapModifications().