A basic (nucleic or protein) sequence. It's a wrapper to java.lang.String.
- Author
- Ahmed Moustafa (ahmed.nosp@m.@use.nosp@m.rs.sf.nosp@m..net)
| jaligner.Sequence.Sequence |
( |
| ) |
|
| jaligner.Sequence.Sequence |
( |
String |
sequence | ) |
|
| jaligner.Sequence.Sequence |
( |
String |
name, |
|
|
char[] |
sequence |
|
) |
| |
| jaligner.Sequence.Sequence |
( |
String |
name, |
|
|
String |
sequence |
|
) |
| |
| jaligner.Sequence.Sequence |
( |
String |
sequence, |
|
|
String |
id, |
|
|
String |
description, |
|
|
int |
type |
|
) |
| |
Constructor
- Parameters
-
| sequence | |
| id | |
| description | |
| type | |
| char jaligner.Sequence.acidAt |
( |
int |
index | ) |
|
Returns the acid at specific location in the sequence
- Parameters
-
- Returns
- acid at index
| String jaligner.Sequence.getDescription |
( |
| ) |
|
Returns the sequence description
- Returns
- Returns the description
| String jaligner.Sequence.getId |
( |
| ) |
|
Returns the sequence id
- Returns
- Returns the id
| String jaligner.Sequence.getSequence |
( |
| ) |
|
Returns the sequence string
- Returns
- Returns the sequence
| int jaligner.Sequence.getType |
( |
| ) |
|
Returns the sequence type (nucleic or protein)
- Returns
- Returns the type
| int jaligner.Sequence.length |
( |
| ) |
|
Returns the length of the sequence
- Returns
- sequence length
| void jaligner.Sequence.setDescription |
( |
String |
description | ) |
|
Sets the sequence description
- Parameters
-
| description | The description to set |
| void jaligner.Sequence.setId |
( |
String |
id | ) |
|
Sets the sequence id
- Parameters
-
| void jaligner.Sequence.setSequence |
( |
String |
sequence | ) |
|
Sets the sequence string
- Parameters
-
| sequence | The sequence to set |
| void jaligner.Sequence.setType |
( |
int |
type | ) |
|
Sets the sequence type (nucleic or protein)
- Parameters
-
| String jaligner.Sequence.subsequence |
( |
int |
index, |
|
|
int |
length |
|
) |
| |
Returns a subsequence
- Parameters
-
| index | start index |
| length | length of subsequence |
- Returns
- subsequence
| char [] jaligner.Sequence.toArray |
( |
| ) |
|
Returns the sequence as an array of characters.
- Returns
- array of chars.
| String jaligner.Sequence.toString |
( |
| ) |
|
Returns the sequence id and the sequence string
- Returns
- Returns the sequence id and the sequence string
| final int jaligner.Sequence.NUCLEIC = 0 |
|
static |
| final int jaligner.Sequence.PROTEIN = 1 |
|
static |
The documentation for this class was generated from the following file: