2009-09-18 07:28:47 +08:00
|
|
|
package org.broadinstitute.sting.alignment;
|
2009-09-18 06:43:11 +08:00
|
|
|
|
|
|
|
|
import net.sf.samtools.SAMRecord;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Create perfect alignments from the read to the genome represented by the given BWT / suffix array.
|
|
|
|
|
*
|
|
|
|
|
* @author mhanna
|
|
|
|
|
* @version 0.1
|
|
|
|
|
*/
|
2009-09-23 03:05:10 +08:00
|
|
|
public interface Aligner {
|
2009-09-18 06:43:11 +08:00
|
|
|
/**
|
2009-09-23 03:05:10 +08:00
|
|
|
* Align the read to the reference.
|
2009-09-18 06:43:11 +08:00
|
|
|
* @param read Read to align.
|
|
|
|
|
* @return A list of the alignments.
|
|
|
|
|
*/
|
2009-09-23 03:05:10 +08:00
|
|
|
public List<Alignment> align(SAMRecord read);
|
2009-09-18 06:43:11 +08:00
|
|
|
}
|
|
|
|
|
|