public class MzMLControllerImpl extends CachedDataAccessController
DataAccessController.ContentCategory, DataAccessController.Type
CHROMATOGRAM_TYPE, MZGRAPH_TYPE, SPECTRUM_TYPE
Constructor and Description |
---|
MzMLControllerImpl(File file)
Construct a data access controller using a given mzML file
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Close data access controller by resetting the data reader first
|
ParamGroup |
getAdditional()
In case of mzMl the additional parameters are related with the getFileContent
This are a set of CVTerms related with the Content in the MzML File.
|
Chromatogram |
getChromatogramById(Comparable id,
boolean useCache)
Get chromatogram using a chromatogram id, gives the option to choose whether to use cache.
|
List<CVLookup> |
getCvLookups()
Get a list of cvlookups, these are not cached
|
List<DataProcessing> |
getDataProcessings()
Get a list of data processings by checking the cache first
|
ExperimentMetaData |
getExperimentMetaData()
Get the Experiment Meta Data
|
ParamGroup |
getFileContent()
This summarizes the different types of spectra that can be expected
in the file.
|
IdentificationMetaData |
getIdentificationMetaData()
The mzML do not contains Identification Metadata, just Spectrum Information
|
List<InstrumentConfiguration> |
getInstrumentConfigurations()
Get a list of instrument configurations by checking the cache first
|
MzGraphMetaData |
getMzGraphMetaData()
Get the Spectrum Metadata, the ScanSettings, The DataProcessing, and Instrument
Configurations.
|
List<Organization> |
getOrganizationContacts()
Get a list of Organization contacts
|
List<Person> |
getPersonContacts()
Get a list of person contacts
|
ReferenceableParamGroup |
getReferenceableParamGroup()
Get referenceable paramgroup, this concept is only available in mzML
It is a paramgroup with id and this is not cached
|
List<Sample> |
getSamples()
Get a list of samples by checking the cache first
|
List<ScanSetting> |
getScanSettings()
Get a list of scan settings by checking the cache first
|
List<Software> |
getSoftwares()
Get a List of Softwares
|
List<SourceFile> |
getSourceFiles()
Get a List of SourceFiles
|
String |
getUid()
Get the unique id for this data access controller
It generates a MD5 hash using the absolute path of the file
This will guarantee the same id if the file path is the same
|
MzMLUnmarshallerAdaptor |
getUnmarshaller()
Get the backend data reader
|
boolean |
hasProtein()
This method provide the way to know if the controller contain
Identification Data and IdentificationMetadata.
|
static boolean |
isValidFormat(File file)
Check a file is mzML file
|
getAvailablePeptideLevelScores, getAvailableProteinLevelScores, getCache, getCachingStrategy, getChromatogramById, getChromatogramIds, getMode, getNumberOfFragmentIons, getNumberOfPeptides, getNumberOfPTMs, getNumberOfPTMs, getNumberOfSpectrumPeaks, getNumberOfUniquePeptides, getPeptideByIndex, getPeptideByIndex, getPeptideIds, getPeptidePrecursorCharge, getPeptidePrecursorMz, getPeptideQuantUnit, getPeptidesBySpectrum, getPeptideScore, getPeptideSequence, getPeptideSequenceEnd, getPeptideSequences, getPeptideSequenceStart, getPeptideSpectrumId, getProteinAccession, getProteinAccessionVersion, getProteinAmbiguityGroupById, getProteinAmbiguityGroupIds, getProteinById, getProteinIds, getProteinQuantUnit, getProteinScore, getProteinThreshold, getPTMs, getSearchDatabase, getSearchDatabaseVersion, getSearchEngineCvTermReferences, getSpectraDataBasedOnTitle, getSpectrumById, getSpectrumIdForPeptide, getSpectrumIds, getSpectrumMsLevel, getSpectrumPrecursorCharge, getSpectrumPrecursorIntensity, getSpectrumPrecursorMz, getSumOfIntensity, isSpectrumBasedOnTitle, populateCache, setCachingStrategy, setMode
getAvailableQuantPeptideLevelScores, getChromatogramByIndex, getChromatogramIndex, getContentCategories, getFragmentIons, getIsotopeLabellingQuantMethods, getLabelFreeQuantMethods, getName, getNumberOfChromatograms, getNumberOfIdentifiedSpectra, getNumberOfPeptides, getNumberOfPeptidesByRank, getNumberOfProteinAmbiguityGroups, getNumberOfProteins, getNumberOfQuantPeptides, getNumberOfQuantPeptides, getNumberOfQuantPTMs, getNumberOfQuantPTMs, getNumberOfReagents, getNumberOfSpectra, getNumberOfSubstitutionPTMs, getNumberOfSubstitutionPTMs, getNumberOfUniqueQuantPeptides, getPeptideEvidences, getPeptideIsotopeLabellingQuantMethods, getPeptideLabelFreeQuantMethods, getPeptideQuantData, getPeptideQuantStudyData, getPeptideRank, getPeptideTheoreticalMz, getProteinByIndex, getProteinCoverage, getProteinIsotopeLabellingQuantMethods, getProteinLabelFreeQuantMethods, getProteinQuantData, getProteinQuantStudyData, getProteinScores, getProteinSequence, getQuantMethods, getQuantPeptideByIndex, getQuantPeptideEvidences, getQuantPeptideIds, getQuantPeptideQuantScore, getQuantPeptideScore, getQuantPeptideSequence, getQuantPeptideSequences, getQuantPeptideSpectrumId, getQuantPTMs, getQuantSample, getReferenceSubSampleIndex, getSource, getSpectraByIndex, getSpectrumIndex, getStudyVariables, getSubstitutionPTMs, getType, hasChromatogram, hasDecoyInformation, hasIsotopeLabellingQuantMethods, hasLabelFreeQuantMethods, hasMetaDataInformation, hasPeptide, hasPeptideQuantData, hasPeptideTotalIntensities, hasProteinAmbiguityGroup, hasProteinQuantData, hasProteinSequence, hasProteinTotalIntensities, hasQuantData, hasQuantPeptide, hasSpectrum, indexOfProtein, isIdentifiedSpectrum, proteinsAreInferred, setContentCategories, setInferredProteinGroups, setName, setSource, setType, setUid
public MzMLControllerImpl(File file)
file
- mzML filepublic MzMLUnmarshallerAdaptor getUnmarshaller()
public String getUid()
getUid
in interface DataAccessController
getUid
in class AbstractDataAccessController
public List<CVLookup> getCvLookups()
public ReferenceableParamGroup getReferenceableParamGroup()
public List<Sample> getSamples()
getSamples
in class AbstractDataAccessController
public List<Person> getPersonContacts()
public List<Organization> getOrganizationContacts()
public List<SourceFile> getSourceFiles()
public ParamGroup getFileContent()
public List<Software> getSoftwares()
public List<ScanSetting> getScanSettings()
public List<InstrumentConfiguration> getInstrumentConfigurations()
public List<DataProcessing> getDataProcessings()
public ParamGroup getAdditional()
getAdditional
in class AbstractDataAccessController
public Chromatogram getChromatogramById(Comparable id, boolean useCache)
getChromatogramById
in class CachedDataAccessController
id
- chromatogram iduseCache
- true means to use cachepublic void close()
close
in interface DataAccessController
close
in class CachedDataAccessController
public ExperimentMetaData getExperimentMetaData()
CachedDataAccessController
getExperimentMetaData
in interface MetaDataAccess
getExperimentMetaData
in class CachedDataAccessController
public MzGraphMetaData getMzGraphMetaData()
getMzGraphMetaData
in interface MetaDataAccess
getMzGraphMetaData
in class CachedDataAccessController
public IdentificationMetaData getIdentificationMetaData()
getIdentificationMetaData
in interface MetaDataAccess
getIdentificationMetaData
in class CachedDataAccessController
public boolean hasProtein()
hasProtein
in interface ProteinDataAccess
hasProtein
in class AbstractDataAccessController
public static boolean isValidFormat(File file)
file
- input fileCopyright © 2015 European Bioinformatics Institute. All Rights Reserved.