43 #include <boost/bind.hpp> 44 #include <boost/lexical_cast.hpp> 45 #include <boost/random/mersenne_twister.hpp> 46 #include <boost/random/uniform_int.hpp> 47 #include <boost/random/variate_generator.hpp> 85 typedef boost::unordered_map<size_t, boost::unordered_map<String, std::set<std::string> > >
SequenceMapT;
86 typedef boost::unordered_map<size_t, boost::unordered_map<String, std::vector<std::pair<double, std::string> > > >
IonMapT;
87 typedef std::map<String, std::vector<std::pair<std::string, double> > >
PeptideMapT;
90 typedef boost::unordered_map<String, TargetedExperiment::Peptide>
TargetDecoyMapT;
105 void reannotateTransitions(
OpenMS::TargetedExperiment& exp,
double precursor_mz_threshold,
double product_mz_threshold, std::vector<String> fragment_types, std::vector<size_t> fragment_charges,
bool enable_specific_losses,
bool enable_unspecific_losses,
int round_decPow = -4);
117 void restrictTransitions(
OpenMS::TargetedExperiment& exp,
double lower_mz_limit,
double upper_mz_limit, std::vector<std::pair<double, double> > swathes);
146 std::vector<String> fragment_types,
147 std::vector<size_t> fragment_charges,
148 bool enable_specific_losses,
149 bool enable_unspecific_losses,
150 bool enable_ms2_precursors,
152 std::vector<std::pair<double, double> > swathes,
153 int round_decPow = -4,
154 size_t max_num_alternative_localizations = 20,
155 int shuffle_seed = -1,
156 bool disable_decoy_transitions =
false);
168 std::vector<std::string> getMatchingPeptidoforms_(
const double fragment_ion,
169 const std::vector<std::pair<double, std::string> >& ions,
170 const double mz_threshold);
180 int getSwath_(
const std::vector<std::pair<double, double> >& swathes,
const double precursor_mz);
191 bool isInSwath_(
const std::vector<std::pair<double, double> >& swathes,
const double precursor_mz,
const double product_mz);
201 std::string getRandomSequence_(
size_t sequence_size, boost::variate_generator<boost::mt19937&, boost::uniform_int<> > pseudoRNG);
211 std::vector<std::vector<size_t> > nchoosekcombinations_(std::vector<size_t> n,
size_t k);
224 std::vector<OpenMS::AASequence> addModificationsSequences_(std::vector<OpenMS::AASequence> sequences, std::vector<std::vector<size_t> > mods_combs,
OpenMS::String modification);
265 std::vector<String> fragment_types,
266 std::vector<size_t> fragment_charges,
267 bool enable_specific_losses,
268 bool enable_unspecific_losses,
269 bool enable_ms2_precursors,
270 std::vector<std::pair<double, double> > swathes,
272 size_t max_num_alternative_localizations,
283 void generateDecoySequences_(boost::unordered_map<
size_t,
284 boost::unordered_map<
String, std::set<std::string> > >& TargetSequenceMap,
285 boost::unordered_map<String, String>& DecoySequenceMap,
295 std::vector<String> fragment_types, std::vector<size_t> fragment_charges,
296 bool enable_specific_losses,
297 bool enable_unspecific_losses,
298 bool enable_ms2_precursors,
299 std::vector<std::pair<double, double> > swathes,
303 boost::unordered_map<String, String>& DecoySequenceMap,
315 std::vector<std::pair<double, double> > swathes,
331 std::vector<std::pair<double, double> > swathes,
boost::unordered_map< size_t, boost::unordered_map< String, std::set< std::string > > > SequenceMapT
Definition: MRMAssay.h:85
Generate assays from a TargetedExperiment.
Definition: MRMAssay.h:66
A more convenient string class.
Definition: String.h:57
Representation of a peptide/protein sequence.
Definition: AASequence.h:107
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
boost::unordered_map< size_t, boost::unordered_map< String, std::vector< std::pair< double, std::string > > > > IonMapT
Definition: MRMAssay.h:86
std::map< String, std::vector< std::pair< std::string, double > > > PeptideMapT
Definition: MRMAssay.h:87
boost::unordered_map< String, TargetedExperiment::Peptide > TargetDecoyMapT
Definition: MRMAssay.h:90
boost::unordered_map< String, String > SequenceMap_T
Definition: MRMAssay.h:88
std::vector< OpenMS::TargetedExperiment::Peptide > PeptideVectorType
Definition: MRMAssay.h:80
std::vector< OpenMS::TargetedExperiment::Protein > ProteinVectorType
Definition: MRMAssay.h:79
Base class for all classes that want to report their progress.
Definition: ProgressLogger.h:54
A description of a targeted experiment containing precursor and production ions.
Definition: TargetedExperiment.h:61
std::vector< OpenMS::ReactionMonitoringTransition > TransitionVectorType
Definition: MRMAssay.h:81
std::map< String, std::vector< const ReactionMonitoringTransition * > > PeptideTransitionMapType
Definition: MRMAssay.h:83