ms-sequest 0.0.23 → 0.0.24

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/ms/sequest/srf/pepxml.rb +9 -9
  3. metadata +4 -4
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.23
1
+ 0.0.24
@@ -27,9 +27,9 @@ class Ms::Sequest::Srf
27
27
  # *:db_dir*:: nil - <i>the directory the fasta file used for the search is housed in. A valid pepxml file must point to a valid fasta file!</i>
28
28
  # *:db_residue_size*:: nil - <i>An integer for the number of residues in the database. if true, calculates the size of the fasta database.</i>
29
29
  # *:db_name:: nil
30
- # *:db_orig_database_url*:: nil
30
+ # *:db_orig_url*:: nil
31
31
  # *:db_release_date*:: nil
32
- # *:db_release_identifier*:: nil
32
+ # *:db_release_id*:: nil
33
33
  #
34
34
  # Search Hits
35
35
  # *:num_hits*:: 1 - <i>the top number of hits to include</i>
@@ -53,9 +53,9 @@ class Ms::Sequest::Srf
53
53
  :db_dir => nil,
54
54
  :db_residue_size => nil,
55
55
  :db_name => nil,
56
- :db_orig_database_url => nil,
56
+ :db_orig_url => nil,
57
57
  :db_release_date => nil,
58
- :db_release_identifier => nil,
58
+ :db_release_id => nil,
59
59
 
60
60
  :num_hits => 1,
61
61
  :retention_times => false,
@@ -173,7 +173,7 @@ class Ms::Sequest::Srf
173
173
  :out_data_type => opt[:out_data_type],
174
174
  :out_data => opt[:out_data],
175
175
  ) do |search_database, enzymatic_search_constraint, modifications_ar, parameters_hash|
176
- search_database.merge!(:local_path => db_filename, :seq_type => opt[:db_seq_type], :database_name => opt[:db_name], :orig_database_url => opt[:db_orig_database_url], :database_release_date => opt[:db_release_date], :database_release_identifier => opt[:db_release_identifier])
176
+ search_database.merge!(:local_path => db_filename, :seq_type => opt[:db_seq_type], :database_name => opt[:db_name], :orig_database_url => opt[:db_orig_url], :database_release_date => opt[:db_release_date], :database_release_identifier => opt[:db_release_id])
177
177
 
178
178
  case opt[:db_residue_size]
179
179
  when Integer
@@ -218,9 +218,9 @@ class Ms::Sequest::Srf
218
218
  else
219
219
  deltacn = pep.deltacn
220
220
  deltacn = 1.0 if deltacn == 1.1
221
- deltcnstar = out_file.hits[i+1].nil? ? '1' : '0'
221
+ deltacnstar = out_file.hits[i+1].nil? ? '1' : '0'
222
222
  end
223
- search_scores.merge!( :xcorr => pep.xcorr, :deltcn => deltacn,
223
+ search_scores.merge!( :xcorr => pep.xcorr, :deltacn => deltacn,
224
224
  :spscore => pep.sp, :sprank => pep.rsp)
225
225
  search_scores[:deltacnstar] = deltacnstar if deltacnstar
226
226
  end
@@ -289,9 +289,9 @@ module Ms::Sequest::Srf::Pepxml
289
289
  opt :db_seq_type, "'AA' or 'NA'", :default => 'AA'
290
290
  opt :db_residue_size, 'calculate the size of the fasta file'
291
291
  opt :db_name, 'the database name', :type => :string
292
- opt :db_orig_database_url, 'original database url', :type => :string
292
+ opt :db_orig_url, 'original database url', :type => :string
293
293
  opt :db_release_date, 'database release date', :type => :string
294
- opt :db_release_identifier, 'the database release identifier', :type => :string
294
+ opt :db_release_id, 'the database release identifier', :type => :string
295
295
  end
296
296
 
297
297
  opt = opts.parse argv
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 23
9
- version: 0.0.23
8
+ - 24
9
+ version: 0.0.24
10
10
  platform: ruby
11
11
  authors:
12
12
  - John T. Prince
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-03-09 00:00:00 -07:00
17
+ date: 2011-03-10 00:00:00 -07:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -217,7 +217,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
217
217
  requirements:
218
218
  - - ">="
219
219
  - !ruby/object:Gem::Version
220
- hash: 1792839342087797925
220
+ hash: -385266015474839792
221
221
  segments:
222
222
  - 0
223
223
  version: "0"