unipept 0.6.4 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/Rakefile +17 -13
- data/VERSION +1 -1
- data/bin/peptfilter +25 -12
- data/bin/prot2pept +16 -2
- data/bin/unipept +138 -48
- data/bin/uniprot +16 -2
- data/unipept.gemspec +5 -5
- metadata +7 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d3efe88570b78401e07ba8e33aea86a992249db1
|
4
|
+
data.tar.gz: 89f91e5cf9d921c2e3f332a39bf8fb08d2f41f4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94483a52a23563384ccb38a9befd0211d99e829cfa3b1bf71d1a58e760f9cd922b589a83b78d78d444786c70f3f0eaba2adf504bd3b315a33f06dd3f111dc5e6
|
7
|
+
data.tar.gz: 6aa8bd08b5cd97b5ed11841a6f84ece7b7ea4c8cbe62c0d549697658ebcefc36157626a3a1c3e8b1e7d10b44cba2da5e727c485ea4f8705200d978a0364e27e6
|
data/README.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# unipept-cli
|
2
2
|
|
3
3
|
[![Code Climate](https://codeclimate.com/github/unipept/unipept-cli/badges/gpa.svg)](https://codeclimate.com/github/unipept/unipept-cli)
|
4
|
+
[![Gem Version](https://badge.fury.io/rb/unipept.svg)](http://badge.fury.io/rb/unipept)
|
4
5
|
|
5
6
|
Unipept-cli offers a command line interface to the [Unipept](http://unipept.ugent.be) web service.
|
6
7
|
Documentation about the web service can be found at [http://unipept.ugent.be/apidocs](http://unipept.ugent.be/apidocs).
|
@@ -20,8 +21,8 @@ The Unipept CLI is available as a *gem*. This means it can easily be installed w
|
|
20
21
|
|
21
22
|
```bash
|
22
23
|
$ gem install unipept
|
23
|
-
Successfully installed unipept-0.
|
24
|
-
Parsing documentation for unipept-0.
|
24
|
+
Successfully installed unipept-0.7.0
|
25
|
+
Parsing documentation for unipept-0.7.0
|
25
26
|
Done installing documentation for unipept after 0 seconds
|
26
27
|
1 gem installed
|
27
28
|
```
|
@@ -30,8 +31,7 @@ After successful installation, the unipept command should be available:
|
|
30
31
|
|
31
32
|
```bash
|
32
33
|
$ unipept -v
|
33
|
-
0.
|
34
|
+
0.7.0
|
34
35
|
```
|
35
36
|
|
36
37
|
The help can be accessed by running `unipept -h`.
|
37
|
-
|
data/Rakefile
CHANGED
@@ -6,7 +6,7 @@ begin
|
|
6
6
|
Bundler.setup(:default, :development)
|
7
7
|
rescue Bundler::BundlerError => e
|
8
8
|
$stderr.puts e.message
|
9
|
-
$stderr.puts
|
9
|
+
$stderr.puts 'Run `bundle install` to install missing gems'
|
10
10
|
exit e.status_code
|
11
11
|
end
|
12
12
|
require 'rake'
|
@@ -14,14 +14,18 @@ require 'rake'
|
|
14
14
|
require 'jeweler'
|
15
15
|
Jeweler::Tasks.new do |gem|
|
16
16
|
# gem is a Gem::Specification... see http://guides.rubygems.org/specification-reference/ for more options
|
17
|
-
gem.name =
|
18
|
-
gem.executables =
|
19
|
-
gem.homepage =
|
20
|
-
gem.license =
|
21
|
-
gem.summary =
|
22
|
-
gem.description =
|
23
|
-
|
24
|
-
|
17
|
+
gem.name = 'unipept'
|
18
|
+
gem.executables = %w(unipept prot2pept peptfilter uniprot)
|
19
|
+
gem.homepage = 'https://github.com/unipept/unipept-cli/'
|
20
|
+
gem.license = 'MIT'
|
21
|
+
gem.summary = 'Command line interface to Unipept web services.'
|
22
|
+
gem.description = <<-EOS
|
23
|
+
Command line interface to the Unipept (http://unipept.ugent.be) web services
|
24
|
+
(pept2lca, taxa2lca, pept2taxa and taxonomy) and some utility commands for
|
25
|
+
handling proteins using the command line.
|
26
|
+
EOS
|
27
|
+
gem.email = 'unipept@ugent.be'
|
28
|
+
gem.authors = ['Toon Willems', 'Bart Mesuere', 'Tom Naessens']
|
25
29
|
gem.required_ruby_version = '>= 1.9.3'
|
26
30
|
end
|
27
31
|
Jeweler::RubygemsDotOrgTasks.new
|
@@ -33,17 +37,17 @@ Rake::TestTask.new(:test) do |test|
|
|
33
37
|
test.verbose = true
|
34
38
|
end
|
35
39
|
|
36
|
-
desc
|
40
|
+
desc 'Code coverage detail'
|
37
41
|
task :simplecov do
|
38
|
-
ENV['COVERAGE'] =
|
42
|
+
ENV['COVERAGE'] = 'true'
|
39
43
|
Rake::Task['test'].execute
|
40
44
|
end
|
41
45
|
|
42
|
-
task :
|
46
|
+
task default: :test
|
43
47
|
|
44
48
|
require 'rdoc/task'
|
45
49
|
Rake::RDocTask.new do |rdoc|
|
46
|
-
version = File.exist?('VERSION') ? File.read('VERSION') :
|
50
|
+
version = File.exist?('VERSION') ? File.read('VERSION') : ''
|
47
51
|
|
48
52
|
rdoc.rdoc_dir = 'rdoc'
|
49
53
|
rdoc.title = "unipept #{version}"
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.7.0
|
data/bin/peptfilter
CHANGED
@@ -1,20 +1,33 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
require 'cri'
|
3
3
|
|
4
|
-
Signal.trap(
|
5
|
-
Signal.trap(
|
4
|
+
Signal.trap('PIPE', 'EXIT')
|
5
|
+
Signal.trap('INT', 'EXIT')
|
6
6
|
root_cmd = Cri::Command.new_basic_root.modify do
|
7
7
|
name 'peptfilter'
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
8
|
+
summary 'Filter peptides based on specific criteria.'
|
9
|
+
usage 'peptfilter [options]'
|
10
|
+
description <<-EOS
|
11
|
+
The peptfilter command filters a list of peptides according to specific criteria. The command expects a list of peptides that are passed
|
12
|
+
|
13
|
+
- as separate command line arguments
|
14
|
+
|
15
|
+
- in one or more text files that are passed as an argument to the -i option
|
16
|
+
|
17
|
+
- to standard input
|
18
|
+
|
19
|
+
The command will give priority to the first way peptides are passed, in the order as listed above. Text files and standard input should have one peptide per line. FASTA headers are preserved in the output, so that peptides remain bundled.
|
20
|
+
EOS
|
21
|
+
# flag :u, :unique, "filter duplicate peptides."
|
22
|
+
required nil, :minlen, 'only retain tryptic peptides that have at least min (default: 5) amino acids.'
|
23
|
+
required nil, :maxlen, 'only retain tryptic peptides that have at most max (default: 50) amino acids.'
|
24
|
+
required :l, :lacks, 'only retain tryptic peptides that lack all amino acids from the string of residues.'
|
25
|
+
required :c, :contains, 'only retain tryptic peptides that contain all amino acids from the string of residues.'
|
26
|
+
run do |opts, _args, _cmd|
|
27
|
+
minlen = opts.fetch(:minlen, '5').to_i
|
28
|
+
maxlen = opts.fetch(:maxlen, '50').to_i
|
29
|
+
lacks = opts.fetch(:lacks, '').chars.to_a
|
30
|
+
contains = opts.fetch(:contains, '').chars.to_a
|
18
31
|
$stdin.each_line do |pept|
|
19
32
|
# FASTA headers
|
20
33
|
if pept.start_with? '>'
|
data/bin/prot2pept
CHANGED
@@ -4,8 +4,22 @@ require 'cri'
|
|
4
4
|
Signal.trap("PIPE", "EXIT")
|
5
5
|
Signal.trap("INT", "EXIT")
|
6
6
|
root_cmd = Cri::Command.new_basic_root.modify do
|
7
|
-
name
|
8
|
-
|
7
|
+
name 'prot2pept'
|
8
|
+
summary 'Split protein sequences into peptides.'
|
9
|
+
usage 'prot2pept [options]'
|
10
|
+
description <<-EOS
|
11
|
+
The prot2pept command splits each protein sequence into a list of peptides according to a given cleavage-pattern. The command expects a list of protein sequences that are passed
|
12
|
+
|
13
|
+
- as separate command line arguments
|
14
|
+
|
15
|
+
- in one or more text files that are passed as an argument to the -i option
|
16
|
+
|
17
|
+
- to standard input
|
18
|
+
|
19
|
+
The command will give priority to the first way protein sequences are passed, in the order as listed above. Text files and standard input should have either one protein sequence per line or contain a FASTA formatted list of protein sequences. FASTA headers are preserved in the output, so that peptides can be bundled per protein sequence.
|
20
|
+
|
21
|
+
EOS
|
22
|
+
required :p, :pattern, 'specify cleavage-pattern (regex) as the pattern after which the next peptide will be cleaved (default: ([KR])([^P]) for tryptic peptides).'
|
9
23
|
run do |opts, args, cmd|
|
10
24
|
pattern = opts.fetch(:pattern, "([KR])([^P])")
|
11
25
|
# decide if we have FASTA input
|
data/bin/unipept
CHANGED
@@ -9,103 +9,193 @@ require 'fileutils'
|
|
9
9
|
require_relative '../lib/unipept'
|
10
10
|
|
11
11
|
# Prevent broken pipe errors
|
12
|
-
Signal.trap(
|
13
|
-
Signal.trap(
|
12
|
+
Signal.trap('PIPE', 'EXIT')
|
13
|
+
Signal.trap('INT', 'EXIT')
|
14
14
|
|
15
15
|
root_cmd = Cri::Command.new_basic_root.modify do
|
16
16
|
name 'unipept'
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
17
|
+
summary 'Command line interface to Unipept web services.'
|
18
|
+
usage 'unipept subcommand [options]'
|
19
|
+
description <<-EOS
|
20
|
+
The unipept subcommands are command line wrappers around the Unipept web services.
|
21
|
+
|
22
|
+
Subcommands that start with pept expect a list of tryptic peptides as input. Subcommands that start with tax expect a list of NCBI Taxonomy Identifiers as input. Input is passed
|
23
|
+
|
24
|
+
- as separate command line arguments
|
25
|
+
|
26
|
+
- in one or more text files that are passed as an argument to the -i option
|
27
|
+
|
28
|
+
- to standard input
|
29
|
+
|
30
|
+
The command will give priority to the first way the input is passed, in the order as listed above. Text files and standard input should have one tryptic peptide or one NCBI Taxonomy Identifier per line.
|
31
|
+
EOS
|
32
|
+
flag :v, :version, 'displays the version'
|
33
|
+
flag :q, :quiet, 'disable service messages'
|
34
|
+
option :i, :input, 'read input from file', argument: :required
|
35
|
+
option :o, :output, 'write output to file', argument: :required
|
36
|
+
option :f, :format, "define the output format (available: #{Unipept::Formatter.available.join ', ' }) (default: #{Unipept::Formatter.default})", argument: :required
|
22
37
|
|
23
38
|
# Configuration options
|
24
|
-
option nil,
|
39
|
+
option nil, 'host', 'specify the server running the Unipept web service', argument: :required
|
25
40
|
|
26
|
-
run do |opts,
|
41
|
+
run do |opts, _args, _cmd|
|
27
42
|
if opts[:version]
|
28
|
-
puts File.read(File.join(File.dirname(__FILE__),
|
43
|
+
puts File.read(File.join(File.dirname(__FILE__), '..', 'VERSION'))
|
44
|
+
elsif
|
45
|
+
root_cmd.run(['help'])
|
29
46
|
end
|
30
47
|
end
|
31
48
|
end
|
32
49
|
|
33
50
|
root_cmd.define_command('config') do
|
34
|
-
|
51
|
+
summary 'Set configuration options.'
|
52
|
+
usage 'config option [value]'
|
53
|
+
description <<-EOS
|
54
|
+
Sets or shows the value for configuration options. All settings are stored in the .unipeptrc file in the home directory of the user.
|
55
|
+
|
56
|
+
Running the command with a value will set that value for the given option, running it without will show the current value.
|
57
|
+
|
58
|
+
These options are currently supported:
|
59
|
+
|
60
|
+
- host: Set the default host for api calls.
|
61
|
+
|
62
|
+
Example: "unipept config host http://api.unipept.ugent.be" will set the default host to the public unipept server.
|
63
|
+
EOS
|
35
64
|
|
36
|
-
run do |
|
65
|
+
run do |_opts, args, _cmd|
|
37
66
|
config = Unipept::Configuration.new
|
38
67
|
if args.size > 1
|
39
68
|
config[args.first] = args[1]
|
40
69
|
config.save
|
41
70
|
elsif args.size == 1
|
42
71
|
puts config[args.first]
|
72
|
+
elsif args.size == 0
|
73
|
+
root_cmd.run(['config', '-h'])
|
43
74
|
end
|
44
75
|
end
|
45
|
-
|
46
76
|
end
|
47
77
|
|
48
78
|
root_cmd.define_command('pept2taxa') do
|
49
|
-
usage
|
50
|
-
aliases
|
51
|
-
summary
|
52
|
-
description
|
79
|
+
usage 'pept2taxa [options]'
|
80
|
+
aliases :pt
|
81
|
+
summary 'Fetch taxa of Uniprot records that match tryptic peptides.'
|
82
|
+
description <<-EOS
|
83
|
+
For each tryptic peptide the unipept pept2taxa command retrieves from Unipept the set of taxa from all Uniprot records whose protein sequence contains an exact matches to the tryptic peptide. The command expects a list of tryptic peptides that are passed
|
84
|
+
|
85
|
+
- as separate command line arguments
|
86
|
+
|
87
|
+
- in one or more text files that are passed as an argument to the -i option
|
88
|
+
|
89
|
+
- to standard input
|
90
|
+
|
91
|
+
The command will give priority to the first way tryptic peptides are passed, in the order as listed above. Text files and standard input should have one tryptic peptide per line.
|
53
92
|
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
93
|
+
The unipept pept2taxa subcommand yields NCBI Taxonomy records as output.
|
94
|
+
EOS
|
95
|
+
|
96
|
+
flag :e, :equate, 'equate isoleucine (I) and leucine (L) when matching peptides'
|
97
|
+
flag :a, :all, 'report all information fields of NCBI Taxonomy records available in Unipept. Note that this may have a performance penalty.'
|
98
|
+
option :s, :select, 'select the information fields to return. Selected fields are passed as a comma separated list of field names. Multiple -s (or --select) options may be used.', argument: :required, multiple: true
|
99
|
+
option :x, :xml, 'Download the matched records from the NCBI web service as an xml-formatted file (specify output filename)', argument: :required
|
58
100
|
|
59
101
|
runner Unipept::Commands::Pept2taxa
|
60
102
|
end
|
61
103
|
|
62
104
|
root_cmd.define_command('pept2lca') do
|
63
|
-
usage
|
64
|
-
aliases
|
65
|
-
summary
|
66
|
-
description
|
105
|
+
usage 'pept2lca [options]'
|
106
|
+
aliases :pl
|
107
|
+
summary 'Fetch taxonomic lowest common ancestor of Uniprot records that match tryptic peptides.'
|
108
|
+
description <<-EOS
|
109
|
+
For each tryptic peptide the unipept pept2lca command retrieves from Unipept the lowest common ancestor of the set of taxa from all Uniprot records whose protein sequence contains an exact matches to the tryptic peptide. The lowest common ancestor is based on the topology of the Unipept Taxonomy -- a cleaned up version of the NCBI Taxonomy -- and is itself a record from the NCBI Taxonomy. The command expects a list of tryptic peptides that are passed
|
110
|
+
|
111
|
+
- as separate command line arguments
|
112
|
+
|
113
|
+
- in one or more text files that are passed as an argument to the -i option
|
114
|
+
|
115
|
+
- to standard input
|
67
116
|
|
68
|
-
|
69
|
-
|
70
|
-
|
117
|
+
The command will give priority to the first way tryptic peptides are passed, in the order as listed above. Text files and standard input should have one tryptic peptide per line.
|
118
|
+
|
119
|
+
The unipept pept2lca subcommand yields an NCBI Taxonomy record as output.
|
120
|
+
EOS
|
121
|
+
|
122
|
+
flag :e, :equate, 'equate isoleucine (I) and leucine (L) when matching peptides'
|
123
|
+
flag :a, :all, 'report all information fields of NCBI Taxonomy records available in Unipept. Note that this may have a performance penalty.'
|
124
|
+
option :s, :select, 'select the information fields to return. Selected fields are passed as a comma separated list of field names. Multiple -s (or --select) options may be used.', argument: :required, multiple: true
|
71
125
|
|
72
126
|
runner Unipept::Commands::Pept2lca
|
73
127
|
end
|
74
128
|
|
75
129
|
root_cmd.define_command('taxa2lca') do
|
76
|
-
usage
|
77
|
-
aliases
|
78
|
-
summary
|
79
|
-
description
|
130
|
+
usage 'taxa2lca [options]'
|
131
|
+
aliases :tl
|
132
|
+
summary 'Compute taxonomic lowest common ancestor for given list of taxa.'
|
133
|
+
description <<-EOS
|
134
|
+
The unipept taxa2lca command computes the lowest common ancestor of a given list of NCBI Taxonomy Identifiers. The lowest common ancestor is based on the topology of the Unipept Taxonomy -- a cleaned up version of the NCBI Taxonomy -- and is itself a record from the NCBI Taxonomy. The command expects a list of NCBI Taxonomy Identifiers that are passed
|
135
|
+
|
136
|
+
- as separate command line arguments
|
137
|
+
|
138
|
+
- in one or more text files that are passed as an argument to the -i option
|
139
|
+
|
140
|
+
- to standard input
|
80
141
|
|
81
|
-
|
82
|
-
|
142
|
+
The command will give priority to the first way NCBI Taxonomy Identifiers are passed, in the order as listed above. Text files and standard input should have one NCBI Taxonomy Identifier per line.
|
143
|
+
|
144
|
+
The unipept taxonomy subcommand yields NCBI Taxonomy records as output.
|
145
|
+
EOS
|
146
|
+
|
147
|
+
flag :a, :all, 'report all information fields of NCBI Taxonomy records available in Unipept. Note that this may have a performance penalty.'
|
148
|
+
option :s, :select, 'select the information fields to return. Selected fields are passed as a comma separated list of field names. Multiple -s (or --select) options may be used.', argument: :required, multiple: true
|
83
149
|
|
84
150
|
runner Unipept::Commands::Taxa2lca
|
85
151
|
end
|
86
152
|
|
87
153
|
root_cmd.define_command('pept2prot') do
|
88
|
-
usage
|
89
|
-
aliases
|
90
|
-
summary
|
91
|
-
description
|
154
|
+
usage 'pept2prot [options]'
|
155
|
+
aliases :pp
|
156
|
+
summary 'Fetch Uniprot records that match tryptic peptides.'
|
157
|
+
description <<-EOS
|
158
|
+
For each tryptic peptide the unipept pept2prot command retrieves from Unipept all Uniprot records whose protein sequence contains an exact matches to the tryptic peptide. The command expects a list of tryptic peptides that are passed
|
159
|
+
|
160
|
+
- as separate command line arguments
|
161
|
+
|
162
|
+
- in one or more text files that are passed as an argument to the -i option
|
92
163
|
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
164
|
+
- to standard input
|
165
|
+
|
166
|
+
The command will give priority to the first way tryptic peptides are passed, in the order as listed above. Text files and standard input should have one tryptic peptide per line.
|
167
|
+
|
168
|
+
The unipept pept2prot subcommand yields Uniprot records as output.
|
169
|
+
EOS
|
170
|
+
|
171
|
+
flag :e, :equate, 'equate isoleucine (I) and leucine (L) when matching peptides'
|
172
|
+
flag :a, :all, 'report all information fields of Uniprot records available in Unipept. Note that this may have a performance penalty.'
|
173
|
+
option :s, :select, 'select the information fields to return. Selected fields are passed as a comma separated list of field names. Multiple -s (or --select) options may be used.', argument: :required, multiple: true
|
174
|
+
option :x, :xml, 'download XML-formatted Uniprot records into the specified download-directory. ', argument: :required
|
97
175
|
|
98
176
|
runner Unipept::Commands::Pept2prot
|
99
177
|
end
|
100
178
|
|
101
179
|
root_cmd.define_command('taxonomy') do
|
102
|
-
usage
|
103
|
-
aliases
|
104
|
-
summary
|
105
|
-
description
|
180
|
+
usage 'taxonomy [options]'
|
181
|
+
aliases :tax
|
182
|
+
summary 'Fetch taxonomic information from Unipept Taxonomy.'
|
183
|
+
description <<-EOS
|
184
|
+
The unipept taxonomy command yields information from the Unipept Taxonomy records for a given list of NCBI Taxonomy Identifiers. The Unipept Taxonomy is a cleaned up version of the NCBI Taxonomy, and its records are also records of the NCBI Taxonomy. The command expects a list of NCBI Taxonomy Identifiers that are passed
|
185
|
+
|
186
|
+
- as separate command line arguments
|
187
|
+
|
188
|
+
- in one or more text files that are passed as an argument to the -i option
|
189
|
+
|
190
|
+
- to standard input
|
191
|
+
|
192
|
+
The command will give priority to the first way NCBI Taxonomy Identifiers are passed, in the order as listed above. Text files and standard input should have one NCBI Taxonomy Identifier per line.
|
193
|
+
|
194
|
+
The unipept taxonomy subcommand yields NCBI Taxonomy records as output.
|
195
|
+
EOS
|
106
196
|
|
107
|
-
|
108
|
-
|
197
|
+
flag :a, :all, 'report all information fields of NCBI Taxonomy records available in Unipept. Note that this may have a performance penalty.'
|
198
|
+
option :s, :select, 'select the information fields to return. Selected fields are passed as a comma separated list of field names. Multiple -s (or --select) options may be used.', argument: :required, multiple: true
|
109
199
|
|
110
200
|
runner Unipept::Commands::Taxonomy
|
111
201
|
end
|
data/bin/uniprot
CHANGED
@@ -23,8 +23,22 @@ def get_uniprot_entry(arg, format)
|
|
23
23
|
end
|
24
24
|
|
25
25
|
root_cmd = Cri::Command.new_basic_root.modify do
|
26
|
-
name
|
27
|
-
|
26
|
+
name 'uniprot'
|
27
|
+
summary 'Command line interface to Uniprot web services.'
|
28
|
+
usage 'uniprot [options]'
|
29
|
+
description <<-EOS
|
30
|
+
The uniprot command is a command line wrapper around the Uniprot web services. The command expects a list of Uniprot Accession Numbers that are passed
|
31
|
+
|
32
|
+
- as separate command line arguments
|
33
|
+
|
34
|
+
- in one or more text files that are passed as an argument to the -i option
|
35
|
+
|
36
|
+
- to standard input
|
37
|
+
|
38
|
+
The command will give priority to the first way Uniprot Accession Numbers are passed, in the order as listed above. Text files and standard input should have one Uniprot Accession Number per line.
|
39
|
+
|
40
|
+
The uniprot command yields Uniprot records as output.
|
41
|
+
EOS
|
28
42
|
required :f, :format, "specify output format (available: " + valid_formats.to_a.join(", ") + ")"
|
29
43
|
run do |opts, args, cmd|
|
30
44
|
if !opts[:format].nil? and !valid_formats.include? opts[:format]
|
data/unipept.gemspec
CHANGED
@@ -2,17 +2,17 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: unipept 0.
|
5
|
+
# stub: unipept 0.7.0 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "unipept"
|
9
|
-
s.version = "0.
|
9
|
+
s.version = "0.7.0"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["Toon Willems", "Bart Mesuere", "Tom Naessens"]
|
14
|
-
s.date = "2015-05-
|
15
|
-
s.description = "Command line interface to Unipept web services
|
14
|
+
s.date = "2015-05-20"
|
15
|
+
s.description = " Command line interface to the Unipept (http://unipept.ugent.be) web services\n (pept2lca, taxa2lca, pept2taxa and taxonomy) and some utility commands for\n handling proteins using the command line.\n"
|
16
16
|
s.email = "unipept@ugent.be"
|
17
17
|
s.executables = ["unipept", "prot2pept", "peptfilter", "uniprot"]
|
18
18
|
s.extra_rdoc_files = [
|
@@ -47,7 +47,7 @@ Gem::Specification.new do |s|
|
|
47
47
|
"test/test_unipept.rb",
|
48
48
|
"unipept.gemspec"
|
49
49
|
]
|
50
|
-
s.homepage = "https://github.com/unipept/unipept/"
|
50
|
+
s.homepage = "https://github.com/unipept/unipept-cli/"
|
51
51
|
s.licenses = ["MIT"]
|
52
52
|
s.required_ruby_version = Gem::Requirement.new(">= 1.9.3")
|
53
53
|
s.rubygems_version = "2.2.2"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unipept
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Toon Willems
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-05-
|
13
|
+
date: 2015-05-20 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: cri
|
@@ -110,7 +110,10 @@ dependencies:
|
|
110
110
|
- - "~>"
|
111
111
|
- !ruby/object:Gem::Version
|
112
112
|
version: '0.8'
|
113
|
-
description:
|
113
|
+
description: |2
|
114
|
+
Command line interface to the Unipept (http://unipept.ugent.be) web services
|
115
|
+
(pept2lca, taxa2lca, pept2taxa and taxonomy) and some utility commands for
|
116
|
+
handling proteins using the command line.
|
114
117
|
email: unipept@ugent.be
|
115
118
|
executables:
|
116
119
|
- unipept
|
@@ -148,7 +151,7 @@ files:
|
|
148
151
|
- test/helper.rb
|
149
152
|
- test/test_unipept.rb
|
150
153
|
- unipept.gemspec
|
151
|
-
homepage: https://github.com/unipept/unipept/
|
154
|
+
homepage: https://github.com/unipept/unipept-cli/
|
152
155
|
licenses:
|
153
156
|
- MIT
|
154
157
|
metadata: {}
|