ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/owl/trunk/testDbRIGraph.java
Links to HEAD: (view) (annotate)
Sticky Revision:
(Current path doesn't exist after revision 950)
Sort logs by:
Revision 576 - (view) (annotate) - [select for diffs]
Modified Tue Apr 1 15:56:06 2008 UTC (16 years, 5 months ago) by filippis
File length: 3992 byte(s)
Diff to previous 503
RIGraph:Now you can store unweighted graphs in db and also select the db that contains the ids for the single models.
-paramater weighted added to write_graph_to_db and write_graph_to_db_fast methods. If true, it works as before (atomWeight is written to db field weight) else the db field weight gets always value 1. Methods without this parameter still exist and work as before.
-protected field singleModelsDb and corresponding methods getSingleModelsDb and setSingleModelsDb have been added. All constructors set the singleModelsDb field to DEFAULT_SINGLEMODELS_DB which equals to "ioannis". Changes have been also made to write_graph_to_db and write_graph_to_db_fast methods to deal with the singleModelsDb field.

DbRIGraph, testDbRIGraph:Changes have been also made to address the reading of (un)weighted graphs from db.

doClassifySingleModels.sh has been added. You can create your own table with ids for the single models wherever you want.

createGraphDs.sh: mode to drop tables has been added.

Revision 503 - (view) (annotate) - [select for diffs]
Added Tue Jan 8 19:51:39 2008 UTC (16 years, 8 months ago) by filippis
File length: 3625 byte(s)
createGraphDb:
-scop_graph table added
-!!!!residue serial fields (num, i_num, j_num) are changed to unsigned

!!!!ProtStructGraph:
-interSSE variable added
-getResidueSerial abstract method added
-restrictContactsBetweenSs method added

!!!!AIGraph:
-getResidueSerial method added

RIGraph:
-!!!!getResidueSerial method added
-scop graphs are written to db correctly
-interSSE variable taken into account for CR db field

DbRIgraph:
-changes made so to be able to read from db using a scop id
-interSSE and minSeqSep are set now in get_db_graph_info()
-!!!!FIXED BUG:fullLength in read_graph_from_db is not set to the size of the serials2nodes TreeMap instead of the maximum serial in serials2nodes. It was giving wrong result for scop graphs.

testDbRIGraph added:
It reads one graph from a source db based either 
-on pdbcode, chaincode and graph properties or 
-on scop id and graph properties or 
-on a graph id 
and it writes the graph to a destination db.

Pdb:
-unused scop regions are now removed in restrictToScopDomain
-unused residues are also removed from resser2pdbresser, pdbresser2resser, resser2allrsa, resser2scrsa, resser2consurfhsspscore, resser2consurfhsspcolor, catalSiteSet
-!!!!sequence is reset to scop sequence and fullLength to the length of the scop sequence

CatalSiteSet:
- removeCatalSiteRes(int resser) method added

CatalyticSite:
-remRes(int resser) method added

Scop:
-remove(ScopRegion e) method added

genDbGraph:Comments only added to demonstrate new functionality.
-comment added to show how to use restrictContactsBetweenSs
-comment added to show how to use restrictToScopDomain
-runDssp now is always run and not only when mode != "GRAPH". This has been changed since now the contact range might depend on the ss assignment (restrictContactsBetweenSs) and we want to ensure consistent results
-runNaccess moved to the bottom so it is always run last. In this way if restrictToScopDomain is used, we don't have to run naccess twice.


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a