libuproc  1.2.0
database.h
Go to the documentation of this file.
1 /* Copyright 2014 Peter Meinicke, Robin Martinjak, Manuel Landesfeind
2  *
3  * This file is part of libuproc.
4  *
5  * libuproc is free software: you can redistribute it and/or modify it under
6  * the terms of the GNU Lesser General Public License as published by the Free
7  * Software Foundation, either version 3 of the License, or (at your option)
8  * any later version.
9  *
10  * libuproc is distributed in the hope that it will be useful, but WITHOUT ANY
11  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12  * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
13  * more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public License
16  * along with libuproc. If not, see <http://www.gnu.org/licenses/>.
17  */
18 
30 #ifndef UPROC_DATABASE_H
31 #define UPROC_DATABASE_H
32 
33 #include "uproc/ecurve.h"
34 #include "uproc/idmap.h"
35 #include "uproc/matrix.h"
36 
49 typedef struct uproc_database_s uproc_database;
50 
62 uproc_database *uproc_database_load(const char *path, int prot_thresh_level,
63  enum uproc_ecurve_format format);
64 
76 
88 
115 
121 
122 #endif
uproc_database * uproc_database_load(const char *path, int prot_thresh_level, enum uproc_ecurve_format format)
Loads all required data of a UProC database from files in the given directory and returns a database ...
uproc_idmap * uproc_database_idmap(uproc_database *db)
Returns the mapping from numerical to string IDs of the database.
Database.
Module: ID map.
Map between protein family name and its numeric identifier.
Module: 2D double matrix.
uproc_matrix * uproc_database_protein_threshold(uproc_database *db)
Returns the protein threshold matrix of the database.
uproc_ecurve_format
Storage format.
Definition: ecurve.h:70
void uproc_database_destroy(uproc_database *db)
Destroy the database and all associated object within the database.
2D matrix
Evolutionary Curve.
uproc_ecurve * uproc_database_ecurve_reverse(uproc_database *db)
Returns the reverse matching ecurve of the database.
Module: Evolutionary Curve.
uproc_ecurve * uproc_database_ecurve_forward(uproc_database *db)
Returns the forward matching ecurve of the database.