void embEstSetDebug ( void );
Type | Name | Read/Write | Description |
---|---|---|---|
void | RETURN |
void: | No return value |
void embEstSetVerbose ( void );
Type | Name | Read/Write | Description |
---|---|---|---|
void | RETURN |
void: | No return value |
ajint embEstGetSeed ( void );
Type | Name | Read/Write | Description |
---|---|---|---|
ajint | RETURN | seed. |
ajint: | seed. |
void embEstMatInit ( ajint match, ajint mismatch, ajint gap, ajint neutral, char pad_char );
Type | Name | Read/Write | Description |
---|---|---|---|
ajint | match | Input | Match code |
ajint | mismatch | Input | Mismatch penalty |
ajint | gap | Input | Gap penalty |
ajint | neutral | Input | Score for ambiguous base positions. |
char | pad_char | Input | Pad character for gaps in input sequences |
void | RETURN |
match: | (Input) | Match code |
mismatch: | (Input) | Mismatch penalty |
gap: | (Input) | Gap penalty |
neutral: | (Input) | Score for ambiguous base positions. |
pad_char: | (Input) | Pad character for gaps in input sequences |
void: | No return value |
Returns a sequence object whose "dna" should be interpreted as an array indicating what kind (if any) of splice site can be found at each sequence position.
DONOR sites are NNGTNN last position in exon
ACCEPTOR sites are NAGN last position in intron
if forward==1 then search fot GT/AG else search for CT/AC
AjPSeq embEstFindSpliceSites ( const AjPSeq genome, ajint forward );
Type | Name | Read/Write | Description |
---|---|---|---|
const AjPSeq | genome | Input | Genomic sequence |
ajint | forward | Input | Boolean. 1 = forward direction |
AjPSeq | RETURN | Sequence of bitmask codes for splice sites. |
genome: | (Input) | Genomic sequence |
forward: | (Input) | Boolean. 1 = forward direction |
AjPSeq: | Sequence of bitmask codes for splice sites. |
Returns a sequence object whose "dna" should be interpreted as an array indicating what kind (if any) of splice site can be found at each sequence position.
DONOR sites are NNGTNN last position in exon
ACCEPTOR sites are NAGN last position in intron
if forward==1 then search fot GT/AG else search for CT/AC
AjPSeq embEstShuffleSeq ( AjPSeq seq, ajint in_place, ajint* seed );
Type | Name | Read/Write | Description |
---|---|---|---|
AjPSeq | seq | Modify | Original sequence |
ajint | in_place | Input | Boolean 1=shuffle in place |
ajint* | seed | Modify | Random number seed. |
AjPSeq | RETURN | shuffled sequence. |
in_place: | (Input) | Boolean 1=shuffle in place |
seq: | (Modify) | Original sequence |
seed: | (Modify) | Random number seed. |
AjPSeq: | shuffled sequence. |
void embEstFreeAlign ( EmbPEstAlign* ge );
Type | Name | Read/Write | Description |
---|---|---|---|
EmbPEstAlign* | ge | Delete | Genomic EST alignment data structure |
void | RETURN |
ge: | (Delete) | Genomic EST alignment data structure |
void: | No return value |
void embEstPrintAlign ( AjPFile ofile, const AjPSeq genome, const AjPSeq est, const EmbPEstAlign ge, ajint width );
Type | Name | Read/Write | Description |
---|---|---|---|
AjPFile | ofile | Modify | Output file |
const AjPSeq | genome | Input | Genomic sequence |
const AjPSeq | est | Input | EST sequence |
const EmbPEstAlign | ge | Input | Genomic EST alignment |
ajint | width | Input | Output width (in bases) |
void | RETURN |
genome: | (Input) | Genomic sequence |
est: | (Input) | EST sequence |
ge: | (Input) | Genomic EST alignment |
width: | (Input) | Output width (in bases) |
ofile: | (Modify) | Output file |
void: | No return value |
The recursion is
{ S[gpos-1][epos] - gap_penalty
{ S[gpos-1][epos-1] + D[gpos][epos]
S[gpos][epos] = max { S[gpos][epos-1] - gap_penalty
{ C[epos] - intron_penalty
{ 0 (optional, only if ! needleman )
C[epos] = max{ S[gpos][epos], C[epos] }
S[gpos][epos] is the score of the best path to the cell gpos, epos C[epos] is the score of the best path to the column epos
EmbPEstAlign embEstAlignNonRecursive ( const AjPSeq est, const AjPSeq genome, ajint gap_penalty, ajint intron_penalty, ajint splice_penalty, const AjPSeq splice_sites, ajint backtrack, ajint needleman, ajint init_path );
Type | Name | Read/Write | Description |
---|---|---|---|
const AjPSeq | est | Input | Sequence of EST |
const AjPSeq | genome | Input | Sequence of genomic region |
ajint | gap_penalty | Input | Gap penalty |
ajint | intron_penalty | Input | Intron penalty |
ajint | splice_penalty | Input | Splice site penalty |
const AjPSeq | splice_sites | Input | Marked splice sites. The intron_penalty may be modified to splice_penalty if splice_sites is non-null and there are DONOR and ACCEPTOR sites at the start and end of the intron. |
ajint | backtrack | Input | Boolean. If backtrack is 0 then only the start and end points and the score are computed, and no path matrix is allocated. |
ajint | needleman | Input | Boolean 1 = global alignment 0 = local alignment |
ajint | init_path | Input | Type of initialization for the path. If init_path is DIAGONAL then the boundary conditions are adjusted so that the optimal path enters the cell (0,0) diagonally. Otherwise it enters from the left (ie as a deletion in the EST) |
EmbPEstAlign | RETURN | Resulting genomic EST alignment |
est: | (Input) | Sequence of EST |
genome: | (Input) | Sequence of genomic region |
gap_penalty: | (Input) | Gap penalty |
intron_penalty: | (Input) | Intron penalty |
splice_penalty: | (Input) | Splice site penalty |
splice_sites: | (Input) | Marked splice sites. The intron_penalty may be modified to splice_penalty if splice_sites is non-null and there are DONOR and ACCEPTOR sites at the start and end of the intron. |
backtrack: | (Input) | Boolean. If backtrack is 0 then only the start and end points and the score are computed, and no path matrix is allocated. |
needleman: | (Input) | Boolean 1 = global alignment 0 = local alignment |
init_path: | (Input) | Type of initialization for the path. If init_path is DIAGONAL then the boundary conditions are adjusted so that the optimal path enters the cell (0,0) diagonally. Otherwise it enters from the left (ie as a deletion in the EST) |
EmbPEstAlign: | Resulting genomic EST alignment |
The recursion is
{ S[gpos-1][epos] - gap_penalty
{ S[gpos-1][epos-1] + D[gpos][epos]
S[gpos][epos] = max { S[gpos][epos-1] - gap_penalty
{ C[epos] - intron_penalty
{ 0 (optional, only if ! needleman )
C[epos] = max{ S[gpos][epos], C[epos] }
S[gpos][epos] is the score of the best path to the cell gpos, epos C[epos] is the score of the best path to the column epos
EmbPEstAlign embEstAlignLinearSpace ( const AjPSeq est, const AjPSeq genome, ajint match, ajint mismatch, ajint gap_penalty, ajint intron_penalty, ajint splice_penalty, const AjPSeq splice_sites, float megabytes );
Type | Name | Read/Write | Description |
---|---|---|---|
const AjPSeq | est | Input | Sequence of EST |
const AjPSeq | genome | Input | Sequence of genomic region |
ajint | match | Input | Match score |
ajint | mismatch | Input | Mismatch penalty (positive) |
ajint | gap_penalty | Input | Gap penalty |
ajint | intron_penalty | Input | Intron penalty |
ajint | splice_penalty | Input | Splice site penalty |
const AjPSeq | splice_sites | Input | Marked splice sites. The intron_penalty may be modified to splice_penalty if splice_sites is non-null and there are DONOR and ACCEPTOR sites at the start and end of the intron. |
float | megabytes | Input | Maximum memory allowed in Mbytes for alignment by standard methods. |
EmbPEstAlign | RETURN | Genomic EST alignment |
est: | (Input) | Sequence of EST |
genome: | (Input) | Sequence of genomic region |
match: | (Input) | Match score |
mismatch: | (Input) | Mismatch penalty (positive) |
gap_penalty: | (Input) | Gap penalty |
intron_penalty: | (Input) | Intron penalty |
splice_penalty: | (Input) | Splice site penalty |
splice_sites: | (Input) | Marked splice sites. The intron_penalty may be modified to splice_penalty if splice_sites is non-null and there are DONOR and ACCEPTOR sites at the start and end of the intron. |
megabytes: | (Input) | Maximum memory allowed in Mbytes for alignment by standard methods. |
EmbPEstAlign: | Genomic EST alignment |
void embEstOutBlastStyle ( AjPFile blast, const AjPSeq genome, const AjPSeq est, const EmbPEstAlign ge, ajint gap_penalty, ajint intron_penalty, ajint splice_penalty, ajint gapped, ajint reverse );
Type | Name | Read/Write | Description |
---|---|---|---|
AjPFile | blast | Modify | Output file |
const AjPSeq | genome | Input | Genomic sequence |
const AjPSeq | est | Input | EST sequence |
const EmbPEstAlign | ge | Input | Genomic EST alignment |
ajint | gap_penalty | Input | Gap penalty |
ajint | intron_penalty | Input | Intron penalty |
ajint | splice_penalty | Input | Splice site penalty |
ajint | gapped | Input | Boolean. 1 = write a gapped alignment |
ajint | reverse | Input | Boolean. 1 = reverse alignment |
void | RETURN |
genome: | (Input) | Genomic sequence |
est: | (Input) | EST sequence |
ge: | (Input) | Genomic EST alignment |
gap_penalty: | (Input) | Gap penalty |
intron_penalty: | (Input) | Intron penalty |
splice_penalty: | (Input) | Splice site penalty |
gapped: | (Input) | Boolean. 1 = write a gapped alignment |
reverse: | (Input) | Boolean. 1 = reverse alignment |
blast: | (Modify) | Output file |
void: | No return value |