genevalidatorapp 2.1.2 → 2.1.3

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: 5fef79353732230b2ca0f21f183b6232a27761422b7126577a553f11278518c7
4
- data.tar.gz: 25795b4b7865762e8dc408b030748cd9584205d9ad00958e8d51d4908e50acfb
3
+ metadata.gz: 750d842e8248a3e7998399088e76e7feedbbe670b034fb628f187c8b6a4ae540
4
+ data.tar.gz: de9835d6c0bfb2da7ffb9125d65c4bf829cb64d09e6be26af76109ec781a59c4
5
5
  SHA512:
6
- metadata.gz: 207b14ef281b2cd86e24b085cbb34754b75175838df0032a8375ac4d19173f6391d075915fc1f2b3676de4f33db75b676dff1cb586f310ddeb88b37a0ef8f57b
7
- data.tar.gz: bd172c9069bea91010bad2c0d2c611e2707678767b857a6cc68ada1353180db712b14e5695a5c7036dbfad94d193971b7faf94d5140a14db35f2444d73f921c6
6
+ metadata.gz: 457a297ebd41a808d81e9c3122bc2aa407a42ba211a95c1a710aaa32b0e6652dc4ea234ef67aaf09353d31a5b8666b791f1d2400239478bbb104bb48edd455ba
7
+ data.tar.gz: 1675b6ba5484c879189be7d49f1491b1177216f70cdc4204de1db24b35c335f254fd28af1191a342f6312946734a86de25f4fda16392b44a5ea88b9112d175d3
@@ -5,7 +5,17 @@ rvm:
5
5
  - "2.4.4"
6
6
  - "2.5.1"
7
7
  before_install:
8
- - gem install genevalidator
9
- - sh -c "$(curl -fsSL install-genevalidator.wurmlab.com)"
10
- cache: bundler
11
- script: rake test
8
+ # Install MAFFT
9
+ - mkdir dependencies
10
+ - mkdir dependencies/mafft
11
+ - curl -L --fail https://mafft.cbrc.jp/alignment/software/mafft-7.397-linux.tgz | tar -xzf - --strip-components=1 -C dependencies/mafft
12
+ - MAFFT_DIR="$PWD/dependencies/mafft/mafftdir"
13
+ - MAFFT_BINARIES="${MAFFT_DIR}/libexec"; export MAFFT_BINARIES;
14
+ # BLAST
15
+ - mkdir dependencies/blast
16
+ - curl -L --fail https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.7.1/ncbi-blast-2.7.1+-x64-linux.tar.gz | tar -xzf - --strip-components=1 -C dependencies/blast
17
+ - BLAST_BIN="$PWD/dependencies/blast/bin"
18
+ - export PATH=${MAFFT_DIR}/bin:${BLAST_BIN}:$PATH
19
+ # add GV as a dependency
20
+ - echo "gem 'genevalidator'" >> Gemfile
21
+ script: bundle exec rake test
@@ -81,9 +81,19 @@ MSG
81
81
  end
82
82
  end
83
83
 
84
+ ## MAFFT NOT INSTALLED OR NOT COMPATIBLE ##
85
+
86
+ # Raised if GV could not locate MAFFT binaries on
87
+ # user's system.
88
+ class MAFFT_NOT_INSTALLED < StandardError
89
+ def to_s
90
+ 'Could not locate MAFFT binaries.'
91
+ end
92
+ end
93
+
84
94
  ## BLAST NOT INSTALLED OR NOT COMPATIBLE ##
85
95
 
86
- # Raised if SequenceServer could not locate NCBI BLAST+ installation on
96
+ # Raised if GV could not locate NCBI BLAST+ installation on
87
97
  # user's system.
88
98
  class BLAST_NOT_INSTALLED < StandardError
89
99
  def to_s
@@ -91,7 +101,7 @@ MSG
91
101
  end
92
102
  end
93
103
 
94
- # Raised if SequenceServer could not successfully execute 'blastp -version'
104
+ # Raised if GV could not successfully execute 'blastp -version'
95
105
  # on user's system (see #141).
96
106
  class BLAST_NOT_EXECUTABLE < StandardError
97
107
  def to_s
@@ -99,8 +109,8 @@ MSG
99
109
  end
100
110
  end
101
111
 
102
- # Raised if SequenceServer determined NCBI BLAST+ present on the user's
103
- # system but not meeting SequenceServer's minimum version requirement.
112
+ # Raised if GV determined NCBI BLAST+ present on the user's
113
+ # system but not meeting GV's minimum version requirement.
104
114
  class BLAST_NOT_COMPATIBLE < StandardError
105
115
  def initialize(version)
106
116
  @version = version
@@ -111,7 +121,7 @@ MSG
111
121
  def to_s
112
122
  <<MSG
113
123
  Your BLAST+ version #{version} is outdated.
114
- SequenceServer needs NCBI BLAST+ version #{MINIMUM_BLAST_VERSION} or higher.
124
+ GV needs NCBI BLAST+ version #{MINIMUM_BLAST_VERSION} or higher.
115
125
  MSG
116
126
  end
117
127
  end
@@ -167,7 +177,7 @@ Tried: #{cmd}
167
177
  Error:
168
178
  #{out.strip}
169
179
 
170
- Please could you report this to 'https://groups.google.com/forum/#!forum/sequenceserver'?
180
+ Please could you report this to 'https://groups.google.com/forum/#!forum/GV'?
171
181
  MSG
172
182
  end
173
183
  end
@@ -1,3 +1,3 @@
1
1
  module GeneValidatorApp
2
- VERSION = '2.1.2'.freeze
2
+ VERSION = '2.1.3'.freeze
3
3
  end
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.1.2
4
+ version: 2.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Monica Dragan