summaryrefslogtreecommitdiffstats
authorDon Pellegrino <don@drexel.edu>2010-03-28 08:13:11 (GMT)
committer Don Pellegrino <don@drexel.edu>2010-03-28 08:13:11 (GMT)
commit1d29fba5de1dd0731564829dbf5aec572d161bd5 (patch) (unidiff)
treeef12da10645b586934986fbbcb63111f1a835e35
parent9e349d880ba01b369cd82e9a9b47057c26b123e8 (diff)
downloadexp007-1d29fba5de1dd0731564829dbf5aec572d161bd5.zip
exp007-1d29fba5de1dd0731564829dbf5aec572d161bd5.tar.gz
exp007-1d29fba5de1dd0731564829dbf5aec572d161bd5.tar.bz2
Testing the meta-data/feature/Entrez load.
-rw-r--r--src/aggregator.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/aggregator.c b/src/aggregator.c
index 8057bb3..c958311 100644
--- a/src/aggregator.c
+++ b/src/aggregator.c
@@ -4,7 +4,9 @@
4 */4 */
55
6#include "error/check_h5_error.h"6#include "error/check_h5_error.h"
7#include "load/load_asn.h"
7#include "load/load_blast_scores.h"8#include "load/load_blast_scores.h"
9#include "load/load_features.h"
8#include "load/load_influenza_aa_dat.h"10#include "load/load_influenza_aa_dat.h"
9#include "load/load_influenza_faa.h"11#include "load/load_influenza_faa.h"
10#include <stdio.h>12#include <stdio.h>
@@ -23,7 +25,7 @@ main ()
23 if (exp004 == NULL)25 if (exp004 == NULL)
24 {26 {
25 printf ("EXP004 environment variable not set. This should be set to the "27 printf ("EXP004 environment variable not set. This should be set to the "
26 "directory containing the genomes/INFLUENZA data.");28 "directory containing the genomes/INFLUENZA data.\n");
27 exit (0);29 exit (0);
28 }30 }
2931
@@ -50,6 +52,7 @@ main ()
50 /*52 /*
51 * Load the supplementary protein data file.53 * Load the supplementary protein data file.
52 */54 */
55 /*
53 char* loc1 = malloc (strlen (exp004) + strlen (INFLUENZA_AA_DAT) + 1);56 char* loc1 = malloc (strlen (exp004) + strlen (INFLUENZA_AA_DAT) + 1);
54 loc1[0] = '\0';57 loc1[0] = '\0';
55 strcat (loc1, exp004);58 strcat (loc1, exp004);
@@ -58,10 +61,12 @@ main ()
58 loc1);61 loc1);
59 load_influenza_aa_dat (file_id, loc1);62 load_influenza_aa_dat (file_id, loc1);
60 free (loc1);63 free (loc1);
64 */
6165
62 /*66 /*
63 * Load the FASTA protein sequence data file.67 * Load the FASTA protein sequence data file.
64 */68 */
69 /*
65 char* loc2 = malloc (strlen (exp004) + strlen (INFLUENZA_FAA) + 1);70 char* loc2 = malloc (strlen (exp004) + strlen (INFLUENZA_FAA) + 1);
66 loc2[0] = '\0';71 loc2[0] = '\0';
67 strcat (loc2, exp004);72 strcat (loc2, exp004);
@@ -70,6 +75,13 @@ main ()
70 loc2);75 loc2);
71 load_influenza_faa (file_id, loc2);76 load_influenza_faa (file_id, loc2);
72 free (loc2);77 free (loc2);
78 */
79
80 /*
81 * Load the Entrez features.
82 */
83 // load_features (file_id, "efetch-protein-0.xml");
84 load_asn (file_id, "453644.asn");
7385
74 /*86 /*
75 * Load the BLAST scores.87 * Load the BLAST scores.

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.