public interface SimilarityPairFeature extends StrandedFeature
SimilarityPairFeature describes a pairwise
 similarity between two nucleotide sequences (as it extends
 StrandedFeature). It is analagous to, and based on,
 the BioPerl Bio::SeqFeature::SimilarityPair.
It is different from HomologyFeature in that it
 expresses a relationship between only two sequence regions (rather
 than >= 2), with one clearly defined as the query sequence and the
 other as the subject (database hit). These are identified by
 constant labels in the
 Alignment. HomologyFeature identifies the
 related sequence regions by means of an Homology
 instance which contains an Alignment which uses the
 HomologyFeatures themselves as labels.
In cases where there is no alignment available, for example when
 MSPCrunch output or GFF have been used, the
 EmptyPairwiseAlignment in the EMPTY_PAIRWISE field may
 be used. This may also be useful if an implementation elides the
 alignment data for some reason.
| Modifier and Type | Interface and Description | 
|---|---|
| static class  | SimilarityPairFeature.EmptyPairwiseAlignmentEmptyPairwiseAlignmentempty pairwise alignment
 which has labels to empty symbol lists. | 
| static class  | SimilarityPairFeature.TemplateTemplatefor construction ofSimilarityPairFeatures. | 
StrandedFeature.StrandFeature.ByLocationComparatorFeatureHolder.EmptyFeatureHolderAnnotatable.AnnotationForwarder| Modifier and Type | Field and Description | 
|---|---|
| static Alignment | EMPTY_PAIRWISEConstant  EMPTY_PAIRWISEis an empty alignment for
 situations where there is no available alignment data or the
 implementation does not want to create one. | 
| static String | QUERY_LABELConstant  QUERY_LABELis the alignment label used
 for all query sequences. | 
| static ChangeType | SIBLINGThe sibling of this feature has altered. | 
| static String | SUBJECT_LABELConstant  SUBJECT_LABELis the alignment label used
 for all subject sequences. | 
NEGATIVE, POSITIVE, STRAND, UNKNOWNbyLocationOrder, LOCATION, PROPERTY_DATA_KEY, SOURCE, SOURCETERM, TYPE, TYPETERMEMPTY_FEATURE_HOLDER, FEATURES, SCHEMAANNOTATION| Modifier and Type | Method and Description | 
|---|---|
| Alignment | getAlignment()getAlignmentreturns theAlignmentof
 two similar features. | 
| double | getScore()getScorereturns the alignment score. | 
| SimilarityPairFeature | getSibling()getSiblingreturns the siblingFeature, query for subject and vice versa. | 
| void | setSibling(SimilarityPairFeature sibling)setSiblingsets the sibling feature of the
 pair. | 
getStrand, getSymbols, setStrandfeatures, getLocation, getParent, getSequence, getSource, getSourceTerm, getType, getTypeTerm, makeTemplate, setLocation, setSource, setSourceTerm, setType, setTypeTermcontainsFeature, countFeatures, createFeature, filter, filter, getSchema, removeFeaturegetAnnotationaddChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListenerstatic final ChangeType SIBLING
static final String QUERY_LABEL
QUERY_LABEL is the alignment label used
 for all query sequences.static final String SUBJECT_LABEL
SUBJECT_LABEL is the alignment label used
 for all subject sequences.static final Alignment EMPTY_PAIRWISE
EMPTY_PAIRWISE is an empty alignment for
 situations where there is no available alignment data or the
 implementation does not want to create one.SimilarityPairFeature getSibling()
getSibling returns the sibling
 Feature, query for subject and vice versa.Feature.void setSibling(SimilarityPairFeature sibling) throws ChangeVetoException
setSibling sets the sibling feature of the
 pair. This is used to set the reciprocal
 SimilarityPairFeature as both cannot be set using
 the Template.ChangeVetoExceptionAlignment getAlignment()
getAlignment returns the Alignment of
 two similar features.Alignment value.double getScore()
getScore returns the alignment score.double.Copyright © 2014 BioJava. All rights reserved.