-rw-r--r-- | configure.ac | 20 | ||||
-rw-r--r-- | src/Makefile.am | 6 | ||||
-rw-r--r-- | src/aggregator.c | 14 | ||||
-rw-r--r-- | src/assign_protein_type.c | 72 | ||||
-rw-r--r-- | src/assign_protein_type.h | 6 | ||||
-rw-r--r-- | src/check_error.c | 14 | ||||
-rw-r--r-- | src/check_error.h | 11 | ||||
-rw-r--r-- | src/check_h5_error.c | 12 | ||||
-rw-r--r-- | src/check_h5_error.h | 12 | ||||
-rw-r--r-- | src/check_ncbi_error.c | 13 | ||||
-rw-r--r-- | src/check_ncbi_error.h | 13 | ||||
-rw-r--r-- | src/load_influenza_aa_dat.c | 31 |
12 files changed, 211 insertions, 13 deletions
diff --git a/src/aggregator.c b/src/aggregator.c index 228e5c6..20da6df 100644 --- a/src/aggregator.c +++ b/src/aggregator.c | |||
@@ -3,6 +3,8 @@ | |||
3 | * container. | 3 | * container. |
4 | */ | 4 | */ |
5 | 5 | ||
6 | #include "assign_protein_type.h" | ||
7 | #include "check_h5_error.h" | ||
6 | #include "load_influenza_aa_dat.h" | 8 | #include "load_influenza_aa_dat.h" |
7 | #include "load_influenza_faa.h" | 9 | #include "load_influenza_faa.h" |
8 | 10 | ||
@@ -14,22 +16,26 @@ main() | |||
14 | /* | 16 | /* |
15 | * Create the HDF5 file. | 17 | * Create the HDF5 file. |
16 | */ | 18 | */ |
17 | hid_t file_id = H5Fcreate (FILE, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT); | 19 | // hid_t file_id = H5Fcreate (FILE, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT); |
18 | 20 | ||
19 | /* | 21 | /* |
20 | * Load the supplementary protein data file. | 22 | * Load the supplementary protein data file. |
21 | */ | 23 | */ |
22 | load_influenza_aa_dat (file_id); | 24 | // load_influenza_aa_dat (file_id); |
23 | 25 | ||
24 | /* | 26 | /* |
25 | * Load the FASTA protein sequence data file. | 27 | * Load the FASTA protein sequence data file. |
26 | */ | 28 | */ |
27 | load_influenza_faa (file_id); | 29 | // load_influenza_faa (file_id); |
28 | 30 | ||
29 | /* | 31 | /* |
30 | * Close the HD5 file. | 32 | * Close the HD5 file. |
31 | */ | 33 | */ |
32 | H5Fclose (file_id); | 34 | // herr_t status = H5Fclose (file_id); |
35 | // if (status < 0) | ||
36 | // check_h5_error (status, __FILE__, __LINE__); | ||
37 | |||
38 | assign_protein_type (0); | ||
33 | 39 | ||
34 | return 0; | 40 | return 0; |
35 | } | 41 | } |