ARB
ad_t_prot.h
Go to the documentation of this file.
1 /* ARB toolkit.
2  *
3  * This file is generated by aisc_mkpt.
4  * Any changes you make here will be overwritten later!
5  */
6 
7 #ifndef AD_T_PROT_H
8 #define AD_T_PROT_H
9 
10 /* define ARB attributes: */
11 #ifndef ATTRIBUTES_H
12 # include <attributes.h>
13 #endif
14 
15 
16 /* adChangeKey.cxx */
17 GBDATA *GBT_get_changekey(GBDATA *gb_main, const char *key, const char *change_key_path);
18 GB_TYPES GBT_get_type_of_changekey(GBDATA *gb_main, const char *field_name, const char *change_key_path);
19 GBDATA *GBT_searchOrCreate_itemfield_according_to_changekey(GBDATA *gb_item, const char *field_name, const char *change_key_path);
20 GB_ERROR GBT_add_new_changekey_to_keypath(GBDATA *gb_main, const char *name, GB_TYPES type, const char *keypath);
24 GB_ERROR GBT_add_new_changekey(GBDATA *gb_main, const char *name, int type) __ATTR__DEPRECATED_TODO("obsolete. use GBT_add_new_species_changekey() instead");
26 GB_ERROR GBT_write_int_converted(GBDATA *gb_int_writable, const char *data, size_t *rounded);
27 GB_ERROR GBT_write_float_converted(GBDATA *gb_float_writable, const char *data);
28 GB_ERROR GBT_convert_changekey(GBDATA *gb_main, const char *name, GB_TYPES target_type);
29 
30 /* adRevCompl.cxx */
31 char *GBT_reverseNucSequence(const char *s, int len);
32 char *GBT_complementNucSequence(const char *s, int len, char T_or_U);
33 NOT4PERL GB_ERROR GBT_determine_T_or_U(GB_alignment_type alignment_type, char *T_or_U, const char *supposed_target);
34 NOT4PERL void GBT_reverseComplementNucSequence(char *seq, long length, char T_or_U);
35 
36 /* adali.cxx */
39 GB_ERROR GBT_check_data(GBDATA *Main, const char *alignment_name);
42 GBDATA *GBT_create_alignment(GBDATA *gb_main, const char *name, long len, long aligned, long security, const char *type, const char *why_created);
43 GB_ERROR GBT_copy_alignment(GBDATA *gbMain, const char *source, const char *dest);
44 GB_ERROR GBT_rename_alignment(GBDATA *gbMain, const char *source, const char *dest);
45 GB_ERROR GBT_delete_alignment(GBDATA *gbMain, const char *source);
46 NOT4PERL GBDATA *GBT_add_data(GBDATA *species, const char *ali_name, const char *key, GB_TYPES type) __ATTR__DEPRECATED_TODO("better use GBT_create_sequence_data()");
47 NOT4PERL GBDATA *GBT_create_sequence_data(GBDATA *species, const char *ali_name, const char *key, GB_TYPES type, int security_write);
48 GBDATA *GBT_gen_accession_number(GBDATA *gb_species, const char *ali_name);
49 int GBT_is_partial(GBDATA *gb_species, int default_value, bool define_if_undef);
50 GBDATA *GBT_find_sequence(GBDATA *gb_species, const char *aliname);
55 GBDATA *GBT_get_alignment(GBDATA *gb_main, const char *aliname);
56 long GBT_get_alignment_len(GBDATA *gb_main, const char *aliname);
57 GB_ERROR GBT_set_alignment_len(GBDATA *gb_main, const char *aliname, long new_len);
58 char *GBT_get_alignment_type_string(GBDATA *gb_main, const char *aliname);
61 NOT4PERL char *GBT_read_gene_sequence_and_length(GBDATA *gb_gene, bool use_revComplement, char partSeparator, size_t *gene_length);
62 char *GBT_read_gene_sequence(GBDATA *gb_gene, bool use_revComplement, char partSeparator);
63 
64 /* aditem.cxx */
65 GBDATA *GBT_find_or_create_item_rel_item_data(GBDATA *gb_item_data, const char *itemname, const char *id_field, const char *id, bool markCreated);
66 GBDATA *GBT_find_or_create_species_rel_species_data(GBDATA *gb_species_data, const char *name, bool markCreated);
67 GBDATA *GBT_find_or_create_species(GBDATA *gb_main, const char *name, bool markCreated);
68 GBDATA *GBT_find_or_create_SAI(GBDATA *gb_main, const char *name);
69 GBDATA *GBT_find_item_rel_item_data(GBDATA *gb_item_data, const char *id_field, const char *id_value);
70 GBDATA *GBT_expect_item_rel_item_data(GBDATA *gb_item_data, const char *id_field, const char *id_value);
77 GBDATA *GBT_next_species(GBDATA *gb_species);
80 GBDATA *GBT_find_species(GBDATA *gb_main, const char *name);
81 GBDATA *GBT_expect_species(GBDATA *gb_main, const char *name);
85 GBDATA *GBT_next_SAI(GBDATA *gb_sai);
86 GBDATA *GBT_find_SAI_rel_SAI_data(GBDATA *gb_sai_data, const char *name);
87 GBDATA *GBT_expect_SAI_rel_SAI_data(GBDATA *gb_sai_data, const char *name);
88 GBDATA *GBT_find_SAI(GBDATA *gb_main, const char *name);
89 GBDATA *GBT_expect_SAI(GBDATA *gb_main, const char *name);
92 char *GBT_create_unique_species_name(GBDATA *gb_main, const char *default_name);
93 long GBT_mark_all(GBDATA *gb_main, int flag);
94 long GBT_mark_all_that(GBDATA *gb_main, int flag, bool (*condition)(GBDATA *, void *), void *cd);
95 long GBT_count_marked_species(GBDATA *gb_main);
96 char *GBT_store_marked_species(GBDATA *gb_main, bool unmark_all);
97 NOT4PERL GB_ERROR GBT_with_stored_species(GBDATA *gb_main, const char *stored, species_callback doit, int *clientdata);
98 GB_ERROR GBT_restore_marked_species(GBDATA *gb_main, const char *stored_marked);
100 const char *GBT_get_name(GBDATA *gb_item);
101 NOT4PERL GB_CSTR GBT_read_name(GBDATA *gb_item) __ATTR__DEPRECATED_TODO("please use GBT_get_name or GBT_get_name_or_description()");
102 GBDATA **GBT_gen_species_array(GBDATA *gb_main, long *speciesCountPtr);
103 
104 /* adname.cxx */
106 GB_ERROR GBT_rename_species(const char *oldname, const char *newname, bool ignore_protection);
109 
110 /* adseqcompr.cxx */
111 GB_ERROR GBT_compress_sequence_tree2(GBDATA *gbd, const char *tree_name, const char *ali_name) __ATTR__USERESULT;
112 void GBT_compression_test(struct Unfixed_cb_parameter *, GBDATA *gb_main);
113 
114 /* adtools.cxx */
115 GBDATA *GBT_create(GBDATA *father, const char *key, long delete_level);
116 GBDATA *GBT_find_or_create(GBDATA *father, const char *key, long delete_level);
118 char *GBT_get_default_helix_nr(GBDATA *);
119 char *GBT_get_default_ref(GBDATA *);
120 void GBT_scan_db(StrArray& fieldNames, GBDATA *gbd, const char *datapath);
121 void GBT_install_message_handler(GBDATA *gb_main);
122 void GBT_message(GBDATA *gb_main, const char *msg);
123 char *GBT_read_string(GBDATA *gb_container, const char *fieldpath);
124 char *GBT_read_as_string(GBDATA *gb_container, const char *fieldpath);
125 const char *GBT_read_char_pntr(GBDATA *gb_container, const char *fieldpath);
126 NOT4PERL long *GBT_read_int(GBDATA *gb_container, const char *fieldpath);
127 NOT4PERL float *GBT_read_float(GBDATA *gb_container, const char *fieldpath);
128 char *GBT_readOrCreate_string(GBDATA *gb_container, const char *fieldpath, const char *default_value);
129 const char *GBT_readOrCreate_char_pntr(GBDATA *gb_container, const char *fieldpath, const char *default_value);
130 NOT4PERL long *GBT_readOrCreate_int(GBDATA *gb_container, const char *fieldpath, long default_value);
131 NOT4PERL float *GBT_readOrCreate_float(GBDATA *gb_container, const char *fieldpath, float default_value);
132 GB_ERROR GBT_write_string(GBDATA *gb_container, const char *fieldpath, const char *content);
133 GB_ERROR GBT_write_int(GBDATA *gb_container, const char *fieldpath, long content);
134 GB_ERROR GBT_write_byte(GBDATA *gb_container, const char *fieldpath, unsigned char content);
135 GB_ERROR GBT_write_float(GBDATA *gb_container, const char *fieldpath, float content);
136 GBDATA *GBT_open(const char *path, const char *opent);
137 GB_ERROR GB_set_macro_error(GBDATA *gb_main, const char *curr_error);
138 GB_ERROR GB_get_macro_error(GBDATA *gb_main);
139 GB_ERROR GB_clear_macro_error(GBDATA *gb_main);
140 NOT4PERL GB_ERROR GBT_remote_action_with_timeout(GBDATA *gb_main, const char *application, const char *action_name, const class ARB_timeout *timeout, bool verbose);
141 GB_ERROR GBT_remote_action(GBDATA *gb_main, const char *application, const char *action_name);
142 GB_ERROR GBT_remote_awar(GBDATA *gb_main, const char *application, const char *awar_name, const char *value);
143 GB_ERROR GBT_remote_read_awar(GBDATA *gb_main, const char *application, const char *awar_name);
144 const char *GBT_relativeMacroname(const char *macro_name);
145 GB_ERROR GBT_macro_execute(const char *macro_name, bool loop_marked, bool run_async);
146 
147 /* adtree.cxx */
148 GBDATA *GBT_get_tree_data(GBDATA *gb_main);
149 TreeNode *GBT_remove_leafs(TreeNode *tree, GBT_TreeRemoveType mode, const GB_HASH *species_hash, int *removed, int *groups_removed);
150 GB_ERROR GBT_write_group_name(GBDATA *gb_group_name, const char *new_group_name, bool pedantic);
151 GB_ERROR GBT_write_name_to_groupData(GBDATA *gb_group, bool createNameEntry, const char *new_group_name, bool pedantic);
152 GB_ERROR GBT_write_tree(GBDATA *gb_main, const char *tree_name, TreeNode *tree);
153 GB_ERROR GBT_overwrite_tree(GBDATA *gb_tree, TreeNode *tree);
154 GB_ERROR GBT_write_tree_remark(GBDATA *gb_main, const char *tree_name, const char *remark);
155 GB_ERROR GBT_log_to_tree_remark(GBDATA *gb_tree, const char *log_entry, bool stamp);
156 GB_ERROR GBT_log_to_named_trees_remark(GBDATA *gb_main, const char *tree_name, const char *log_entry, bool stamp);
157 GB_ERROR GBT_write_tree_with_remark(GBDATA *gb_main, const char *tree_name, TreeNode *tree, const char *remark);
158 TreeNode *GBT_read_tree_and_size(GBDATA *gb_main, const char *tree_name, TreeRoot *troot, int *tree_size);
159 TreeNode *GBT_read_tree(GBDATA *gb_main, const char *tree_name, TreeRoot *troot);
160 size_t GBT_count_leafs(const TreeNode *tree);
161 GB_ERROR GBT_is_invalid(const TreeNode *tree);
162 GB_ERROR GBT_link_tree(TreeNode *tree, GBDATA *gb_main, bool show_status, int *zombies, int *duplicates);
163 void GBT_unlink_tree(TreeNode *tree);
164 GBDATA *GBT_find_tree(GBDATA *gb_main, const char *tree_name);
165 GBDATA *GBT_tree_infrontof(GBDATA *gb_tree);
166 GBDATA *GBT_tree_behind(GBDATA *gb_tree);
167 GBDATA *GBT_find_top_tree(GBDATA *gb_main);
168 GBDATA *GBT_find_bottom_tree(GBDATA *gb_main);
169 const char *GBT_existing_tree(GBDATA *gb_main, const char *tree_name);
170 GBDATA *GBT_find_next_tree(GBDATA *gb_tree);
171 const char *GBT_get_tree_name(GBDATA *gb_tree);
172 GB_ERROR GBT_check_tree_name(const char *tree_name);
173 const char *GBT_name_of_largest_tree(GBDATA *gb_main);
174 const char *GBT_name_of_bottom_tree(GBDATA *gb_main);
175 const char *GBT_tree_info_string(GBDATA *gb_main, const char *tree_name, int maxTreeNameLen);
176 long GBT_size_of_tree(GBDATA *gb_main, const char *tree_name);
177 void GBT_get_tree_names(ConstStrArray& names, GBDATA *gb_main, bool sorted);
178 NOT4PERL GB_ERROR GBT_move_tree(GBDATA *gb_moved_tree, GBT_ORDER_MODE mode, GBDATA *gb_target_tree);
179 GB_ERROR GBT_copy_tree(GBDATA *gb_main, const char *source_name, const char *dest_name);
180 GB_ERROR GBT_rename_tree(GBDATA *gb_main, const char *source_name, const char *dest_name);
181 GB_CSTR *GBT_get_names_of_species_in_tree(const TreeNode *tree, size_t *count);
182 char *GBT_tree_2_newick(const TreeNode *tree, NewickFormat format, bool compact);
183 
184 #else
185 #error ad_t_prot.h included twice
186 #endif /* AD_T_PROT_H */
GBDATA * GBT_find_bottom_tree(GBDATA *gb_main)
Definition: adtree.cxx:1050
GB_ERROR GBT_add_new_experiment_changekey(GBDATA *gb_main, const char *name, GB_TYPES type)
GB_ERROR GBT_add_new_changekey_to_keypath(GBDATA *gb_main, const char *name, GB_TYPES type, const char *keypath)
Definition: adChangeKey.cxx:86
const char * GB_ERROR
Definition: arb_core.h:25
NOT4PERL GB_ERROR GBT_move_tree(GBDATA *gb_moved_tree, GBT_ORDER_MODE mode, GBDATA *gb_target_tree)
Definition: adtree.cxx:1245
GBDATA * GBT_first_SAI(GBDATA *gb_main)
Definition: aditem.cxx:162
size_t GBT_count_leafs(const TreeNode *tree)
Definition: adtree.cxx:842
GB_TYPES type
GBT_TreeRemoveType
Definition: arbdbt.h:31
void GBT_compression_test(struct Unfixed_cb_parameter *, GBDATA *gb_main)
GBDATA * GBT_first_marked_species(GBDATA *gb_main)
Definition: aditem.cxx:113
AliDataPtr format(AliDataPtr data, const size_t wanted_len, GB_ERROR &error)
Definition: insdel.cxx:615
GB_ERROR GBT_write_tree_with_remark(GBDATA *gb_main, const char *tree_name, TreeNode *tree, const char *remark)
Definition: adtree.cxx:570
GB_ERROR GB_set_macro_error(GBDATA *gb_main, const char *curr_error)
Definition: adtools.cxx:670
GB_ERROR GBT_rename_species(const char *oldname, const char *newname, bool ignore_protection)
Definition: adname.cxx:65
void GBT_unlink_tree(TreeNode *tree)
Definition: adtree.cxx:986
GBDATA * GBT_first_marked_species_rel_species_data(GBDATA *gb_species_data)
Definition: aditem.cxx:109
long GBT_mark_all_that(GBDATA *gb_main, int flag, bool(*condition)(GBDATA *, void *), void *cd)
Definition: aditem.cxx:334
GB_ERROR GBT_restore_marked_species(GBDATA *gb_main, const char *stored_marked)
Definition: aditem.cxx:446
GBDATA * GBT_expect_item_rel_item_data(GBDATA *gb_item_data, const char *id_field, const char *id_value)
Definition: aditem.cxx:91
GBDATA ** GBT_gen_species_array(GBDATA *gb_main, long *speciesCountPtr)
Definition: aditem.cxx:485
GB_ERROR GBT_rename_alignment(GBDATA *gbMain, const char *source, const char *dest)
Definition: adali.cxx:587
GBDATA * GBT_expect_SAI_rel_SAI_data(GBDATA *gb_sai_data, const char *name)
Definition: aditem.cxx:174
int GBT_count_alignments(GBDATA *gb_main)
Definition: adali.cxx:34
long GBT_mark_all(GBDATA *gb_main, int flag)
Definition: aditem.cxx:295
GBDATA * GBT_expect_species_rel_species_data(GBDATA *gb_species_data, const char *name)
Definition: aditem.cxx:136
char * GBT_complementNucSequence(const char *s, int len, char T_or_U)
Definition: adRevCompl.cxx:78
GBDATA * GBT_tree_behind(GBDATA *gb_tree)
Definition: adtree.cxx:1036
GB_ERROR GBT_check_alignment_name(const char *alignment_name)
Definition: adali.cxx:343
GB_ERROR GBT_macro_execute(const char *macro_name, bool loop_marked, bool run_async)
Definition: adtools.cxx:919
TreeNode * GBT_remove_leafs(TreeNode *tree, GBT_TreeRemoveType mode, const GB_HASH *species_hash, int *removed, int *groups_removed)
Definition: adtree.cxx:34
char * GBT_tree_2_newick(const TreeNode *tree, NewickFormat format, bool compact)
Definition: adtree.cxx:1412
GBDATA * GBT_get_alignment(GBDATA *gb_main, const char *aliname)
Definition: adali.cxx:808
const char * GBT_name_of_bottom_tree(GBDATA *gb_main)
Definition: adtree.cxx:1107
NOT4PERL GB_ERROR GBT_with_stored_species(GBDATA *gb_main, const char *stored, species_callback doit, int *clientdata)
Definition: aditem.cxx:404
const char * GBT_name_of_largest_tree(GBDATA *gb_main)
Definition: adtree.cxx:1103
long GBT_get_SAI_count(GBDATA *gb_main)
Definition: aditem.cxx:211
void GBT_get_alignment_names(ConstStrArray &names, GBDATA *gbd)
Definition: adali.cxx:317
char * GBT_reverseNucSequence(const char *s, int len)
Definition: adRevCompl.cxx:66
TreeNode * GBT_read_tree(GBDATA *gb_main, const char *tree_name, TreeRoot *troot)
Definition: adtree.cxx:837
GB_ERROR GBT_log_to_tree_remark(GBDATA *gb_tree, const char *log_entry, bool stamp)
Definition: adtree.cxx:537
NOT4PERL long * GBT_readOrCreate_int(GBDATA *gb_container, const char *fieldpath, long default_value)
Definition: adtools.cxx:402
NOT4PERL GB_ERROR GBT_remote_action_with_timeout(GBDATA *gb_main, const char *application, const char *action_name, const class ARB_timeout *timeout, bool verbose)
Definition: adtools.cxx:792
long GBT_get_alignment_len(GBDATA *gb_main, const char *aliname)
Definition: adali.cxx:833
static char * alignment_name
const char * GBT_existing_tree(GBDATA *gb_main, const char *tree_name)
Definition: adtree.cxx:1056
int GBT_is_partial(GBDATA *gb_species, int default_value, bool define_if_undef)
Definition: adali.cxx:672
GBDATA * GBT_expect_SAI(GBDATA *gb_main, const char *name)
Definition: aditem.cxx:184
GBDATA * GBT_get_tree_data(GBDATA *gb_main)
Definition: adtree.cxx:27
GB_ERROR GBT_remote_read_awar(GBDATA *gb_main, const char *application, const char *awar_name)
Definition: adtools.cxx:834
bool GBT_is_alignment_protein(GBDATA *gb_main, const char *alignment_name)
Definition: adali.cxx:898
GB_ERROR(* species_callback)(GBDATA *gb_species, int *clientdata)
Definition: arbdbt.h:82
GB_ERROR GBT_link_tree(TreeNode *tree, GBDATA *gb_main, bool show_status, int *zombies, int *duplicates)
Definition: adtree.cxx:953
char * GBT_get_alignment_type_string(GBDATA *gb_main, const char *aliname)
Definition: adali.cxx:863
FILE * seq
Definition: rns.c:46
GB_ERROR GBT_delete_alignment(GBDATA *gbMain, const char *source)
Definition: adali.cxx:590
char * GBT_get_startup_alignment(GBDATA *gb_main)
Definition: adali.cxx:757
GBDATA * GBT_open(const char *path, const char *opent)
Definition: adtools.cxx:524
#define NOT4PERL
Definition: arbdb_base.h:23
char * GBT_get_default_helix_nr(GBDATA *)
Definition: adtools.cxx:65
GB_ERROR GBT_add_alignment_changekeys(GBDATA *gb_main, const char *ali)
void GBT_install_message_handler(GBDATA *gb_main)
Definition: adtools.cxx:223
GBDATA * GBT_first_species_rel_species_data(GBDATA *gb_species_data)
Definition: aditem.cxx:121
const char * GBT_get_tree_name(GBDATA *gb_tree)
Definition: adtree.cxx:1079
POS_TREE1 * father
Definition: probe_tree.h:39
NOT4PERL float * GBT_read_float(GBDATA *gb_container, const char *fieldpath)
Definition: adtools.cxx:349
GB_ERROR GBT_write_tree_remark(GBDATA *gb_main, const char *tree_name, const char *remark)
Definition: adtree.cxx:533
static FullNameMap names
GBDATA * GBT_find_SAI(GBDATA *gb_main, const char *name)
Definition: aditem.cxx:177
NOT4PERL GBDATA * GBT_add_data(GBDATA *species, const char *ali_name, const char *key, GB_TYPES type) __ATTR__DEPRECATED_TODO("better use GBT_create_sequence_data()")
Definition: adali.cxx:597
GB_ERROR GBT_add_new_species_changekey(GBDATA *gb_main, const char *name, GB_TYPES type)
GB_ERROR GBT_convert_changekey(GBDATA *gb_main, const char *name, GB_TYPES target_type)
boolean verbose
Definition: readseq.c:461
NOT4PERL long * GBT_read_int(GBDATA *gb_container, const char *fieldpath)
Definition: adtools.cxx:327
char * GBT_read_string(GBDATA *gb_container, const char *fieldpath)
Definition: adtools.cxx:267
GB_ERROR GBT_overwrite_tree(GBDATA *gb_tree, TreeNode *tree)
Definition: adtree.cxx:526
GBT_ORDER_MODE
Definition: arbdbt.h:43
NOT4PERL void GBT_reverseComplementNucSequence(char *seq, long length, char T_or_U)
Definition: adRevCompl.cxx:102
GB_ERROR GBT_check_tree_name(const char *tree_name)
Definition: adtree.cxx:1085
GBDATA * GBT_find_next_tree(GBDATA *gb_tree)
Definition: adtree.cxx:1063
const char * GBT_tree_info_string(GBDATA *gb_main, const char *tree_name, int maxTreeNameLen)
Definition: adtree.cxx:1114
GBDATA * gb_species_data
Definition: adname.cxx:33
GB_ERROR GBT_begin_rename_session(GBDATA *gb_main, int all_flag)
Definition: adname.cxx:37
GBDATA * GBT_find_top_tree(GBDATA *gb_main)
Definition: adtree.cxx:1042
GB_ERROR GBT_set_default_alignment(GBDATA *gb_main, const char *alignment_name)
Definition: adali.cxx:765
GB_ERROR GBT_add_new_gene_changekey(GBDATA *gb_main, const char *name, GB_TYPES type)
GB_ERROR GBT_write_tree(GBDATA *gb_main, const char *tree_name, TreeNode *tree)
Definition: adtree.cxx:523
int all_flag
Definition: adname.cxx:34
GB_ERROR GBT_write_group_name(GBDATA *gb_group_name, const char *new_group_name, bool pedantic)
Definition: adtree.cxx:230
GBDATA * GBT_expect_species(GBDATA *gb_main, const char *name)
Definition: aditem.cxx:146
char * GBT_create_unique_species_name(GBDATA *gb_main, const char *default_name)
Definition: aditem.cxx:287
GB_ERROR GBT_copy_alignment(GBDATA *gbMain, const char *source, const char *dest)
Definition: adali.cxx:584
static char const * macro_name
Definition: mkptypes.cxx:81
GB_ERROR GBT_set_alignment_len(GBDATA *gb_main, const char *aliname, long new_len)
Definition: adali.cxx:848
#define __ATTR__DEPRECATED_TODO(reason)
Definition: attributes.h:104
GB_ERROR GBT_write_float_converted(GBDATA *gb_float_writable, const char *data)
char * GBT_readOrCreate_string(GBDATA *gb_container, const char *fieldpath, const char *default_value)
Definition: adtools.cxx:371
GBDATA * GBT_find_or_create_species_rel_species_data(GBDATA *gb_species_data, const char *name, bool markCreated)
Definition: aditem.cxx:57
GBDATA * GBT_next_marked_species(GBDATA *gb_species)
Definition: aditem.cxx:116
GB_ERROR GBT_copy_tree(GBDATA *gb_main, const char *source_name, const char *dest_name)
Definition: adtree.cxx:1302
void GBT_scan_db(StrArray &fieldNames, GBDATA *gbd, const char *datapath)
Definition: adtools.cxx:162
GB_ERROR GBT_rename_tree(GBDATA *gb_main, const char *source_name, const char *dest_name)
Definition: adtree.cxx:1320
TreeNode * GBT_read_tree_and_size(GBDATA *gb_main, const char *tree_name, TreeRoot *troot, int *tree_size)
Definition: adtree.cxx:770
GBDATA * GBT_first_SAI_rel_SAI_data(GBDATA *gb_sai_data)
Definition: aditem.cxx:159
GB_alignment_type GBT_get_alignment_type(GBDATA *gb_main, const char *aliname)
Definition: adali.cxx:878
const char * GBT_relativeMacroname(const char *macro_name)
Definition: adtools.cxx:907
GBDATA * GBT_find_species_rel_species_data(GBDATA *gb_species_data, const char *name)
Definition: aditem.cxx:133
long GBT_size_of_tree(GBDATA *gb_main, const char *tree_name)
Definition: adtree.cxx:1162
NewickFormat
Definition: arbdb_base.h:68
GB_ERROR GBT_remote_action(GBDATA *gb_main, const char *application, const char *action_name)
Definition: adtools.cxx:809
char * GBT_get_default_ref(GBDATA *)
Definition: adtools.cxx:66
GB_TYPES GBT_get_type_of_changekey(GBDATA *gb_main, const char *field_name, const char *change_key_path)
Definition: adChangeKey.cxx:33
NOT4PERL float * GBT_readOrCreate_float(GBDATA *gb_container, const char *fieldpath, float default_value)
Definition: adtools.cxx:422
GBDATA * GBT_find_sequence(GBDATA *gb_species, const char *aliname)
Definition: adali.cxx:708
char * GBT_read_gene_sequence(GBDATA *gb_gene, bool use_revComplement, char partSeparator)
Definition: adali.cxx:1062
GB_ERROR GBT_abort_rename_session(void)
Definition: adname.cxx:127
GB_ERROR GBT_commit_rename_session(void) __ATTR__USERESULT
Definition: adname.cxx:166
long GBT_count_marked_species(GBDATA *gb_main)
Definition: aditem.cxx:372
const char * GBT_readOrCreate_char_pntr(GBDATA *gb_container, const char *fieldpath, const char *default_value)
Definition: adtools.cxx:386
GB_alignment_type
Definition: arbdb_base.h:61
GB_ERROR GBT_add_new_changekey(GBDATA *gb_main, const char *name, int type) __ATTR__DEPRECATED_TODO("obsolete. use GBT_add_new_species_changekey() instead")
long int flag
Definition: f2c.h:39
GB_ERROR GBT_write_byte(GBDATA *gb_container, const char *fieldpath, unsigned char content)
Definition: adtools.cxx:486
GBDATA * GBT_searchOrCreate_itemfield_according_to_changekey(GBDATA *gb_item, const char *field_name, const char *change_key_path)
Definition: adChangeKey.cxx:61
GBDATA * GBT_next_SAI(GBDATA *gb_sai)
Definition: aditem.cxx:166
GB_ERROR GBT_remote_awar(GBDATA *gb_main, const char *application, const char *awar_name, const char *value)
Definition: adtools.cxx:815
GB_ERROR GBT_is_invalid(const TreeNode *tree)
Definition: adtree.cxx:880
GB_ERROR GBT_write_string(GBDATA *gb_container, const char *fieldpath, const char *content)
Definition: adtools.cxx:451
GBDATA * GBT_get_changekey(GBDATA *gb_main, const char *key, const char *change_key_path)
Definition: adChangeKey.cxx:16
#define __ATTR__USERESULT
Definition: attributes.h:58
GB_ERROR GBT_write_float(GBDATA *gb_container, const char *fieldpath, float content)
Definition: adtools.cxx:502
GBDATA * GBT_create(GBDATA *father, const char *key, long delete_level)
Definition: adtools.cxx:26
GBDATA * GBT_find_or_create(GBDATA *father, const char *key, long delete_level)
Definition: adtools.cxx:42
GBDATA * GBT_gen_accession_number(GBDATA *gb_species, const char *ali_name)
Definition: adali.cxx:655
GBDATA * GBT_first_species(GBDATA *gb_main)
Definition: aditem.cxx:124
char * GBT_read_as_string(GBDATA *gb_container, const char *fieldpath)
Definition: adtools.cxx:290
void GBT_get_tree_names(ConstStrArray &names, GBDATA *gb_main, bool sorted)
Definition: adtree.cxx:1187
void GBT_message(GBDATA *gb_main, const char *msg)
Definition: adtools.cxx:238
GB_ERROR GBT_compress_sequence_tree2(GBDATA *gbd, const char *tree_name, const char *ali_name) __ATTR__USERESULT
Definition: adseqcompr.cxx:889
GB_ERROR GBT_log_to_named_trees_remark(GBDATA *gb_main, const char *tree_name, const char *log_entry, bool stamp)
Definition: adtree.cxx:556
GBDATA * GBT_create_alignment(GBDATA *gb_main, const char *name, long len, long aligned, long security, const char *type, const char *why_created)
Definition: adali.cxx:388
char * GBT_get_default_helix(GBDATA *)
Definition: adtools.cxx:64
GB_ERROR GB_clear_macro_error(GBDATA *gb_main)
Definition: adtools.cxx:699
GBDATA * GBT_find_or_create_species(GBDATA *gb_main, const char *name, bool markCreated)
Definition: aditem.cxx:61
GBDATA * GBT_next_species(GBDATA *gb_species)
Definition: aditem.cxx:128
GB_ERROR GBT_write_name_to_groupData(GBDATA *gb_group, bool createNameEntry, const char *new_group_name, bool pedantic)
Definition: adtree.cxx:325
GBDATA * GBT_find_species(GBDATA *gb_main, const char *name)
Definition: aditem.cxx:139
GB_ERROR GBT_set_startup_alignment(GBDATA *gb_main, const char *alignment_name)
Definition: adali.cxx:768
GB_CSTR * GBT_get_names_of_species_in_tree(const TreeNode *tree, size_t *count)
Definition: adtree.cxx:1350
NOT4PERL GBDATA * GBT_create_sequence_data(GBDATA *species, const char *ali_name, const char *key, GB_TYPES type, int security_write)
Definition: adali.cxx:643
char * GBT_get_default_alignment(GBDATA *gb_main)
Definition: adali.cxx:747
const char * GBT_get_name(GBDATA *gb_item)
Definition: aditem.cxx:468
GBDATA * GBT_find_SAI_rel_SAI_data(GBDATA *gb_sai_data, const char *name)
Definition: aditem.cxx:171
GB_TYPES
Definition: arbdb.h:62
char * GBT_store_marked_species(GBDATA *gb_main, bool unmark_all)
Definition: aditem.cxx:377
GBDATA * GBT_find_or_create_SAI(GBDATA *gb_main, const char *name)
Definition: aditem.cxx:65
long GBT_get_species_count(GBDATA *gb_main)
Definition: aditem.cxx:207
GBDATA * GBT_find_item_rel_item_data(GBDATA *gb_item_data, const char *id_field, const char *id_value)
Definition: aditem.cxx:74
GBDATA * GBT_find_tree(GBDATA *gb_main, const char *tree_name)
Definition: adtree.cxx:993
GB_ERROR GBT_write_int(GBDATA *gb_container, const char *fieldpath, long content)
Definition: adtools.cxx:471
GBDATA * gb_main
Definition: adname.cxx:32
NOT4PERL char * GBT_read_gene_sequence_and_length(GBDATA *gb_gene, bool use_revComplement, char partSeparator, size_t *gene_length)
Definition: adali.cxx:960
GB_ERROR GBT_check_data(GBDATA *Main, const char *alignment_name)
Definition: adali.cxx:218
GBDATA * GBT_get_presets(GBDATA *gb_main)
Definition: adali.cxx:30
GBDATA * GBT_get_SAI_data(GBDATA *gb_main)
Definition: aditem.cxx:154
GB_CSTR GBT_get_name_or_description(GBDATA *gb_item)
Definition: aditem.cxx:459
size_t length
GB_ERROR GBT_write_int_converted(GBDATA *gb_int_writable, const char *data, size_t *rounded)
GB_ERROR GB_get_macro_error(GBDATA *gb_main)
Definition: adtools.cxx:687
const char * GBT_read_char_pntr(GBDATA *gb_container, const char *fieldpath)
Definition: adtools.cxx:307
GBDATA * GBT_find_or_create_item_rel_item_data(GBDATA *gb_item_data, const char *itemname, const char *id_field, const char *id, bool markCreated)
Definition: aditem.cxx:18
const char * GB_CSTR
Definition: arbdb_base.h:25
static const char * action_name[]
Definition: AWTI_edit.cxx:37
GBDATA * GBT_tree_infrontof(GBDATA *gb_tree)
Definition: adtree.cxx:1031
NOT4PERL GB_ERROR GBT_determine_T_or_U(GB_alignment_type alignment_type, char *T_or_U, const char *supposed_target)
Definition: adRevCompl.cxx:90
NOT4PERL GB_CSTR GBT_read_name(GBDATA *gb_item) __ATTR__DEPRECATED_TODO("please use GBT_get_name or GBT_get_name_or_description()")
Definition: aditem.cxx:477
GBDATA * GBT_get_species_data(GBDATA *gb_main)
Definition: aditem.cxx:105
GB_write_int const char s
Definition: AW_awar.cxx:154