From 1d29fba5de1dd0731564829dbf5aec572d161bd5 Mon Sep 17 00:00:00 2001 From: Don Pellegrino Date: Sun, 28 Mar 2010 08:13:11 +0000 Subject: Testing the meta-data/feature/Entrez load. --- 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 @@ -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. -- cgit v0.8.3.1-22-g547a