2009-09-18 07:28:47 +08:00
|
|
|
package org.broadinstitute.sting.alignment;
|
2009-09-18 06:43:11 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Represents an alignment of a read to a site in the reference genome.
|
|
|
|
|
*
|
|
|
|
|
* @author mhanna
|
|
|
|
|
* @version 0.1
|
|
|
|
|
*/
|
|
|
|
|
public interface Alignment extends Comparable<Alignment> {
|
2009-09-24 07:44:59 +08:00
|
|
|
/**
|
|
|
|
|
* Is the given alignment on the reverse strand?
|
|
|
|
|
* @return True if the alignment is on the reverse strand.
|
|
|
|
|
*/
|
|
|
|
|
public boolean isNegativeStrand();
|
|
|
|
|
|
2009-09-25 05:03:02 +08:00
|
|
|
/**
|
|
|
|
|
* Gets the starting position for the given alignment.
|
|
|
|
|
* @return Starting position.
|
|
|
|
|
*/
|
2009-10-15 23:28:56 +08:00
|
|
|
public long getAlignmentStart();
|
2009-09-25 05:03:02 +08:00
|
|
|
|
2009-09-18 06:43:11 +08:00
|
|
|
/**
|
|
|
|
|
* Gets the score of this alignment.
|
|
|
|
|
* @return The score.
|
|
|
|
|
*/
|
|
|
|
|
public int getScore();
|
|
|
|
|
}
|