Skip to content
The sources of the openSNP website http://opensnp.org
Ruby HTML PLpgSQL JavaScript CSS Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app
config
db
doc
lib
public
script
solr/conf
test
testdata
vendor/plugins
.gitignore
.rvmrc
Gemfile
Gemfile.lock
README.rdoc
Rakefile
beautifier.rb
config.ru
serverscript
turnoffserver

README.rdoc

SNPr

a repository to which users can upload their SNP-sets from 23andme and deCODEme. On upload, SNPs are annotated using the PLoS and Mendeley-APIs to show users the newest scientific research results on their SNPs. Each SNP is also linked to the relevant page on SNPedia. SNPs are ranked according to how many results could be gathered for SNPedia, PLoS and Mendeley (in that order). Users can send each other private messages as well as comment on SNPs and Phenotypes.

A RSS-feed is provided which is re-newed once a user uploads a genotyping. Users can enter phenotypes to assist future research. Right now, a search looks at every String I could think of :)

Reminder: When new search-indexes are defined on models please run

rake sunspot:reindex

Reminder 2: You can monitor the resque-server on localhost:3000/resque (useful in killing leftover tasks)

Reminder 3: To load all standard achievements into the database run

rake db:seed OR rake db:setup (which also sets up the entire db)

Usage

You need to have the following running to ensure that everything works:

redis-server

rake environment resque:work QUEUE=*

rake sunspot:solr:run OR rake sunspot:solr:start (runs in background)

rails s(erver)

Note: “serverscript” starts all these in detached screen-sessions.

to-do

Something went wrong with that request. Please try again.