ARB
|
#include <arbdbt.h>
#include <adGene.h>
#include <map>
#include <list>
#include <set>
#include <string>
#include <unistd.h>
#include <sys/types.h>
Go to the source code of this file.
Classes | |
struct | nameOrder |
struct | PositionPair |
struct | ltNonOverlap |
class | GenePositionMap |
Macros | |
#define | gp_assert(cond) arb_assert(cond) |
#define | CHECK_SEMI_ESCAPED(s) |
Typedefs | |
typedef map< const char *, string, nameOrder > | FullNameMap |
typedef list< PositionPair > | PositionPairList |
Functions | |
static GB_ERROR | create_data_entry (GBDATA *gb_species2, const char *sequence, int seqlen) |
static GBDATA * | create_gene_species (GBDATA *gb_species_data2, const char *internal_name, const char *long_name, int abspos, const char *sequence, int length) |
static GB_ERROR | create_genelike_entry (const char *internal_name, GBDATA *gb_species_data2, int start_pos, int end_pos, const char *ali_genome, const char *long_name) |
static GB_ERROR | create_intergene (GBDATA *gb_species_data2, int start_pos, int end_pos, const char *ali_genome, const char *long_gene_name) |
static GB_ERROR | create_gene (GBDATA *gb_species_data2, int start_pos, int end_pos, const char *ali_genome, const char *long_gene_name) |
static GB_ERROR | create_split_gene (GBDATA *gb_species_data2, PositionPairList &part_list, const char *ali_genome, const char *long_gene_name) |
static GB_ERROR | scan_gene_positions (GBDATA *gb_gene, PositionPairList &part_list) |
static GB_ERROR | insert_genes_of_organism (GBDATA *gb_organism, GBDATA *gb_species_data2) |
int | ARB_main (int argc, char *argv[]) |
Variables | |
static int | gene_counter = 0 |
static int | split_gene_counter = 0 |
static int | intergene_counter = 0 |
static FullNameMap | names |
#define gp_assert | ( | cond | ) | arb_assert(cond) |
Definition at line 22 of file arb_gene_probe.cxx.
Referenced by GenePositionMap::announceGene(), ARB_main(), create_gene_species(), create_split_gene(), and insert_genes_of_organism().
#define CHECK_SEMI_ESCAPED | ( | s | ) |
Definition at line 227 of file arb_gene_probe.cxx.
Referenced by create_gene_species().
typedef map<const char *, string, nameOrder> FullNameMap |
Definition at line 50 of file arb_gene_probe.cxx.
typedef list<PositionPair> PositionPairList |
Definition at line 95 of file arb_gene_probe.cxx.
|
static |
Definition at line 202 of file arb_gene_probe.cxx.
References error(), GB_await_error(), GB_create_container(), GBT_write_string(), and NULp.
Referenced by create_gene_species().
|
static |
Definition at line 231 of file arb_gene_probe.cxx.
References CHECK_SEMI_ESCAPED, create_data_entry(), error(), GB_await_error(), GB_create(), GB_create_container(), GB_end_transaction(), GB_export_error(), GB_push_transaction(), GB_read_char_pntr(), GB_STRING, GB_write_string(), GBS_global_string(), GBT_write_int(), gp_assert, names, and NULp.
Referenced by create_genelike_entry(), and create_split_gene().
|
static |
Definition at line 276 of file arb_gene_probe.cxx.
References create_gene_species(), GB_await_error(), and NULp.
Referenced by create_gene(), and create_intergene().
|
static |
Definition at line 281 of file arb_gene_probe.cxx.
References create_genelike_entry().
Referenced by insert_genes_of_organism().
|
static |
Definition at line 290 of file arb_gene_probe.cxx.
References create_genelike_entry().
Referenced by insert_genes_of_organism().
|
static |
Definition at line 299 of file arb_gene_probe.cxx.
References PositionPair::begin, create_gene_species(), PositionPair::end, error(), GB_await_error(), GBS_global_string_copy(), GBT_write_string(), gp_assert, and NULp.
Referenced by insert_genes_of_organism().
|
static |
Definition at line 360 of file arb_gene_probe.cxx.
References error(), GB_await_error(), GEN_free_position(), GEN_read_position(), GEN_sortAndMergeLocationParts(), NULp, GEN_position::parts, GEN_position::start_pos, and GEN_position::stop_pos.
Referenced by insert_genes_of_organism().
Definition at line 376 of file arb_gene_probe.cxx.
References GenePositionMap::announceGene(), PositionPair::begin, GenePositionMap::buildIntergeneList(), create_gene(), create_intergene(), create_split_gene(), PositionPair::end, error(), GB_await_error(), GB_read_char_pntr(), GB_read_count(), GBS_escape_string(), GBS_global_string(), GBS_global_string_copy(), GBT_find_sequence(), GBT_get_name(), GEN_first_gene(), GEN_next_gene(), gene_counter, GENOM_ALIGNMENT, GenePositionMap::getAllGeneSize(), GenePositionMap::getOverlap(), gp_assert, intergene_counter, NULp, scan_gene_positions(), and split_gene_counter.
Referenced by ARB_main().
Definition at line 480 of file arb_gene_probe.cxx.
References error(), EXIT_FAILURE, EXIT_SUCCESS, GB_await_error(), GB_begin_transaction(), GB_close(), GB_create_container(), GB_delete(), GB_end_transaction(), gb_main, GB_open(), GB_request_undo_type(), GB_save_as(), GB_search(), gb_species_data, GB_STRING, GB_UNDO_NONE, GB_write_string(), GBS_global_string(), GBT_create(), GBT_find_sequence(), GBT_first_species_rel_species_data(), GBT_get_species_data(), GBT_next_species(), GBT_set_default_alignment(), GBT_write_string(), GENOM_ALIGNMENT, gp_assert, insert_genes_of_organism(), names, and NULp.
|
static |
Definition at line 33 of file arb_gene_probe.cxx.
Referenced by insert_genes_of_organism().
|
static |
Definition at line 34 of file arb_gene_probe.cxx.
Referenced by insert_genes_of_organism().
|
static |
Definition at line 35 of file arb_gene_probe.cxx.
Referenced by insert_genes_of_organism().
|
static |
Definition at line 51 of file arb_gene_probe.cxx.
Referenced by TreeContainer::add(), ARB_main(), create_gene_species(), di_calculate_tree_cb(), experiment_field_selection_list_rescan(), gene_field_selection_list_rescan(), MG_copy_and_check_alignments(), pd_get_the_gene_names(), pd_get_the_names(), PT_start_design(), and species_field_selection_list_rescan().