-rw-r--r-- | .gitignore | 10 | ||||
-rw-r--r-- | README | 29 | ||||
-rw-r--r-- | configure.ac | 28 | ||||
-rw-r--r-- | src/Makefile.am | 19 | ||||
-rw-r--r-- | src/controller/callbacks/keyboard.c | 8 | ||||
-rw-r--r-- | src/model/state/state.h | 5 | ||||
-rw-r--r-- | src/plugin/README_plugin.txt | 5 | ||||
-rw-r--r-- | src/plugin/install.rdf | 2 | ||||
-rwxr-xr-x | src/plugin/make_xpi.sh | 18 | ||||
-rw-r--r-- | src/plugin/plugin.c | 40 | ||||
-rw-r--r-- | src/plugin/plugin.h | 2 | ||||
-rw-r--r-- | src/plugin/test.html | 6 | ||||
-rw-r--r-- | src/view/geometry.c | 6 | ||||
-rw-r--r-- | src/view/init.c | 1 | ||||
-rw-r--r-- | test/ParaView/explore.pvsm | 4896 | ||||
-rw-r--r-- | test/ParaView/proteins_by_year.csv | 106810 | ||||
-rw-r--r-- | test/ParaView/proteins_by_year.sql | 19 | ||||
-rw-r--r-- | test/explore-time.mw | 358 |
18 files changed, 112222 insertions, 40 deletions
diff --git a/test/ParaView/proteins_by_year.sql b/test/ParaView/proteins_by_year.sql new file mode 100644 index 0000000..d4d1499 --- a/dev/null +++ b/test/ParaView/proteins_by_year.sql @@ -0,0 +1,19 @@ +-- Extract the protein coordinates with the year of the strain as a +-- feature for analysis in ParaView. + +EXPORT TO proteins_by_year.csv OF DEL +SELECT C.x, + C.y, + 0, + S.strain_year, + C.gi +FROM influenza_meta M +JOIN strains_parsed S +ON (S.GBSeq_accession_version = M.gbseq_accession_version) +JOIN coordinates C +ON (C.gi = 'gi|' || M.gi) +WHERE S.strain_year IS NOT NULL +ORDER BY S.strain_year; + +-- Records with invalid years manually removed from the head and tail +-- of the exported file.
\ No newline at end of file |