|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--edu.mssm.crover.webapps.dimlib.datamodel.ArcadiaAlignment
Stores the ArcadiaAlignedSequences which make up an alignment.
| Constructor Summary | |
ArcadiaAlignment(ArcadiaAlignedSequence[] seqs)
Constructs a new alignment for a set of sequences and an origin. |
|
| Method Summary | |
BiologicalSequence |
findGappedSequence(java.lang.String shortname)
Finds a sequence by name. |
java.lang.String |
getAlnDesc()
|
ArcadiaAlignedSequence[] |
getGappedSequences()
Returns the sequences with gaps. |
java.lang.String |
getID()
|
BiologicalOrigin |
getOrigin()
|
java.lang.String[] |
getPositions()
Returns the positions of this alignment. |
ArcadiaAlignedSequence[] |
getSequenceSet()
Get the array of sequences that compose this alignment. |
java.lang.String |
getShortName()
|
SubmitterInfo |
getSubmitter()
|
int |
longer()
Computes and returns the length of the longer sequence of this alignment. |
void |
removeSequence(ArcadiaAlignedSequence seq)
Removes the specified sequence from the alignment. |
void |
setAlnDesc(java.lang.String desc)
|
void |
setID(java.lang.String id)
|
void |
setOrigin(Origin x)
|
void |
setPositions(java.lang.String[] positions,
ArcadiaAlignedSequence[] sequences)
Sets the alignment from an array of positions. |
void |
setSequenceSet(ArcadiaAlignedSequence[] ss)
Sets the array of sequences that compose this alignment. |
void |
setShortName(java.lang.String x)
|
void |
setSubmitter(java.lang.String name,
java.lang.String email)
|
void |
setSubmitter(SubmitterInfo submitter)
|
java.lang.String |
toString()
Format the alignment as text. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ArcadiaAlignment(ArcadiaAlignedSequence[] seqs)
| Method Detail |
public ArcadiaAlignedSequence[] getSequenceSet()
public void setSequenceSet(ArcadiaAlignedSequence[] ss)
public void setAlnDesc(java.lang.String desc)
public java.lang.String getAlnDesc()
public void setID(java.lang.String id)
public java.lang.String getID()
public java.lang.String getShortName()
public void setShortName(java.lang.String x)
public BiologicalOrigin getOrigin()
public void setOrigin(Origin x)
public void setSubmitter(java.lang.String name,
java.lang.String email)
public void setSubmitter(SubmitterInfo submitter)
public SubmitterInfo getSubmitter()
public void removeSequence(ArcadiaAlignedSequence seq)
public int longer()
public BiologicalSequence findGappedSequence(java.lang.String shortname)
public java.lang.String[] getPositions()
12345 AS-FG ERTYIPosition 1 is defined to be "AE", position 2 to be "SR", position 3 to be "-T", etc.
public void setPositions(java.lang.String[] positions,
ArcadiaAlignedSequence[] sequences)
positions - The positions given as residue code Stringssequences - Describes the origin, shortName, etc, of the positions inserted(definition of an alignment position).public ArcadiaAlignedSequence[] getGappedSequences()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||