summaryrefslogtreecommitdiffstats
authorDon Pellegrino <don@drexel.edu>2010-01-16 15:00:43 (GMT)
committer Don Pellegrino <don@drexel.edu>2010-01-16 15:00:43 (GMT)
commitad58bc2790477c9804641489ecf26437e784feff (patch) (unidiff)
treefb61afcd2670734f0eda94118aff2f25685f37b9
parent4498865663dc42c25faf72e6ff72675538cdd697 (diff)
downloadexp007-ad58bc2790477c9804641489ecf26437e784feff.zip
exp007-ad58bc2790477c9804641489ecf26437e784feff.tar.gz
exp007-ad58bc2790477c9804641489ecf26437e784feff.tar.bz2
Added function declaration for load_influenza_faa.
-rw-r--r--src/Makefile.am6
-rw-r--r--src/aggregator.c7
-rw-r--r--src/load_influenza_faa.c9
-rw-r--r--src/load_influenza_faa.h12
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
22
3aggregator_SOURCES = \3aggregator_SOURCES = \
4 aggregator.c \4 aggregator.c \
5 load_influenza_aa_dat.c5 load_influenza_aa_dat.c \
6 load_influenza_faa.c
67
7aggregator_LDADD = -lhdf58aggregator_LDADD = -lhdf5
89
9noinst_HEADERS = \10noinst_HEADERS = \
10 load_influenza_aa_dat.h11 load_influenza_aa_dat.h \
12 load_influenza_faa.h
1113
12AM_CFLAGS = -Wall -std=gnu99 -ggdb14AM_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 */
55
6#include <hdf5.h>
7#include "load_influenza_aa_dat.h"6#include "load_influenza_aa_dat.h"
7#include "load_influenza_faa.h"
88
9#define FILE "influenza.h5"9#define FILE "influenza.h5"
1010
@@ -22,6 +22,11 @@ main()
22 load_influenza_aa_dat (file_id);22 load_influenza_aa_dat (file_id);
2323
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
3void
4load_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 */
9void
10load_influenza_faa (hid_t file_id);
11
12#endif // LOAD_INFLUENZA_FAA_H

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.