Search in sources :

Example 1 with ScoreAligner

use of net.sf.mzmine.modules.peaklistmethods.alignment.path.functions.ScoreAligner in project mzmine2 by mzmine.

the class PathAlignerTask method run.

/**
 * @see Runnable#run()
 */
public void run() {
    setStatus(TaskStatus.PROCESSING);
    logger.info("Running Path aligner");
    aligner = (Aligner) new ScoreAligner(this.peakLists, parameters);
    alignedPeakList = aligner.align();
    // Add new aligned feature list to the project
    project.addPeakList(alignedPeakList);
    // Add task description to peakList
    alignedPeakList.addDescriptionOfAppliedTask(new SimplePeakListAppliedMethod("Path aligner", parameters));
    logger.info("Finished Path aligner");
    setStatus(TaskStatus.FINISHED);
}
Also used : ScoreAligner(net.sf.mzmine.modules.peaklistmethods.alignment.path.functions.ScoreAligner) SimplePeakListAppliedMethod(net.sf.mzmine.datamodel.impl.SimplePeakListAppliedMethod)

Aggregations

SimplePeakListAppliedMethod (net.sf.mzmine.datamodel.impl.SimplePeakListAppliedMethod)1 ScoreAligner (net.sf.mzmine.modules.peaklistmethods.alignment.path.functions.ScoreAligner)1