 |
OpenMS
3.0.0
|
|
Go to the documentation of this file.
43 class DigestionEnzymeProtein;
80 const int max_attempts = 100
85 static double SequenceIdentity_(
const String& decoy,
const String& target);
Base class for TOPP applications.
Definition: TOPPBase.h:147
An algorithm to decharge features (i.e. as found by FeatureFinder).
Definition: FeatureDeconvolution.h:60
OPENMS_UINT64_TYPE UInt64
Unsigned integer type (64bit)
Definition: Types.h:77
void setValue(const std::string &key, const ParamValue &value, const std::string &description="", const std::vector< std::string > &tags=std::vector< std::string >())
Sets a value.
Definition: MathFunctions.h:363
void setEnzyme(const String &name)
Sets the enzyme for the digestion (by name)
void insert(const std::string &prefix, const Param ¶m)
Methods to generate isobaric decoy sequences for DDA target-decoy searches.
Definition: DecoyGenerator.h:48
String identifier
Definition: FASTAFile.h:73
static InstanceType * getInstance()
this member function serves as a replacement of the constructor
Definition: DigestionEnzymeDB.h:69
Represents a peptide (amino acid sequence)
Definition: TargetedExperimentHelper.h:358
static String & reverse(String &this_s)
Definition: StringUtilsSimple.h:350
This class serves for reading in and writing FASTA files If the protein/gene sequence contains unusua...
Definition: FASTAFile.h:60
String sequence
Definition: FASTAFile.h:75
A more convenient string class.
Definition: String.h:58
This class generates a TargetedExperiment object with decoys based on a TargetedExperiment object.
Definition: MRMDecoy.h:81
String & trim()
removes whitespaces (space, tab, line feed, carriage return) at the beginning and the end of the stri...
bool storeConsensusFeatures(const String &filename, const ConsensusMap &map)
Store a ConsensFeatureMap.
bool loadFeatures(const String &filename, FeatureMap &map, FileTypes::Type force_type=FileTypes::UNKNOWN)
Loads a file into a FeatureMap.
#define OPENMS_LOG_WARN
Macro if a warning, a piece of information which should be read by the user, should be logged.
Definition: LogStream.h:460
bool toBool() const
Conversion to bool.
FASTA entry type (identifier, description and sequence) The first String corresponds to the identifie...
Definition: FASTAFile.h:71
bool hasPrefix(const String &string) const
true if String begins with string, false otherwise
static const std::vector< std::string > affixes
Definition: FASTAContainer.h:382
#define OPENMS_LOG_FATAL_ERROR
Macro to be used if fatal error are reported (processing stops)
Definition: LogStream.h:450
static String concatenate(const std::vector< T > &container, const String &glue="")
Concatenates all elements of the container and puts the glue string between elements.
Definition: ListUtils.h:209
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
String sequence
Definition: TargetedExperimentHelper.h:420
static OpenMS::TargetedExperiment::Peptide reversePeptide(const OpenMS::TargetedExperiment::Peptide &peptide, const bool keepN, const bool keepC, const String &const_pattern=String())
Reverse a peptide sequence (with its modifications)
static DecoyStatistics countDecoys(FASTAContainer< T > &proteins)
Function to count the occurrences of decoy strings in a given set of protein names.
Definition: FASTAContainer.h:472
Facilitates file handling by file type recognition.
Definition: FileHandler.h:66
void start()
Start the stop watch.
void compute(const FeatureMap &fm_in, FeatureMap &fm_out, ConsensusMap &cons_map, ConsensusMap &cons_map_p)
Compute a zero-charge feature map from a set of charged features.
Size digest(const AASequence &protein, std::vector< AASequence > &output, Size min_length=1, Size max_length=0) const
: Performs the enzymatic digestion of a protein.
void stop()
Stop the stop watch (can be resumed later). If the stop watch was not running an exception is thrown.
bool storeFeatures(const String &filename, const FeatureMap &map)
Store a FeatureMap.
void setParameters(const Param ¶m)
Sets the parameters.
void writeNext(const FASTAEntry &protein)
Stores the data given by protein. Call writeStart() once before calling writeNext()....
const Param & getDefaults() const
Non-mutable access to the default parameters.
bool hasSuffix(const String &string) const
true if String ends with string, false otherwise
const Param & getParameters() const
Non-mutable access to the parameters.
A container for consensus elements.
Definition: ConsensusMap.h:82
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:70
void append(const T &i, String &target)
Definition: StringConversions.h:118
Charge deconvolution.
Definition: DataProcessing.h:61
void writeStart(const String &filename)
Prepares a FASTA file given by 'filename' for streamed writing using writeNext().
This class is used to determine the current process' CPU (user and/or kernel) and wall time.
Definition: StopWatch.h:65
Definition: MetaData.h:69
std::string toString(bool full_precision=true) const
Convert ParamValue to string.
int main(int argc, const char **argv)
Definition: INIFileEditor.cpp:71
const ColumnHeaders & getColumnHeaders() const
Non-mutable access to the file descriptions.
A container for features.
Definition: FeatureMap.h:98
Param copy(const std::string &prefix, bool remove_prefix=false) const
Returns a new Param object containing all entries that start with prefix.
Class for the enzymatic digestion of proteins.
Definition: ProteaseDigestion.h:59
bool readNext(FASTAEntry &protein)
Reads the next FASTA entry from file. If you want to read all entries in one go, use load().
void readStart(const String &filename)
Prepares a FASTA file given by 'filename' for streamed reading using readNext().
String & reverse()
inverts the direction of the string
Management and storage of parameters / INI files.
Definition: Param.h:69
Representation of a peptide/protein sequence.
Definition: AASequence.h:111
Math::RandomShuffler shuffler_
Definition: DecoyGenerator.h:88
static AASequence fromString(const String &s, bool permissive=true)
create AASequence object by parsing an OpenMS string
const ParamValue & getValue(const std::string &key) const
Returns a value of a parameter.
std::ifstream infile
Questionable file tested by TEST_FILE_EQUAL.
String & toLower()
Converts the string to lowercase.
FASTAContainer<TFI_File> will make FASTA entries available chunk-wise from start to end by loading it...
Definition: FASTAContainer.h:93