![]() |
Bsoft 2.1.4
Bernard's software package
|
Header file for sequence utilities. More...
Functions | |
int | seq_from_residues (Bmolgroup *molgroup) |
Obtain sequences from residues. More... | |
int | seq_show (Bmolgroup *molgroup) |
Shows all molecular sequences. More... | |
int | seq_mass (Bmolgroup *molgroup) |
Shows the masses of all molecular sequences. More... | |
vector< double > | seq_elements (Bmolgroup *molgroup, Bstring ¶mfile) |
Shows the elemental composition of all molecular sequences. More... | |
int | seq_complement_all (Bmolgroup *molgroup) |
Complements all nucleotide sequences. More... | |
int | seq_translate_all (Bmolgroup *molgroup, int frame, Bstring &gcname) |
Translates all nucleotide sequences to protein sequences. More... | |
long | seq_find_dna (Bmolgroup *molgroup, Bstring &seq) |
Finds a nucleotide sequence. More... | |
long | seq_find_protein (Bmolgroup *molgroup, Bstring &seq) |
Finds an amino acid sequence. More... | |
Bstring | seq_find_protein_in_dna (Bmolgroup *molgroup, Bstring &seq, int seqlenmin, int seqlenmax, int side1, int side2, double threshold, Bstring &gcfile) |
Finds the coding region for an amino acid sequence. More... | |
int | getcode3 (char c, char *cod) |
Converts a one-letter amino acid designation to the three-letter equivalent. More... | |
char | getcode1 (char *acode) |
Converts a three-letter amino acid designation to the one-letter equivalent. More... | |
int | complement_sequence (Bstring &nucseq) |
Complements a nucleotide sequence in place. More... | |
char | get_complement (char nuc) |
Get the Watson-Crick complement of a nucleotide base. More... | |
Bstring | sequence_translate (Bstring &nucseq, long frame, Bstring &gencode) |
Translates a nucleotide sequence to a protein sequence. More... | |
Header file for sequence utilities.
int complement_sequence | ( | Bstring & | nucseq | ) |
Complements a nucleotide sequence in place.
&nucseq | nucleotide sequence to be translated. |
char get_complement | ( | char | nuc | ) |
Get the Watson-Crick complement of a nucleotide base.
nuc | nucleotide. |
char getcode1 | ( | char * | acode | ) |
Converts a three-letter amino acid designation to the one-letter equivalent.
*acode | the desired amino acid three-letter code |
Search through a list of 3-1 mappings for the desired three-letter code.
int getcode3 | ( | char | c, |
char * | cod | ||
) |
Converts a one-letter amino acid designation to the three-letter equivalent.
c | the desired amino acid code letter |
*cod | the corresponding three-letter code |
Search through a list of 1-3 mappings for the desired letter.
int seq_complement_all | ( | Bmolgroup * | molgroup | ) |
Complements all nucleotide sequences.
*molgroup | the molecule group. |
Search through a list of 1-3 mappings for the desired letter.
Shows the elemental composition of all molecular sequences.
*molgroup | set of sequences. |
¶mfile | file of residue parameters. |
Finds a nucleotide sequence.
*molgroup | the molecule group. |
&seq | sequence to find. |
Finds an amino acid sequence.
*molgroup | the molecule group. |
&seq | sequence to find. |
Bstring seq_find_protein_in_dna | ( | Bmolgroup * | molgroup, |
Bstring & | seq, | ||
int | seqlenmin, | ||
int | seqlenmax, | ||
int | side1, | ||
int | side2, | ||
double | threshold, | ||
Bstring & | gcfile | ||
) |
Finds the coding region for an amino acid sequence.
*molgroup | the molecule group. |
&seq | sequence to find. |
seqlenmin | sequence length minimum. |
seqlenmax | sequence length maximum. |
side1 | preceding sequence length to include. |
side2 | succeeding sequence length to include. |
threshold | threshold for reporting possible hits. |
&gcfile | file with genetic code. |
All molecules in the group are searched in all 6 possible frames.
int seq_from_residues | ( | Bmolgroup * | molgroup | ) |
Obtain sequences from residues.
*molgroup | set of molecules. |
int seq_mass | ( | Bmolgroup * | molgroup | ) |
Shows the masses of all molecular sequences.
*molgroup | set of sequences. |
int seq_show | ( | Bmolgroup * | molgroup | ) |
Shows all molecular sequences.
*molgroup | set of sequences. |
Translates all nucleotide sequences to protein sequences.
*molgroup | the molecule group. |
frame | the frame for translation. |
&gcfile | file with genetic code. |
Each nucleic acid sequence in the molecule group is translated to the protein sequence.