ProteoWizard
Exporter.hpp
Go to the documentation of this file.
1 //
2 // $Id: Exporter.hpp 1539 2009-11-19 20:12:28Z khoff $
3 //
4 //
5 // Original author: Kate Hoff <katherine.hoff@proteowizard.org>
6 //
7 // Copyright 2009 Center for Applied Molecular Medicine
8 // University of Southern California, Los Angeles, CA
9 //
10 // Licensed under the Apache License, Version 2.0 (the "License");
11 // you may not use this file except in compliance with the License.
12 // You may obtain a copy of the License at
13 //
14 // http://www.apache.org/licenses/LICENSE-2.0
15 //
16 // Unless required by applicable law or agreed to in writing, software
17 // distributed under the License is distributed on an "AS IS" BASIS,
18 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 // See the License for the specific language governing permissions and
20 // limitations under the License.
21 //
22 
23 ///
24 /// Exporter.hpp
25 ///
26 
27 #ifndef _EXPORTER_HPP_
28 #define _EXPORTER_HPP_
29 
30 #include "PeptideMatcher.hpp"
32 #include "pwiz/utility/proteome/Ion.hpp"
33 
34 namespace pwiz{
35 namespace eharmony{
36 
37 typedef boost::shared_ptr<DataFetcherContainer> DfcPtr;
38 
39 struct Exporter
40 {
41  Exporter(const PeptideMatcher& pm, const Feature2PeptideMatcher& f2pm) : _pm(pm), _f2pm(f2pm) {}
42 
43  void writePM(ostream& os);
44  void writeWigglePlot(ostream& os);
45  void writeRTCalibrationPlot(ostream& os);
46  void writeFunnyPeptides(ostream& os);
47  void writeOKPeptides(ostream& os);
48  void writeF2PM(ostream& os);
49  void writeROCStats(ostream& os);
50  void writePepXML(MSMSPipelineAnalysis& mspa, ostream& os);
51  void writeCombinedPepXML(MSMSPipelineAnalysis& mspa, ostream& os);
52  void writeRInputFile(ostream& os);
53  void writeTruePositives(ostream& os);
54  void writeFalsePositives(ostream& os);
55  void writeTrueNegatives(ostream& os);
56  void writeFalseNegatives(ostream& os);
57  void writeUnknownPositives(ostream& os);
58  void writeUnknownNegatives(ostream& os);
59  void writeRTCalibrationData(ostream& ospep, ostream& osf0, ostream& osf1);
60  void writeAnchors(ostream& os);
61 
65 
66 };
67 
68 } // namespace eharmony
69 } // namespace pwiz
70 
71 #endif