ecf_classify 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +12 -2
- data/lib/ecf_classify.rb +8 -1
- data/lib/ecf_classify/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 766e33cb819c529e6a5f1726736379ca33319ef7fc0b724300600e61663a8486
|
4
|
+
data.tar.gz: dd4a1adc9a60a254e958e19a882ce668e6f92344b7929edeb6176014865c468b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef78c97a64fad2b232dfe4d8c2843ecfa597e8ece978b42f6600b29ea18e292c47be0cde51937dddd658afc0e72611c584bfb5146f837a58a782c5269b40746e
|
7
|
+
data.tar.gz: 7374767ba31ef7d967021a22fda7a41e8c31f382c63922e21431dbf7b63565b48dede727b524f42ff0f5b66966541978a6038f28cf5b879f4ed4f786b4605fe5
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# ECF Classify
|
2
2
|
|
3
3
|
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/ecf_classify`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
4
|
|
@@ -6,6 +6,16 @@ TODO: Delete this and the text above, and describe your gem
|
|
6
6
|
|
7
7
|
## Installation
|
8
8
|
|
9
|
+
### As a command line tool
|
10
|
+
|
11
|
+
You can install `ecf_classify` with the ruby package manager
|
12
|
+
|
13
|
+
```bash
|
14
|
+
gem install ecf_classify
|
15
|
+
```
|
16
|
+
|
17
|
+
### As a Ruby module
|
18
|
+
|
9
19
|
Add this line to your application's Gemfile:
|
10
20
|
|
11
21
|
```ruby
|
@@ -26,13 +36,13 @@ Or install it yourself as:
|
|
26
36
|
### General
|
27
37
|
```
|
28
38
|
ecf_classify commands:
|
39
|
+
ecf_classify --version # print the version
|
29
40
|
ecf_classify groups [FILE] # Classifies protein sequences into ECF groups
|
30
41
|
ecf_classify help [COMMAND] # Describe available commands or one specific command
|
31
42
|
ecf_classify subgroups [FILE] # Classifies protein sequences into ECF subgroups
|
32
43
|
|
33
44
|
Options:
|
34
45
|
-h, [--help], [--no-help]
|
35
|
-
|
36
46
|
```
|
37
47
|
|
38
48
|
### Groups
|
data/lib/ecf_classify.rb
CHANGED
@@ -6,8 +6,15 @@ require 'thor'
|
|
6
6
|
|
7
7
|
module EcfClassify
|
8
8
|
class CLI < Thor
|
9
|
-
package_name "
|
9
|
+
package_name "#{EcfClassify::NAME}"
|
10
10
|
class_option :help, aliases: "-h", type: :boolean
|
11
|
+
map %w[--version] => :__print_version
|
12
|
+
|
13
|
+
desc "--version", "print the version"
|
14
|
+
def __print_version
|
15
|
+
puts "#{EcfClassify::NAME}: #{EcfClassify::VERSION}"
|
16
|
+
exit
|
17
|
+
end
|
11
18
|
|
12
19
|
desc "groups [FILE]", "Classifies protein sequences into ECF groups"
|
13
20
|
method_option :probabilities, type: :string, aliases: "-p", default: nil
|
data/lib/ecf_classify/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ecf_classify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Delia Casas Pastor
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-10-
|
12
|
+
date: 2019-10-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|