Package | Description |
---|---|
com.compomics.util.experiment.io.massspectrometry | |
com.compomics.util.experiment.massspectrometry |
This package contains experiment classes related to spectra.
|
Modifier and Type | Method and Description |
---|---|
static MgfIndex |
MgfReader.getIndexMap(java.io.File mgfFile)
Returns the index of all spectra in the given mgf file.
|
static MgfIndex |
MgfReader.getIndexMap(java.io.File mgfFile,
WaitingHandler waitingHandler)
Returns the index of all spectra in the given MGF file.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<MgfIndex> |
MgfReader.splitFile(java.io.File mgfFile,
int nSpectra,
WaitingHandler waitingHandler)
Splits an mgf file into smaller ones and returns the indexes of the
generated files.
|
Modifier and Type | Method and Description |
---|---|
MgfIndex |
SpectrumFactory.getIndex(java.io.File mgfIndex)
Deserializes the index of an mgf file.
|
Modifier and Type | Method and Description |
---|---|
void |
SpectrumFactory.writeIndex(MgfIndex mgfIndex,
java.io.File directory)
Writes the given mgf file index in the given directory.
|
Copyright © 2013. All Rights Reserved.