Skip to content
This repository

Tools for keeping track of biogems through http://biogems.info/

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 doc
Octocat-spinner-32 etc
Octocat-spinner-32 features
Octocat-spinner-32 lib
Octocat-spinner-32 scripts
Octocat-spinner-32 source
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 INSTALL.md
Octocat-spinner-32 README.rdoc
Octocat-spinner-32 Rakefile
Octocat-spinner-32 config.rb
README.rdoc

Biogems.info

The following information describes the steps to getting your biogem registered on biogems.info. If you are looking to generate the biogems.info website instead: read INSTALL.md!

biogems.info tracks interesting Ruby gems for bioinformatics.

To get your gem listed, simply create a gem named 'bio-mygem', i.e. start the name with bio dash, and push it onto rubygems.org. You can use the biogem tool to create the plumbing, if you like. If you wish to name your gem differently, or host the gem elsewhere, it can still be listed. Either add a project description to /etc/biogems/name.yaml, or add an issue to the github tracker at github.com/pjotrp/biogems.info/issues

Gem settings

The settings displayed, on biogems.info, are the ones you specify for a gem. In particular

gem.name = "bio-gem"
gem.homepage = "http://github.com/helios/bioruby-gem"
gem.license = "MIT"
gem.summary = %Q{BioGem helps Bioinformaticians start developing plugins/modules for BioRuby creating a scaffold and a gem package}
gem.description = %Q{BioGem is a scaffold generator for those
  ... } 
gem.email = "ilpuccio.febo@gmail.com"
gem.authors = ["Raoul J.P. Bonnal"]

This is the information pushed to rubygems.org when releasing a gem. biogems.info harvests this information, with the download statistics.

Additional settings

Information, not available through gems, is captured through overriding settings. These are stored in this source repository, under ./etc/biogems/. These files add information, such as doi references, and the status of a gem (core, stable, test), but also potentially override gem settings, such as the summary field(!)

For example in ./etc/biogems/bio.yaml

# Additional BioRuby settings
:doi: 10.1093/bioinformatics/btq475
:status: core
:source_code_uri: https://github.com/bioruby/bioruby

It is also possible the overriding gemname.yaml is in your github repository(!) Just tell us where it resides through github.com/pjotrp/biogems.info/issues

GitHub API access limits

Without using authentication, the GitHub API allows only 60 requests per hour from a single IP address. But during the data collection phase of generating the biogems.info website, the script currently needs to make around 200 requests to this API to fetch the number of issues and stargazers for each gem.

To get around this, go to the applications tab on your GitHub settings page and generate a new “Personal API access token”. Then copy that token (but not into the repository!), and before running the ./create_data.sh script, set the GITHUB_API_TOKEN environment variable like this:

export GITHUB_API_TOKEN="copy-here-the-token-string-from-github"

That lets the script make 5000 requests per hour, which should be more then enough.

Website source

This repository on github contains the source code for the biogems.info website.

Biogems.info is an initiative by the BioRuby developers Copyright (C) 2011,2012,2013,2014 Pjotr Prins <pjotr.prins@thebird.nl>

Something went wrong with that request. Please try again.