Re: [XMLPipeDB-developer] GenMAPP multitaxon support - CMSI 486T
Brought to you by:
kdahlquist,
zugzugglug
From: Richard B. <rbr...@gm...> - 2011-08-04 15:44:40
|
saw latest dondi submit, ui stuff looks great. recompiled and starting fresh this morning after I deal with a dead car battery situation. rb On Thu, Aug 4, 2011 at 12:09 AM, Richard Brous <rbr...@gm...> wrote: > Wednesday 8/3/11 progress: > > 1. After following the ExportPanel1.java ground zero code of: > databaseProfile.setSelectedSpeciesProfile( selectedProfile ); > > I found the method in DatabaseProfile.java plus a getter method; > SpeciesProfile setSelectedSpeciesProfile( speciesProfile ) and > SpeciesProfile getSelectedSpeciesProfile( speciesProfile ) > > I created two new methods that each handle List<Object> of SpeciesProfiles > argument instead of a single SpeciesProfile; setSelectedSpeciesProfiles and > getSelectedSpeciesProfiles. > > This enabled the ExportPanel1 ground zero code to become: > databaseProfile.setSelectedSpeciesProfiles(selectedSpecies); > > 2. public static void export() on line 104 in ExportToGenMAPP.java > > On line 107 ExportGoData is instantiated which I found in ExportGoData.java > and calls a method: *public* *void* export(*char* chosenAspect, *int*taxon). > > Within export, taxon id is required for another method: *private* *void*populateGoTables( > *char* chosenAspect, *int* taxon). > > Within populateGoTables, taxon id is required for another method: *private > * *void* populateUniprotGoTableFromSQL(*char* chosenAspect, *int* taxon). > > But, if the export to GDB process starts off with exporting GO data, > doesn't it only need to do that once no matter how many species are > selected? As you probably realize, I'm leading towards not having to iterate > through this for each taxon id if possible. > > Also, how does the export actually work? How are GO ids and UniProt ids > related within the table? > > Thanks! > > Richard > > |