|
static void | importIDs (IdentificationData &id_data, const std::vector< ProteinIdentification > &proteins, const std::vector< PeptideIdentification > &peptides) |
| Import from legacy peptide/protein identifications. More...
|
|
static void | exportIDs (const IdentificationData &id_data, std::vector< ProteinIdentification > &proteins, std::vector< PeptideIdentification > &peptides, bool export_ids_wo_scores=false) |
| Export to legacy peptide/protein identifications. More...
|
|
static MzTab | exportMzTab (const IdentificationData &id_data) |
| Export to mzTab format. More...
|
|
static void | importSequences (IdentificationData &id_data, const std::vector< FASTAFile::FASTAEntry > &fasta, IdentificationData::MoleculeType type=IdentificationData::MoleculeType::PROTEIN, const String &decoy_pattern="") |
| Import FASTA sequences as parent sequences. More...
|
|
static void | exportParentMatches (const IdentificationData::ParentMatches &parent_matches, PeptideHit &hit) |
| Convert parent matches to peptide evidences. More...
|
|
static void | importFeatureIDs (FeatureMap &features, bool clear_original=true) |
| Convert IDs from legacy peptide/protein identifications in a feature map. More...
|
|
static void | exportFeatureIDs (FeatureMap &features, bool clear_original=true) |
| Convert IDs in a feature map to legacy peptide/protein identifications. More...
|
|
static void | importConsensusIDs (ConsensusMap &consensus, bool clear_original=true) |
| Convert IDs from legacy peptide/protein identifications in a consensus map. More...
|
|
static void | exportConsensusIDs (ConsensusMap &consensus, bool clear_original=true) |
| Convert IDs in a consensus map to legacy peptide/protein identifications. More...
|
|
|
template<typename MzTabSectionRow > |
static void | exportParentSequenceToMzTab_ (const IdentificationData::ParentSequence &parent, std::vector< MzTabSectionRow > &output, std::map< IdentificationData::ScoreTypeRef, Size > &score_map) |
| Export a parent sequence (protein or nucleic acid) to mzTab. More...
|
|
template<typename MzTabSectionRow , typename IdentSeq > |
static void | exportPeptideOrOligoToMzTab_ (const IdentSeq &identified, std::vector< MzTabSectionRow > &output, std::map< IdentificationData::ScoreTypeRef, Size > &score_map) |
| Export an identified sequence (peptide or oligonucleotide, but not small molecule/compound) to mzTab. More...
|
|
template<typename MzTabSectionRow > |
static void | exportObservationMatchToMzTab_ (const String &sequence, const IdentificationData::ObservationMatch &match, double calc_mass, std::vector< MzTabSectionRow > &output, std::map< IdentificationData::ScoreTypeRef, Size > &score_map, std::map< IdentificationData::InputFileRef, Size > &file_map) |
| Export an input match (peptide- or oligonucleotide-spectrum match) to mzTab. More...
|
|
static void | exportStepsAndScoresToMzTab_ (const IdentificationData::AppliedProcessingSteps &steps_and_scores, MzTabParameterList &steps_out, std::map< Size, MzTabDouble > &scores_out, std::map< IdentificationData::ScoreTypeRef, Size > &score_map) |
| Helper function to add processing steps (search engines) and their scores to MzTab. More...
|
|
static void | addMzTabSEScores_ (const std::map< IdentificationData::ScoreTypeRef, Size > &scores, std::map< Size, MzTabParameter > &output) |
| Helper function to add search engine score entries to MzTab's meta data section. More...
|
|
static void | addMzTabMoleculeParentContext_ (const IdentificationData::ParentMatch &match, MzTabOligonucleotideSectionRow &row) |
| Helper function for exportPeptideOrOligoToMzTab_() - oligonucleotide variant. More...
|
|
static void | addMzTabMoleculeParentContext_ (const IdentificationData::ParentMatch &match, MzTabPeptideSectionRow &row) |
| Helper function for exportPeptideOrOligoToMzTab_() - peptide variant. More...
|
|
static IdentificationData::SearchParamRef | importDBSearchParameters_ (const ProteinIdentification::SearchParameters &pisp, IdentificationData &id_data) |
| Helper function to import DB search parameters from legacy format. More...
|
|
static ProteinIdentification::SearchParameters | exportDBSearchParameters_ (IdentificationData::SearchParamRef ref) |
| Helper function to export DB search parameters to legacy format. More...
|
|
static void | exportMSRunInformation_ (IdentificationData::ProcessingStepRef step_ref, ProteinIdentification &protein) |
| Helper function to export (primary) MS run information to legacy format. More...
|
|
static void | handleFeatureImport_ (Feature &feature, const IntList &indexes, std::vector< PeptideIdentification > &peptides, Size &id_counter, bool clear_original) |
|
static void | handleFeatureExport_ (Feature &feature, const IntList &indexes, IdentificationData &id_data, Size &id_counter) |
|