ecf_classify 1.0.2 → 1.0.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: d5e77d0b2696ddccae4643f5ee1678ad4857d7f733d91ff30927e41f685f3587
4
- data.tar.gz: f0a76e1bee5eb7aafb0d0440791f8129975c4229c532e673101914aff47893d5
3
+ metadata.gz: e132e59824536779df6fea833bf093897c9f79311b33796b239aed2837d1568d
4
+ data.tar.gz: f78f8988904a61815b87d4c6fa164298804bd462b6a566638d6af3ce4b354f96
5
5
  SHA512:
6
- metadata.gz: 73c0abe5a814878c30947d6aa574233e4fc396e685870dc08068ff6f681dac8e5cfe7f299a9ab42e081ae573ade6e4d907845bbf2438bc636a4e90a64ec3df0c
7
- data.tar.gz: 54c5614786b3fa07f47457a84920b96504e278cfaac2234db5da162d485aaf998852e39dc71fd352f7e3903fba869e6624349c2f496756b9ab1cbca49b837356
6
+ metadata.gz: f7146a18f374764494e3972da6c380d7e158edbc9d9fff3969aa9fc81a4f7ffd75e0caf3ab56d3332fc4552e5732974e6d100bc8f8b49c72bb50a625060dec1e
7
+ data.tar.gz: 3c0e0a6c99c6e1eefba26921d8ee404282a2ad0f8ce1a228ef6c77b7fd49aa71b2e4d032ebc3883bcb29126214bc8bba12b195b2f8e394e5428ab98d9d1a4d48
data/README.md CHANGED
@@ -2,9 +2,20 @@
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/ecf_classify.svg)](https://badge.fury.io/rb/ecf_classify)
4
4
 
5
- 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.
5
+ A small software pipeline for the discovery of potentially new ECF σ factors and the prediction of their functionality with regards to the new classification schema [Casas-Pastor et al.](https://doi.org/10.1093/nar/gkaa1229)
6
6
 
7
- TODO: Delete this and the text above, and describe your gem
7
+ ## Prerequisite
8
+
9
+ Please install [hmmer 3](http://hmmer.org/documentation.html).
10
+ Furthermore, you need to install the following python packages
11
+
12
+ ```
13
+ # requirements.txt
14
+ numpy
15
+ biopython==1.78
16
+ ```
17
+
18
+ `python3 -m pip install -r requirements.txt`
8
19
 
9
20
  ## Installation
10
21
 
@@ -79,13 +90,18 @@ Classifies protein sequences into ECF subgroups
79
90
 
80
91
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
81
92
 
82
- --> This will not be done before submission
83
93
  To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
84
94
 
85
95
  ## Contributing
86
96
 
87
97
  Bug reports and pull requests are welcome on GitHub at https://github.com/r-mllr/ecf_classify.
88
98
 
99
+ ## Publication / How to cite
100
+
101
+ Please cite:
102
+
103
+ Casas-Pastor D, Müller RR, Jaenicke S, Brinkrolf K, Becker A, Buttner MJ, Gross CA, Mascher T, Goesmann A, Fritz G. Expansion and re-classification of the extracytoplasmic function (ECF) σ factor family. Nucleic Acids Res. 2021 Jan 4:gkaa1229. doi: 10.1093/nar/gkaa1229. Epub ahead of print. PMID: 33398323.
104
+
89
105
  ## License
90
106
 
91
107
  The gem is available as open source under the terms of the [GPL-3](https://opensource.org/licenses/GPL-3.0).
@@ -0,0 +1 @@
1
+ default: --publish-quiet
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
24
24
  spec.require_paths = ["lib"]
25
25
 
26
26
  spec.add_development_dependency "bundler", "~> 2.0"
27
- spec.add_development_dependency "rake", "~> 10.0"
27
+ spec.add_development_dependency "rake", ">= 12.3.3"
28
28
  spec.add_development_dependency "rspec", "~> 3.0"
29
29
  spec.add_development_dependency "aruba", "~> 0.14"
30
30
 
@@ -55,6 +55,11 @@ module EcfClassify
55
55
  EcfClassify::Zenodo.download
56
56
  end
57
57
 
58
+ desc "cite", "How to cite"
59
+ def cite
60
+ puts "Thank you for using #{EcfClassify::NAME} in version #{EcfClassify::VERSION}.\nPlease cite \n\n#{EcfClassify::CITE}\n\nif you are using #{EcfClassify::NAME}"
61
+ end
62
+
58
63
  no_commands do
59
64
  def handle_help_option(method_name)
60
65
  if options[:help]
@@ -1,4 +1,5 @@
1
1
  module EcfClassify
2
- VERSION = "1.0.2"
2
+ VERSION = '1.0.3'
3
3
  NAME = 'ecf_classify'
4
+ CITE = 'Casas-Pastor D, Müller RR, Jaenicke S, Brinkrolf K, Becker A, Buttner MJ, Gross CA, Mascher T, Goesmann A, Fritz G. Expansion and re-classification of the extracytoplasmic function (ECF) σ factor family. Nucleic Acids Res. 2021 Jan 4:gkaa1229. doi: 10.1093/nar/gkaa1229. Epub ahead of print. PMID: 33398323.'
4
5
  end
@@ -21,7 +21,7 @@ module EcfClassify
21
21
  ## returns
22
22
  ## true if everything is ok
23
23
  def self.download
24
- perma_record = open(RECORD_URL)
24
+ perma_record = URI.open(RECORD_URL)
25
25
  FILES.each do |key,file|
26
26
  download = open(perma_record.base_uri.to_s + "/files/" + file)
27
27
  IO.copy_stream(download, path(key))
@@ -1,2 +1,2 @@
1
1
  numpy
2
- biopython==1.73
2
+ biopython==1.78
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.2
4
+ version: 1.0.3
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: 2020-02-19 00:00:00.000000000 Z
12
+ date: 2021-01-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -29,16 +29,16 @@ dependencies:
29
29
  name: rake
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - "~>"
32
+ - - ">="
33
33
  - !ruby/object:Gem::Version
34
- version: '10.0'
34
+ version: 12.3.3
35
35
  type: :development
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - "~>"
39
+ - - ">="
40
40
  - !ruby/object:Gem::Version
41
- version: '10.0'
41
+ version: 12.3.3
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: rspec
44
44
  requirement: !ruby/object:Gem::Requirement
@@ -103,6 +103,7 @@ files:
103
103
  - Rakefile.prod
104
104
  - bin/console
105
105
  - bin/setup
106
+ - cucumber.yml
106
107
  - data/.keep
107
108
  - ecf_classify.gemspec
108
109
  - exe/ecf_classify
@@ -134,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
134
135
  - !ruby/object:Gem::Version
135
136
  version: '0'
136
137
  requirements: []
137
- rubygems_version: 3.0.3
138
+ rubygems_version: 3.1.4
138
139
  signing_key:
139
140
  specification_version: 4
140
141
  summary: Gem for installing and running the ECF classify tool