|
OpenMS
2.6.0
|
Go to the documentation of this file.
76 void store(
const String & filename);
91 void getModifications(std::map<String, String> & modification_key_map)
const;
104 String handlePTMs_(
const String & modification,
const bool variable);
Base class for TOPP applications.
Definition: TOPPBase.h:144
void getModifications(std::map< String, String > &modification_key_map) const
return the modifications.
void store(const String &filename, const std::vector< ProteinIdentification > &protein_ids, const std::vector< PeptideIdentification > &peptide_ids, const String &document_id="")
Stores the data in an idXML file.
Representation of a set of modification definitions.
Definition: ModificationDefinitionsSet.h:58
void store(const String &filename, const PeakMap &experiment, bool compact=false)
stores the experiment data in a MascotGenericFile that can be used as input for MASCOT shell executio...
File adapter for MzML files.
Definition: MzMLFile.h:55
A more convenient string class.
Definition: String.h:59
In-Memory representation of a mass spectrometry experiment.
Definition: MSExperiment.h:77
This class provides some basic file handling methods for text files.
Definition: TextFile.h:46
void addMSLevel(int level)
adds a desired MS level for peaks to load
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
Representation of a PepNovo output file.
Definition: PepNovoOutfile.h:56
static String getUniqueName(bool include_hostname=true)
Returns a string, consisting of date, time, hostname, process id, and a incrementing number....
Representation of a protein identification run.
Definition: ProteinIdentification.h:70
Size size() const
Definition: MSExperiment.h:127
static ModificationsDB * getInstance()
Returns a pointer to the modifications DB (singleton)
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
void setPrimaryMSRunPath(const StringList &s, bool raw=false)
void load(const String &filename, PeakMap &map)
Loads a map from a MzML file. Spectra and chromatograms are sorted by default (this can be disabled u...
TextFile ptm_file_
Definition: PepNovoInfile.h:96
std::map< Size, std::pair< double, double > > IndexPosMappingType
Definition: PepNovoOutfile.h:60
void load(const std::string &result_filename, std::vector< PeptideIdentification > &peptide_identifications, ProteinIdentification &protein_identification, const double &score_threshold, const IndexPosMappingType &id_rt_mz, const std::map< String, String > &mod_id_map)
loads data from a PepNovo outfile
Exception base class.
Definition: Exception.h:89
QString toQString() const
Conversion to Qt QString.
Read/write Mascot generic files (MGF).
Definition: MascotGenericFile.h:61
void setModifications(const StringList &fixed_mods, const StringList &variable_mods)
generates the PepNovo Infile for given fixed and variable modifications *
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:70
int main(int argc, const char **argv)
Definition: INIFileEditor.cpp:73
ModificationDefinitionsSet mods_
Definition: PepNovoInfile.h:94
std::map< String, String > mods_and_keys_
Definition: PepNovoInfile.h:95
#define OPENMS_LOG_ERROR
Macro to be used if non-fatal error are reported (processing continues)
Definition: LogStream.h:455
bool operator==(const IDBoostGraph::ProteinGroup &lhs, const IDBoostGraph::ProteinGroup &rhs)
void store(const String &filename)
void getAllSearchModifications(std::vector< String > &modifications) const
Collects all modifications that can be used for identification searches.
static String getTempDirectory()
The current OpenMS temporary data path (for temporary files)
const char * what() const noexcept override
Returns the error message of the exception.
PepNovo input file adapter.
Definition: PepNovoInfile.h:53
static bool removeDirRecursively(const String &dir_name)
Removes the subdirectories of the specified directory (absolute path). Returns true if successful.
PeakFileOptions & getOptions()
Mutable access to the options for loading/storing.
void setLogType(LogType type) const
Sets the progress log that should be used. The default type is NONE!
Used to load and store idXML files.
Definition: IdXMLFile.h:63