FLASHDeconv Spectrum level output *.tsv, *.msalign (for TopPIC) file formats.
More...
|
static void | writeDeconvolvedMassesHeader (std::fstream &fs, uint ms_level, bool detail, bool decoy) |
| write the header in the tsv output file (spectrum level) More...
|
|
static void | writeDeconvolvedMasses (DeconvolvedSpectrum &dspec, std::fstream &fs, const String &file_name, const FLASHDeconvHelperStructs::PrecalculatedAveragine &avg, double tol, bool write_detail, bool decoy) |
| write the deconvolved masses in the output file (spectrum level) More...
|
|
static void | writeTopFD (const DeconvolvedSpectrum &dspec, std::fstream &fs, double snr_threshold=1.0, double decoy_harmonic_factor=1.0, double decoy_precursor_offset=.0) |
| write the deconvolved masses TopFD output (*.msalign) More...
|
|
FLASHDeconv Spectrum level output *.tsv, *.msalign (for TopPIC) file formats.
write the deconvolved masses in the output file (spectrum level)
- Parameters
-
dspec | deconvolved spectrum to write |
fs | file stream to the output file |
file_name | the output file name that the deconvolved masses will be written. |
avg | averagine information to calculate monoisotopic and average mass difference within this function. In PeakGroup (peaks of DeconvolvedSpectrum) only monoisotopic mass is recorded. To write both monoisotopic and average masses, their mass difference should be calculated using this averagine information. |
tol | mass tolerance |
write_detail | if this is set, more detailed information on each mass will be written in the output file. |
decoy | if set true, decoy and qvalue information will be written. Default MS1 headers are: FileName, ScanNum, Decoy, RetentionTime, MassCountInSpec, AverageMass, MonoisotopicMass, SumIntensity, MinCharge, MaxCharge, PeakCount, IsotopeCosine, ChargeScore, MassSNR, ChargeSNR, RepresentativeCharge, RepresentativeMzStart, RepresentativeMzEnd, QScore, PerChargeIntensity, PerIsotopeIntensity |
Default MS2 headers include MS1 headers plus: PrecursorScanNum, PrecursorMz, PrecursorIntensity, PrecursorCharge, PrecursorSNR, PrecursorMonoisotopicMass, PrecursorQScore
Detailed MS1 and MS2 headers include all corresponding headers above plus: PeakMZs, PeakIntensities, PeakCharges, PeakMasses, PeakIsotopeIndices, PeakPPMErrors
Referenced by TOPPFLASHDeconv::main_().