public class MgfWriter extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
LINE_SPERATOR |
| Constructor and Description |
|---|
MgfWriter(String mzDBFilePath) |
MgfWriter(String mzDBFilePath,
int msLevel) |
| Modifier and Type | Method and Description |
|---|---|
MzDbReader |
getMzDbReader() |
protected String |
stringifySpectrum(Spectrum spectrum,
DataEncoding dataEnc,
IPrecursorComputation precComp,
float intensityCutoff,
boolean exportProlineTitle) |
void |
write(String mgfFile,
IPrecursorComputation precComp,
float intensityCutoff,
boolean exportProlineTitle) |
void |
write(String mgfFile,
PrecursorMzComputationEnum precComp,
float mzTolPPM,
float intensityCutoff,
boolean exportProlineTitle) |
public static String LINE_SPERATOR
public MgfWriter(String mzDBFilePath, int msLevel) throws com.almworks.sqlite4java.SQLiteException, FileNotFoundException, ClassNotFoundException
mzDBFilePath - msLevel - com.almworks.sqlite4java.SQLiteExceptionFileNotFoundExceptionClassNotFoundExceptionpublic MgfWriter(String mzDBFilePath) throws com.almworks.sqlite4java.SQLiteException, FileNotFoundException, ClassNotFoundException
com.almworks.sqlite4java.SQLiteExceptionFileNotFoundExceptionClassNotFoundExceptionpublic MzDbReader getMzDbReader()
public void write(String mgfFile, PrecursorMzComputationEnum precComp, float mzTolPPM, float intensityCutoff, boolean exportProlineTitle) throws com.almworks.sqlite4java.SQLiteException, IOException
com.almworks.sqlite4java.SQLiteExceptionIOExceptionpublic void write(String mgfFile, IPrecursorComputation precComp, float intensityCutoff, boolean exportProlineTitle) throws com.almworks.sqlite4java.SQLiteException, IOException
com.almworks.sqlite4java.SQLiteExceptionIOExceptionprotected String stringifySpectrum(Spectrum spectrum, DataEncoding dataEnc, IPrecursorComputation precComp, float intensityCutoff, boolean exportProlineTitle) throws com.almworks.sqlite4java.SQLiteException, StreamCorruptedException
spectrum - dataEnc - precComp - intensityCutoff - com.almworks.sqlite4java.SQLiteExceptionStreamCorruptedExceptionCopyright © 2019. All rights reserved.