ProteoWizard
|
#include "pwiz/utility/misc/unit.hpp"
#include "PeptideID_dataFetcher.hpp"
#include "Feature_dataFetcher.hpp"
#include "pwiz/utility/proteome/Ion.hpp"
#include "pwiz/utility/misc/Std.hpp"
#include <iomanip>
Go to the source code of this file.
Classes | |
struct | IsSQ |
Typedefs | |
typedef boost::shared_ptr < PeptideID_dataFetcher > | PidfPtr |
Functions | |
SpectrumQuery | makeSpectrumQuery (double precursorNeutralMass, double rt, int charge, string sequence, double score, int startScan, int endScan) |
PidfPtr | makePeptideID_dataFetcher (const char *samplePepXML) |
void | testPeptideID_dataFetcherConstructor () |
void | testMerge () |
int | main (int argc, char *argv[]) |
Variables | |
ostream * | os_ = 0 |
const char * | samplePepXML = "</msms_pipeline_analysis>\n" |
typedef boost::shared_ptr<PeptideID_dataFetcher> PidfPtr |
Definition at line 35 of file PeptideID_dataFetcherTest.cpp.
SpectrumQuery makeSpectrumQuery | ( | double | precursorNeutralMass, |
double | rt, | ||
int | charge, | ||
string | sequence, | ||
double | score, | ||
int | startScan, | ||
int | endScan | ||
) |
Definition at line 95 of file PeptideID_dataFetcherTest.cpp.
References pwiz::data::pepxml::PeptideProphetResult::allNttProb, pwiz::data::pepxml::AnalysisResult::analysis, pwiz::data::pepxml::SearchHit::analysisResult, pwiz::data::pepxml::SpectrumQuery::assumedCharge, pwiz::data::pepxml::SpectrumQuery::endScan, pwiz::data::pepxml::SearchHit::peptide, pwiz::data::pepxml::AnalysisResult::peptideProphetResult, pwiz::data::pepxml::SpectrumQuery::precursorNeutralMass, pwiz::data::pepxml::PeptideProphetResult::probability, pwiz::data::pepxml::SpectrumQuery::retentionTimeSec, pwiz::data::pepxml::SearchResult::searchHit, pwiz::data::pepxml::SpectrumQuery::searchResult, and pwiz::data::pepxml::SpectrumQuery::startScan.
PidfPtr makePeptideID_dataFetcher | ( | const char * | samplePepXML | ) |
Definition at line 130 of file PeptideID_dataFetcherTest.cpp.
Referenced by test(), and testPeptideID_dataFetcherConstructor().
void testPeptideID_dataFetcherConstructor | ( | ) |
Definition at line 157 of file PeptideID_dataFetcherTest.cpp.
References makePeptideID_dataFetcher(), makeSpectrumQuery(), pwiz::chemistry::Ion::mz(), os_, samplePepXML, unit_assert, and pwiz::data::pepxml::SpectrumQuery::write().
Referenced by main().
void testMerge | ( | ) |
Definition at line 202 of file PeptideID_dataFetcherTest.cpp.
References pwiz::Bin< T >::getAllContents(), pwiz::eharmony::PeptideID_dataFetcher::getBin(), makeSpectrumQuery(), pwiz::eharmony::PeptideID_dataFetcher::merge(), pwiz::data::pepxml::MSMSPipelineAnalysis::msmsRunSummary, os_, pwiz::data::pepxml::SpectrumQuery::retentionTimeSec, pwiz::data::pepxml::MSMSRunSummary::spectrumQueries, and unit_assert.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 240 of file PeptideID_dataFetcherTest.cpp.
References e(), os_, testMerge(), and testPeptideID_dataFetcherConstructor().
ostream* os_ = 0 |
Definition at line 37 of file PeptideID_dataFetcherTest.cpp.
const char* samplePepXML = "</msms_pipeline_analysis>\n" |
Definition at line 39 of file PeptideID_dataFetcherTest.cpp.
Referenced by test(), testIStream(), and testPeptideID_dataFetcherConstructor().