Public | Automated Build

Last pushed: 6 months ago
Short Description
A web wrapper for GeneValidator (identify problems with predicted genes)
Full Description

GeneValidatorApp



Introduction

This is a online web application for GeneValidator. This app is currently hosted at: genevalidator.sbcs.qmul.ac.uk.

GeneValidator helps in identifing problems with gene predictions and provides useful information extracted from analysing orthologs in BLAST databases. The results produced can be used by biocurators and researchers who need accurate gene predictions.

If you use GeneValidator in your work, please cite us as follows:

Dragan M<sup>‡</sup>, Moghul MI<sup>‡</sup>, Priyam A, Bustos C & Wurm Y. 2016. GeneValidator: identify problems with protein-coding gene predictions. <em>Bioinformatics</em>, doi: 10.1093/bioinformatics/btw015.

-

Installation

Installation Requirements

  • Ruby (>= 2.0.0)
  • NCBI BLAST+ (>= 2.2.30+) (download here).
  • MAFFT installation (>=7.273) (download here).

Please see here for more help with installing the prerequisites.

Installation

Simply run the following command in the terminal.

gem install genevalidatorapp

If that doesn't work, try sudo gem install genevalidatorapp instead.

Running From Source (Not Recommended)

It is also possible to run from source. However, this is not recommended.

# Clone the repository.
git clone https://github.com/wurmlab/genevalidatorapp.git

# Move into GeneValidatorApp source directory.
cd GeneValidatorApp

# Install bundler
gem install bundler

# Use bundler to install dependencies
bundle install

# Optional: run tests and build the gem from source
bundle exec rake

# Run GeneValidator.
bundle exec genevalidatorapp -h
# note that `bundle exec` executes GeneValidatorApp in the context of the bundle

# Alternativaly, install GeneValidatorApp as a gem
bundle exec rake install
genevalidatorapp -h

Launch GeneValidator

To configure and launch GeneValidatorApp, run the following from a command line.

genevalidatorapp

GeneValidatorApp will automatically guide you through an interactive setup process to help locate BLAST+ binaries and ask for the location of BLAST+ databases.

That's it! Open http://localhost:4567/ and start using GeneValidator!

Advanced Usage

See $ genevalidatorapp -h for more information on all the options available when running GeneValidatorApp.

SUMMARY:
  GeneValidator - Identify problems with predicted genes

USAGE:
  $ genevalidatorapp [options]

Examples:
  # Launch GeneValidatorApp with the given config file
  $ genevalidatorapp --config ~/.genevalidatorapp.conf

  # Launch GeneValidatorApp with 8 threads at port 8888
  $ genevalidatorapp --num_threads 8 --port 8888

  # Create a config file with the other arguments
  $ genevalidatorapp -s -d ~/database_dir

    -c, --config_file                Use the given configuration file
    -b, --bin                        Load BLAST+ and/or MAFFT binaries from this directory
    -d, --database_dir               Read BLAST database from this directory
    -f, --default_database_path      The path to the default BLAST database
    -n, --num_threads                Number of threads to use to run a BLAST search
    -r, --require                    Load extension from this file
    -H, --host                       Host to run GeneValidatorApp on
    -p, --port                       Port to run GeneValidatorApp on
    -s, --set                        Set configuration value in default or given config file
    -l, --list_databases             List BLAST databases
    -D, --devel                      Start GeneValidatorApp in development mode
    -v, --version                    Print version number of GeneValidatorApp that will be loaded
    -h, --help                       Display this help message.

Using Docker

# With protein database files inside a folder named db
docker run --rm -ti -p 4567:4567 -v $(pwd)/db:/db wurmlab/genevalidator

<hr>

This program was developed at Wurm Lab, QMUL with the support of a BBSRC grant.

Docker Pull Command
Owner
wurmlab
Source Repository

Comments (1)
benjo11111
2 years ago

Hi, I got below error,

2016-03-08 00:10:44 - NoMethodError - undefined method title' for nil:NilClass: /var/lib/gems/2.2.0/gems/genevalidatorapp-1.5.3/views/index.slim:42:inblock in singleton class'
/var/lib/gems/2.2.0/gems/genevalidatorapp-1.5.3/views/index.slim:-2:in instance_eval' /var/lib/gems/2.2.0/gems/genevalidatorapp-1.5.3/views/index.slim:-2:insingleton class'
/var/lib/gems/2.2.0/gems/genevalidatorapp-1.5.3/views/index.slim:-4:in __tilt_13899720' /var/lib/gems/2.2.0/gems/tilt-2.0.2/lib/tilt/template.rb:164:incall'
/var/lib/gems/2.2.0/gems/tilt-2.0.2/lib/tilt/template.rb:164:in evaluate' /var/lib/gems/2.2.0/gems/tilt-2.0.2/lib/tilt/template.rb:99:inrender'
/var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:823:in render' /var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:744:inslim'
/var/lib/gems/2.2.0/gems/genevalidatorapp-1.5.3/lib/genevalidatorapp/routes.rb:48:in block in <class:Routes>' /var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1611:incall'
/var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1611:in block in compile!' /var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in[]'
/var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in block (3 levels) in route!' /var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:994:inroute_eval'
/var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in block (2 levels) in route!' /var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1015:inblock in process_route'
/var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1013:in catch' /var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1013:inprocess_route'
/var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:973:in block in route!' /var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:972:ineach'
/var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:972:in route!' /var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1085:inblock in dispatch!'
/var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in block in invoke' /var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:incatch'
/var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in invoke' /var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1082:indispatch!'
/var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:907:in block in call!' /var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:inblock in invoke'
/var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in catch' /var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:ininvoke'
/var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:907:in call!' /var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:895:incall'
/var/lib/gems/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb:18:in call' /var/lib/gems/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb:16:incall'
/var/lib/gems/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb:18:in call' /var/lib/gems/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:incall'
/var/lib/gems/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in call' /var/lib/gems/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb:31:incall'
/var/lib/gems/2.2.0/gems/rack-1.6.4/lib/rack/head.rb:13:in call' /var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:182:incall'
/var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:2013:in call' /var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1487:inblock in call'
/var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1787:in synchronize' /var/lib/gems/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1487:incall'
/var/lib/gems/2.2.0/gems/genevalidatorapp-1.5.3/lib/genevalidatorapp.rb:89:in call' /var/lib/gems/2.2.0/gems/rack-1.6.4/lib/rack/handler/webrick.rb:88:inservice'
/usr/lib/ruby/2.2.0/webrick/httpserver.rb:138:in service' /usr/lib/ruby/2.2.0/webrick/httpserver.rb:94:inrun'
/usr/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'

and in webpage it gives me,

Oops! Something went Wonky!

Apologies, there was an error with your request. Please try again.

Error Message: undefined method `title' for nil:NilClass

If the error persists, please contact the administrator.