|
BioLegato 0.7.5 GDE plugin | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.biolegato.gdesupport.data.Seq
public final class Seq
This class is used to contain all sequence related functions and test.
This class uses hashtables to pass and store parameters of the sequence. The hashtable has many intrinsic parameters; however accepts any number of additional parameters. The current values used by all known BioLegato plugins and classes are:
| Key | Intrinsic | Default setting | Description |
|---|---|---|---|
| accession | No | N/A> | The accession of the sequence |
| comments | No | N/A> | Comments about the sequence |
| creation-date | No | N/A> | The date the sequence was first synthesized |
| creator | No | N/A> | The creator of the sequence |
| direction | Yes | From 5' to 3' | The direction of the sequence (from 3' to 5' or from 5' to 3') |
| description | No | N/A> | A description of the sequence |
| GI | No | N/A> | The GI number of the sequence |
| name | Yes | New sequence | The sequence's name |
| sequence | Yes | blank | The raw sequence |
| strandedness | Yes | Single | The strandedness of a sequence |
| topology | Yes | Linear | The sequence topology |
| type | Yes | DNA> | The type of test the sequence is |
| Nested Class Summary | |
|---|---|
static class |
Seq.CharacterClass
Used for typing characters within a sequence. |
static class |
Seq.Direction
Used for typing/storing sequence direction. |
static class |
Seq.Strandedness
Used for typing/storing sequence strandedness. |
static class |
Seq.Topology
Used for typing/storing sequence topology. |
static class |
Seq.Type
This enum is used for typing/storing sequence types. |
| Field Summary | |
|---|---|
static ColourMask |
DEFAULT_MASK
The default colour mask for BioLegato |
| Constructor Summary | |
|---|---|
Seq()
Constructs new instances of Cell objects. |
|
Seq(Seq.Type type,
java.lang.String name,
java.lang.StringBuffer sequence)
Constructs new instances of sequence. |
|
Seq(Seq.Type type,
java.lang.String name,
java.lang.StringBuffer sequence,
Seq.Direction direction,
Seq.Topology topology,
Seq.Strandedness strandedness)
Constructs new instances of sequence. |
|
Seq(Seq.Type type,
java.lang.String name,
java.lang.StringBuffer sequence,
Seq.Direction direction,
Seq.Topology topology,
Seq.Strandedness strandedness,
int groupID,
java.lang.String description)
Constructs new instances of sequence. |
|
Seq(Seq.Type type,
java.lang.String name,
java.lang.StringBuffer sequence,
Seq.Direction direction,
Seq.Topology topology,
Seq.Strandedness strandedness,
java.lang.StringBuilder original)
Constructs new instances of sequence. |
|
Seq(Seq data)
Constructs new instances of sequence. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clones the current sequence object. |
static Seq.Type |
detectType(java.lang.StringBuffer data)
This function detects the type of a sequence |
static ColourMask |
getDefaultMask()
Load the default colour masks (this was the only way I was able to get this code to work properly). |
java.lang.String |
getDescription()
|
Seq.Direction |
getDirection()
|
int |
getGroupID()
|
ColourMask |
getMask()
|
java.lang.String |
getName()
|
java.lang.StringBuilder |
getOriginal()
|
boolean |
getProtectAlignment()
|
boolean |
getProtectAmbiguous()
|
boolean |
getProtectUnambiguous()
|
java.lang.StringBuffer |
getSequence()
|
Seq.Strandedness |
getStrandedness()
|
Seq.Topology |
getTopology()
|
Seq.Type |
getType()
|
void |
modified()
|
java.lang.String |
toString()
Creates a string representation of the Cell and its fields |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final ColourMask DEFAULT_MASK
| Constructor Detail |
|---|
public Seq()
public Seq(Seq.Type type,
java.lang.String name,
java.lang.StringBuffer sequence)
type - the type of data to storename - the name of the data sequencesequence - the text of the sequence
public Seq(Seq.Type type,
java.lang.String name,
java.lang.StringBuffer sequence,
Seq.Direction direction,
Seq.Topology topology,
Seq.Strandedness strandedness)
type - the type of data to storename - the name of the data sequencesequence - the text of the sequencedirection - the direction of the sequencetopology - the topology of the sequencestrandedness - the strandedness of the sequence
public Seq(Seq.Type type,
java.lang.String name,
java.lang.StringBuffer sequence,
Seq.Direction direction,
Seq.Topology topology,
Seq.Strandedness strandedness,
java.lang.StringBuilder original)
type - the type of data to storename - the name of the data sequencesequence - the text of the sequencedirection - the direction of the sequencetopology - the topology of the sequencestrandedness - the strandedness of the sequenceoriginal - the original genbank file entry of the sequence
public Seq(Seq.Type type,
java.lang.String name,
java.lang.StringBuffer sequence,
Seq.Direction direction,
Seq.Topology topology,
Seq.Strandedness strandedness,
int groupID,
java.lang.String description)
type - the type of data to storename - the name of the data sequencesequence - the text of the sequencedirection - the direction of the sequencetopology - the topology of the sequencestrandedness - the strandedness of the sequencegroupID - the group ID for the sequencedescription - the description of the sequencepublic Seq(Seq data)
data - the sequence to copy| Method Detail |
|---|
public final void modified()
public final Seq.Type getType()
public final java.lang.String getName()
public final java.lang.StringBuffer getSequence()
public final Seq.Direction getDirection()
public final Seq.Topology getTopology()
public final Seq.Strandedness getStrandedness()
public final boolean getProtectAlignment()
public final boolean getProtectAmbiguous()
public final boolean getProtectUnambiguous()
public final ColourMask getMask()
public final int getGroupID()
public final java.lang.StringBuilder getOriginal()
public final java.lang.String getDescription()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.Object clone()
clone in class java.lang.Objectpublic static Seq.Type detectType(java.lang.StringBuffer data)
data - the sequence to detect the type for.
public static ColourMask getDefaultMask()
|
BioLegato 0.7.5 GDE plugin | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||