ajulong embNmerNuc2int ( const char* seq, ajint wordsize, ajint offset, AjBool* otherflag );
Type | Name | Read/Write | Description |
---|---|---|---|
const char* | seq | Input | the sequence to use |
ajint | wordsize | Input | the size of word of sequence to convert to int |
ajint | offset | Input | the offset into the sequence of the start of the word |
AjBool* | otherflag | Output | set true if the sequence contains anything except A,G,C or T |
ajulong | RETURN | the encoded word |
From EMBOSS 1.0.0
ajint embNmerInt2nuc ( AjPStr* seq, ajint wordsize, ajulong value );
Type | Name | Read/Write | Description |
---|---|---|---|
AjPStr* | seq | Output | the returned sequence |
ajint | wordsize | Input | the size of word to produce |
ajulong | value | Input | the number to decode |
ajint | RETURN | not used |
From EMBOSS 1.0.0
ajulong embNmerProt2int ( const char* seq, ajint wordsize, ajint offset, AjBool* otherflag, AjBool ignorebz );
Type | Name | Read/Write | Description |
---|---|---|---|
const char* | seq | Input | the sequence to use |
ajint | wordsize | Input | the size of word of sequence to convert to int |
ajint | offset | Input | the offset into the sequence of the start of the word |
AjBool* | otherflag | Output | set true if the sequence contains anything other than valid amino acid codes |
AjBool | ignorebz | Input | true if B and Z are to be treated as non-valid residues |
ajulong | RETURN | the encoded word |
From EMBOSS 1.0.0
ajint embNmerInt2prot ( AjPStr* seq, ajint wordsize, ajulong value, AjBool ignorebz );
Type | Name | Read/Write | Description |
---|---|---|---|
AjPStr* | seq | Output | the returned sequence |
ajint | wordsize | Input | the size of word to produce |
ajulong | value | Input | the number to decode |
AjBool | ignorebz | Input | true if B and Z are to be treated as non-valid residues |
ajint | RETURN | not used |
From EMBOSS 1.0.0
AjBool embNmerGetNoElements ( ajulong* no_elements, ajint word, AjBool seqisnuc, AjBool ignorebz );
Type | Name | Read/Write | Description |
---|---|---|---|
ajulong* | no_elements | Output | the returned number |
ajint | word | Input | the size of word to produce |
AjBool | seqisnuc | Input | True is the sequence is nucleic, False if protein |
AjBool | ignorebz | Input | true if B and Z are to be treated as non-valid residues |
AjBool | RETURN | True if the word is small enough to be encoded in an ajulong |
From EMBOSS 1.0.0