Class to implement linear and affine gap penalties Bioinformatics 1, WS 15/16 Jonas Ditz and Benjamin Schroeder
GapPenalty
01 Syntax
SMRUCC.genomics.Analysis.SequenceAlignment.GlobalAlignment.GapPenalty
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| getGapCost | 1 | get gap cost for currend gap |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| GapOpening | 1 | get gap opening cost |
| GapExtension | 1 | get gap extension cost |
| PenaltyTyp | 1 | get gap penalty typ |
04 Members
getGapCost(
Boolean)get gap cost for currend gap
Parameters
| Name | Type | Description |
|---|---|---|
gapOpen | Boolean | - |
Returns
gapCost
GapOpening
get gap opening cost
Returns
gapOpening
GapExtension
get gap extension cost
Returns
gapExtension
PenaltyTyp
get gap penalty typ
Returns
0 if linear, 1 else