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) (side-by-side diff)
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 @@
*/
#include "error/check_h5_error.h"
+#include "load/load_asn.h"
#include "load/load_blast_scores.h"
+#include "load/load_features.h"
#include "load/load_influenza_aa_dat.h"
#include "load/load_influenza_faa.h"
#include <stdio.h>
@@ -23,7 +25,7 @@ main ()
if (exp004 == NULL)
{
printf ("EXP004 environment variable not set. This should be set to the "
- "directory containing the genomes/INFLUENZA data.");
+ "directory containing the genomes/INFLUENZA data.\n");
exit (0);
}
@@ -50,6 +52,7 @@ main ()
/*
* Load the supplementary protein data file.
*/
+ /*
char* loc1 = malloc (strlen (exp004) + strlen (INFLUENZA_AA_DAT) + 1);
loc1[0] = '\0';
strcat (loc1, exp004);
@@ -58,10 +61,12 @@ main ()
loc1);
load_influenza_aa_dat (file_id, loc1);
free (loc1);
+ */
/*
* Load the FASTA protein sequence data file.
*/
+ /*
char* loc2 = malloc (strlen (exp004) + strlen (INFLUENZA_FAA) + 1);
loc2[0] = '\0';
strcat (loc2, exp004);
@@ -70,6 +75,13 @@ main ()
loc2);
load_influenza_faa (file_id, loc2);
free (loc2);
+ */
+
+ /*
+ * Load the Entrez features.
+ */
+ // load_features (file_id, "efetch-protein-0.xml");
+ load_asn (file_id, "453644.asn");
/*
* Load the BLAST scores.

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.