summaryrefslogtreecommitdiffstats
path: root/src/aggregator.c (plain)
blob: ae5aa606f31b16b69d2ecc8937339d4ea37249e1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * Aggregate the collected influenza data into a single HDF5
 * container.
 */

#include <hdf5.h>
#include "load_influenza_aa_dat.h"

#define FILE "influenza.h5"

int
main()
{
  /*
   * Create the HDF5 file.
   */
  hid_t file_id = H5Fcreate (FILE, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);

  /*
   * Load the supplementary protein data file.
   */
  load_influenza_aa_dat (file_id);

  /*
   * Close the HD5 file.
   */
  herr_t status = H5Fclose (file_id);

  return 0;
}

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.