summaryrefslogtreecommitdiffstats
Side-by-side diff
-rw-r--r--.gitignore10
-rw-r--r--README29
-rw-r--r--configure.ac28
-rw-r--r--src/Makefile.am19
-rw-r--r--src/controller/callbacks/keyboard.c8
-rw-r--r--src/model/state/state.h5
-rw-r--r--src/plugin/README_plugin.txt5
-rw-r--r--src/plugin/install.rdf2
-rwxr-xr-xsrc/plugin/make_xpi.sh18
-rw-r--r--src/plugin/plugin.c40
-rw-r--r--src/plugin/plugin.h2
-rw-r--r--src/plugin/test.html6
-rw-r--r--src/view/geometry.c6
-rw-r--r--src/view/init.c1
-rw-r--r--test/ParaView/explore.pvsm4896
-rw-r--r--test/ParaView/proteins_by_year.csv106810
-rw-r--r--test/ParaView/proteins_by_year.sql19
-rw-r--r--test/explore-time.mw358
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

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.