All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fr.profi.mzdb.io.writer.mgf.IPrecursorComputation Maven / Gradle / Ivy

There is a newer version: 0.0.27
Show newest version
package fr.profi.mzdb.io.writer.mgf;

import com.almworks.sqlite4java.SQLiteException;

import fr.profi.mzdb.MzDbReader;
import fr.profi.mzdb.model.SpectrumHeader;

public interface IPrecursorComputation {

	/**
	 * Returns the precursor m/z value of the specified SpectrumHeader.
	 * 
	 * @param header : the MS2 SpectrumHeader 
	 * @param reader : the mzdbReader considered
	 * @return the precursor m/z value of the specified SpectrumHeader
	 */
	
	public double getPrecursorMz(MzDbReader mzDbReader, SpectrumHeader spectrumHeader) throws SQLiteException;
	
	/**
	 * Returns the precursor m/z value of the specified SpectrumHeader.
	 * 
	 * @param header : the MS2 SpectrumHeader 
	 * @param reader : the mzdbReader considered
	 * @return the precursor m/z value of the specified SpectrumHeader
	 */
	
	public int getPrecursorCharge(MzDbReader mzDbReader, SpectrumHeader spectrumHeader) throws SQLiteException;
	
	public String getParamName();
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy