23 #ifndef _PROTEINLIST_DECOYGENERATOR_HPP_ 24 #define _PROTEINLIST_DECOYGENERATOR_HPP_ 29 #include <boost/cstdint.hpp> 52 virtual const std::string&
decoyPrefix()
const {
return decoyPrefix_;}
66 virtual size_t size()
const;
67 virtual size_t find(
const std::string&
id)
const;
68 virtual ProteinPtr protein(
size_t index,
bool getSequence =
true)
const;
73 boost::shared_ptr<Impl>
impl_;
99 boost::shared_ptr<Impl>
impl_;
107 #endif // _PROTEINLIST_DECOYGENERATOR_HPP_ Inheritable pass-through implementation for wrapping a ProteinList.
virtual const std::string & decoyPrefix() const
return the string prefixed to a protein id to indicate it is a decoy
creates a randomly shuffled copy of every target protein with the specified decoy string prefixed to ...
creates a reversed copy of every target protein with the specified decoy string prefixed to the id ...
client-implemented generator predicate – called during construction of ProteinList_DecoyGenerator t...
boost::shared_ptr< Impl > impl_
boost::shared_ptr< ProteinList > ProteinListPtr
boost::shared_ptr< Protein > ProteinPtr
ProteinList decoy generator for creating decoy proteins on the fly.
boost::shared_ptr< Impl > impl_
boost::shared_ptr< Predicate > PredicatePtr