genevalidatorapp 2.0.2 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a5a27e883f0417469350f081c33ea20b85807e9f8426fc32f572f8cd759168a4
4
- data.tar.gz: 9b8ddf28dbafbfd70105a35216e39df09ec55265825916497886d5f3dc5dd100
3
+ metadata.gz: 335e59756610dbf42e458acae01444e5c4931db68cfa167348ea9b746fafa258
4
+ data.tar.gz: 6463d4162b3e4475faa71065085f98b9dc9fb47a301d24c40fedecea7e3d4638
5
5
  SHA512:
6
- metadata.gz: '048bf6de0d2665c72e855bad14fa2b02c378ee32653865a4c3ad631b0983c6cd1f4c88af754d918e3fa84c5f7d54aa6195cd6f2cd30cb281641ff492988effd5'
7
- data.tar.gz: 72f413f152e54298928e6133dfe6e7a97d3f5a1452de86f7c8cb32091dc9697f4de57cb9e8b738ab6a08e89ab7543225f6c4eedd451b62affd009eb06568916d
6
+ metadata.gz: 4b99f80233d2ae778d279ea4af7cf2c9415ecc1710581eb3583e66b821e34196e7f5ed02095dea81f1836cac75cc651547922a2eb491e44e7d243268e793eda6
7
+ data.tar.gz: c17e9cd599202ff003872dd5c02ba55f23b1fa48b77a0f08feeb1110d99fa82279701593c5a63f1c17f1bb36394c3ecc2ca6ed7e22d33725dc819906ebdd3b9c
data/.travis.yml CHANGED
@@ -1,16 +1,11 @@
1
1
  language: ruby
2
2
  rvm:
3
- - "2.0.0"
4
- - "2.1.3"
5
- - '2.2.0'
3
+ - "2.2.10"
4
+ - "2.3.7"
5
+ - "2.4.4"
6
+ - "2.5.1"
6
7
  before_install:
7
- - wget -c "ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.30/ncbi-blast-2.2.30+-x64-linux.tar.gz" && tar xvf ncbi-blast-2.2.30+-x64-linux.tar.gz && export PATH="./ncbi-blast-2.2.30+/bin:$PATH"
8
- - wget -P ~ http://mafft.cbrc.jp/alignment/software/mafft-7.205-with-extensions-src.tgz
9
- - tar -zxvf ~/mafft-7.205-with-extensions-src.tgz -C ~
10
- - mkdir ~/mafft
11
- - ruby -pi -e "gsub(/^PREFIX = \/usr\/local/, 'PREFIX = ~/mafft/')" ~/mafft-7.205-with-extensions/core/Makefile
12
- - (cd ~/mafft-7.205-with-extensions/core/ && make clean && make && make install)
13
- - export PATH=$PATH:~/mafft/bin
8
+ - gem install genevalidator
9
+ - sh -c "$(curl -fsSL install-genevalidator.wurmlab.com)"
14
10
  cache: bundler
15
- sudo: false
16
- script: bundle exec rake test
11
+ script: rake test
@@ -22,7 +22,6 @@ Gem::Specification.new do |s|
22
22
 
23
23
  s.required_ruby_version = '>= 2.2.0'
24
24
 
25
- s.add_development_dependency 'bundler', '~> 1.6'
26
25
  s.add_development_dependency 'capybara', '~> 2.4', '>= 2.4.4'
27
26
  s.add_development_dependency 'minitest', '~> 5.10'
28
27
  s.add_development_dependency 'rake', '~> 12.3'
@@ -73,7 +73,8 @@ module GeneValidatorApp
73
73
  def defaults
74
74
  {
75
75
  :num_threads => 1,
76
- :port => 4567,
76
+ :mafft_threads => 1,
77
+ :port => 5678,
77
78
  :host => '0.0.0.0',
78
79
  :gv_public_dir => File.join(Dir.home, '.genevalidatorapp/'),
79
80
  :max_characters => 'undefined'
@@ -177,8 +177,10 @@ module GeneValidatorApp
177
177
  validations: @params[:validations],
178
178
  db: @db,
179
179
  num_threads: config[:num_threads],
180
+ mafft_threads: config[:mafft_threads],
181
+ min_blast_hits: 5,
180
182
  input_fasta_file: @input_file,
181
- output_formats: %w[json html],
183
+ output_formats: %w[html csv json summary],
182
184
  output_dir: File.join(@run_dir, 'output')
183
185
  }
184
186
  end
@@ -1,3 +1,3 @@
1
1
  module GeneValidatorApp
2
- VERSION = '2.0.2'
2
+ VERSION = '2.1.0'
3
3
  end
data/views/index.slim CHANGED
@@ -38,11 +38,11 @@ section#search
38
38
  .form-group.form-inline
39
39
  label.control-label Advanced Parameters: Database
40
40
  br/
41
- label.radio-inline.no_indent.col-lg-3.col-md-5.col-sm-6.col-xs-12
41
+ label.radio-inline.no_indent.col-xs-12
42
42
  <input type="radio" name="database" value="#{@default_db.title.chomp}" checked=""> #{@default_db.title.chomp}
43
43
  - unless @non_default_dbs.empty?
44
44
  - @non_default_dbs.each do |db|
45
- label.radio-inline.no_indent.col-lg-3.col-md-5.col-sm-6.col-xs-12
45
+ label.radio-inline.no_indent.col-xs-12
46
46
  <input type="radio" name="database" value="#{db.title.chomp}"> #{db.title.chomp}
47
47
  .clearfix
48
48
  .form-group
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: genevalidatorapp
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Monica Dragan
@@ -11,22 +11,8 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2018-06-28 00:00:00.000000000 Z
14
+ date: 2018-08-14 00:00:00.000000000 Z
15
15
  dependencies:
16
- - !ruby/object:Gem::Dependency
17
- name: bundler
18
- requirement: !ruby/object:Gem::Requirement
19
- requirements:
20
- - - "~>"
21
- - !ruby/object:Gem::Version
22
- version: '1.6'
23
- type: :development
24
- prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
26
- requirements:
27
- - - "~>"
28
- - !ruby/object:Gem::Version
29
- version: '1.6'
30
16
  - !ruby/object:Gem::Dependency
31
17
  name: capybara
32
18
  requirement: !ruby/object:Gem::Requirement
@@ -229,7 +215,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
229
215
  version: '0'
230
216
  requirements: []
231
217
  rubyforge_project:
232
- rubygems_version: 2.7.6
218
+ rubygems_version: 2.7.7
233
219
  signing_key:
234
220
  specification_version: 4
235
221
  summary: A Web App wrapper for GeneValidator.