author | Don Pellegrino <don@drexel.edu> | 2010-01-16 15:00:43 (GMT) |
---|---|---|
committer | Don Pellegrino <don@drexel.edu> | 2010-01-16 15:00:43 (GMT) |
commit | ad58bc2790477c9804641489ecf26437e784feff (patch) (unidiff) | |
tree | fb61afcd2670734f0eda94118aff2f25685f37b9 | |
parent | 4498865663dc42c25faf72e6ff72675538cdd697 (diff) | |
download | exp007-ad58bc2790477c9804641489ecf26437e784feff.zip exp007-ad58bc2790477c9804641489ecf26437e784feff.tar.gz exp007-ad58bc2790477c9804641489ecf26437e784feff.tar.bz2 |
Added function declaration for load_influenza_faa.
-rw-r--r-- | src/Makefile.am | 6 | ||||
-rw-r--r-- | src/aggregator.c | 7 | ||||
-rw-r--r-- | src/load_influenza_faa.c | 9 | ||||
-rw-r--r-- | src/load_influenza_faa.h | 12 |
4 files changed, 31 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 7cb4282..f4469db 100644 --- a/src/Makefile.am +++ b/src/Makefile.am | |||
@@ -2,11 +2,13 @@ bin_PROGRAMS = aggregator | |||
2 | 2 | ||
3 | aggregator_SOURCES = \ | 3 | aggregator_SOURCES = \ |
4 | aggregator.c \ | 4 | aggregator.c \ |
5 | load_influenza_aa_dat.c | 5 | load_influenza_aa_dat.c \ |
6 | load_influenza_faa.c | ||
6 | 7 | ||
7 | aggregator_LDADD = -lhdf5 | 8 | aggregator_LDADD = -lhdf5 |
8 | 9 | ||
9 | noinst_HEADERS = \ | 10 | noinst_HEADERS = \ |
10 | load_influenza_aa_dat.h | 11 | load_influenza_aa_dat.h \ |
12 | load_influenza_faa.h | ||
11 | 13 | ||
12 | AM_CFLAGS = -Wall -std=gnu99 -ggdb | 14 | AM_CFLAGS = -Wall -std=gnu99 -ggdb |
diff --git a/src/aggregator.c b/src/aggregator.c index da6db08..228e5c6 100644 --- a/src/aggregator.c +++ b/src/aggregator.c | |||
@@ -3,8 +3,8 @@ | |||
3 | * container. | 3 | * container. |
4 | */ | 4 | */ |
5 | 5 | ||
6 | #include <hdf5.h> | ||
7 | #include "load_influenza_aa_dat.h" | 6 | #include "load_influenza_aa_dat.h" |
7 | #include "load_influenza_faa.h" | ||
8 | 8 | ||
9 | #define FILE "influenza.h5" | 9 | #define FILE "influenza.h5" |
10 | 10 | ||
@@ -22,6 +22,11 @@ main() | |||
22 | load_influenza_aa_dat (file_id); | 22 | load_influenza_aa_dat (file_id); |
23 | 23 | ||
24 | /* | 24 | /* |
25 | * Load the FASTA protein sequence data file. | ||
26 | */ | ||
27 | load_influenza_faa (file_id); | ||
28 | |||
29 | /* | ||
25 | * Close the HD5 file. | 30 | * Close the HD5 file. |
26 | */ | 31 | */ |
27 | H5Fclose (file_id); | 32 | H5Fclose (file_id); |
diff --git a/src/load_influenza_faa.c b/src/load_influenza_faa.c new file mode 100644 index 0000000..8c43992 --- a/dev/null +++ b/src/load_influenza_faa.c | |||
@@ -0,0 +1,9 @@ | |||
1 | #include "load_influenza_faa.h" | ||
2 | |||
3 | void | ||
4 | load_influenza_faa (hid_t file_id) | ||
5 | { | ||
6 | |||
7 | |||
8 | return; | ||
9 | } | ||
diff --git a/src/load_influenza_faa.h b/src/load_influenza_faa.h new file mode 100644 index 0000000..4b1dbdd --- a/dev/null +++ b/src/load_influenza_faa.h | |||
@@ -0,0 +1,12 @@ | |||
1 | #ifndef LOAD_INFLUENZA_FAA_H | ||
2 | #define LOAD_INFLUENZA_FAA_H | ||
3 | |||
4 | #include <hdf5.h> | ||
5 | |||
6 | /* | ||
7 | * Load the protein sequence data from the NCBI influenza.faa file. | ||
8 | */ | ||
9 | void | ||
10 | load_influenza_faa (hid_t file_id); | ||
11 | |||
12 | #endif // LOAD_INFLUENZA_FAA_H | ||