MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / getModifString_

Method getModifString_

src/openms/source/FORMAT/IBSpectraFile.cpp:144–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142 }
143
144 String IBSpectraFile::getModifString_(const AASequence& sequence)
145 {
146 String modif = sequence.getNTerminalModificationName();
147 for (AASequence::ConstIterator aa_it = sequence.begin();
148 aa_it != sequence.end(); ++aa_it)
149 {
150 modif += ":" + aa_it->getModificationName();
151 }
152 if (!sequence.getCTerminalModificationName().empty())
153 {
154 modif += ":" + sequence.getCTerminalModificationName();
155 }
156
157 return modif;
158 }
159
160 void IBSpectraFile::store(const String& filename, const ConsensusMap& cm)
161 {

Callers

nothing calls this directly

Calls 4

getModificationNameMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected