
org.snpeff.overlap.Overlap Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of SnpEff Show documentation
Show all versions of SnpEff Show documentation
Variant annotation and effect prediction package.
The newest version!
package org.snpeff.overlap;
import org.snpeff.binseq.BinarySequence;
/**
* Calculates the best overlap between two sequences
*
* Note: An overlap is a simple 'alignment' which can only contain gaps at the
* beginning or at the end of the sequences.
*
* @author pcingola
*/
public abstract class Overlap {
int bestOffset, bestScore;
public int getBestOffset() {
return bestOffset;
}
public int getBestScore() {
return bestScore;
}
/**
* Calculate the best overlap between two sequences
*
*
* @param seq1
* @param seq1
* @return
*/
public abstract int overlap(S seq1, S seq2);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy