mspire-simulator 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,103 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "mspire-simulator"
8
+ s.version = "0.1.0"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["anoyce"]
12
+ s.date = "2012-08-10"
13
+ s.description = "Simulates MS1 runs given amino acid FASTA files. Outputs an MZML file.\n\t\t\tCan simulate specific data if given an MZML file containing a single isolated peptide peak."
14
+ s.email = "andrewbnoyce@gmail.com"
15
+ s.executables = ["mspire-simulator"]
16
+ s.extra_rdoc_files = [
17
+ "LICENSE.txt",
18
+ "README.rdoc"
19
+ ]
20
+ s.files = [
21
+ "LICENSE.txt",
22
+ "README.rdoc",
23
+ "Rakefile",
24
+ "VERSION",
25
+ "bin/mspire-simulator",
26
+ "bin/sim_mail.rb",
27
+ "bin/weka/M5P.model",
28
+ "bin/weka/M5Rules.model",
29
+ "bin/weka/weka.jar",
30
+ "lib/ms/curvefit.rb",
31
+ "lib/ms/curvefit/curve_fit_helper.rb",
32
+ "lib/ms/curvefit/fit_graph.rb",
33
+ "lib/ms/curvefit/mzml_reader.rb",
34
+ "lib/ms/isoelectric_calc.rb",
35
+ "lib/ms/merger.rb",
36
+ "lib/ms/mzml_wrapper.rb",
37
+ "lib/ms/noise.rb",
38
+ "lib/ms/rt/rt_helper.rb",
39
+ "lib/ms/rt/rtgenerator.rb",
40
+ "lib/ms/rt/weka.rb",
41
+ "lib/ms/sim_digester.rb",
42
+ "lib/ms/sim_feature.rb",
43
+ "lib/ms/sim_peptide.rb",
44
+ "lib/ms/sim_spectra.rb",
45
+ "lib/ms/sim_trollop.rb",
46
+ "lib/ms/tr_file_writer.rb",
47
+ "lib/progress.rb",
48
+ "mspire-simulator.gemspec",
49
+ "spec/file_writer_spec.rb",
50
+ "spec/merger_spec.rb",
51
+ "spec/ms-simulate_spec.rb",
52
+ "spec/peptide_spec.rb",
53
+ "spec/progress_spec.rb",
54
+ "spec/spec_helper.rb",
55
+ "spec/spectra_spec.rb",
56
+ "testFiles/contam/hum_keratin.fasta"
57
+ ]
58
+ s.homepage = "http://dl.dropbox.com/u/42836826/Ms_Sim_Homepage.html"
59
+ s.licenses = ["MIT"]
60
+ s.require_paths = ["lib"]
61
+ s.rubygems_version = "1.8.21"
62
+ s.summary = "Simulates MS1 runs given amino acid FASTA files. Outputs an MZML file."
63
+
64
+ if s.respond_to? :specification_version then
65
+ s.specification_version = 3
66
+
67
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
68
+ s.add_runtime_dependency(%q<mspire>, ["= 0.8.2"])
69
+ s.add_runtime_dependency(%q<rubyvis>, ["= 0.5.2"])
70
+ s.add_runtime_dependency(%q<nokogiri>, ["= 1.5.2"])
71
+ s.add_runtime_dependency(%q<ffi>, ["= 1.0.11"])
72
+ s.add_runtime_dependency(%q<ffi-inliner>, ["= 0.2.4"])
73
+ s.add_runtime_dependency(%q<fftw3>, ["= 0.3"])
74
+ s.add_runtime_dependency(%q<distribution>, ["= 0.7.0"])
75
+ s.add_runtime_dependency(%q<pony>, ["= 1.4"])
76
+ s.add_runtime_dependency(%q<obo>, ["= 0.1.0"])
77
+ s.add_runtime_dependency(%q<trollop>, ["= 1.16.2"])
78
+ else
79
+ s.add_dependency(%q<mspire>, ["= 0.8.2"])
80
+ s.add_dependency(%q<rubyvis>, ["= 0.5.2"])
81
+ s.add_dependency(%q<nokogiri>, ["= 1.5.2"])
82
+ s.add_dependency(%q<ffi>, ["= 1.0.11"])
83
+ s.add_dependency(%q<ffi-inliner>, ["= 0.2.4"])
84
+ s.add_dependency(%q<fftw3>, ["= 0.3"])
85
+ s.add_dependency(%q<distribution>, ["= 0.7.0"])
86
+ s.add_dependency(%q<pony>, ["= 1.4"])
87
+ s.add_dependency(%q<obo>, ["= 0.1.0"])
88
+ s.add_dependency(%q<trollop>, ["= 1.16.2"])
89
+ end
90
+ else
91
+ s.add_dependency(%q<mspire>, ["= 0.8.2"])
92
+ s.add_dependency(%q<rubyvis>, ["= 0.5.2"])
93
+ s.add_dependency(%q<nokogiri>, ["= 1.5.2"])
94
+ s.add_dependency(%q<ffi>, ["= 1.0.11"])
95
+ s.add_dependency(%q<ffi-inliner>, ["= 0.2.4"])
96
+ s.add_dependency(%q<fftw3>, ["= 0.3"])
97
+ s.add_dependency(%q<distribution>, ["= 0.7.0"])
98
+ s.add_dependency(%q<pony>, ["= 1.4"])
99
+ s.add_dependency(%q<obo>, ["= 0.1.0"])
100
+ s.add_dependency(%q<trollop>, ["= 1.16.2"])
101
+ end
102
+ end
103
+
@@ -0,0 +1,74 @@
1
+
2
+ require 'time'
3
+ require 'mspire'
4
+ require 'ms/sim_spectra'
5
+ require 'ms/sim_peptide'
6
+ require 'ms/merger'
7
+
8
+ describe MS::Txml_file_writer do
9
+ before(:all) do
10
+ peptides = []
11
+ peptides<<MS::Peptide.new("ANDY",1)
12
+ peptides<<MS::Peptide.new("PRINCE",2)
13
+ peptides<<MS::Peptide.new("PEPTIDE",3)
14
+ one_d = false
15
+ opts = {:sampling_rate => 1.0, :run_time => 5000.0,
16
+ :dropout_percentage => 0, :noise_density => 20,
17
+ :jagA => 10.34, :jagC => 0.00712, :jagB => 0.12,
18
+ :wobA => 0.001071, :wobB => -0.5430, :mu => 25.0}
19
+ @spectra = MS::Sim_Spectra.new(peptides,opts,one_d)
20
+ @features = @spectra.features
21
+ @file_name = Time.now.to_s
22
+ end
23
+
24
+ after(:all) do
25
+ File.delete("#{@file_name}_truth.xml")
26
+ end
27
+
28
+ it "#write Writes an XML file that includes all information for the spectra" do
29
+ xml = MS::Txml_file_writer.write(@features,@spectra.spectra,@file_name)
30
+ File.exist?("#{@file_name}_truth.xml").should == true
31
+ file = File.open("#{@file_name}_truth.xml","r")
32
+ pep_verify = []
33
+ file.each_line{|line| if line =~ /ANDY|PRINCE|PEPTIDE/; pep_verify<<true; end;}
34
+ pep_verify.should have(3).Boolean
35
+ pep_verify.each do |ver|
36
+ ver.should == true
37
+ end
38
+ end
39
+ end
40
+
41
+
42
+ describe MS::Tcsv_file_writer do
43
+ before(:all) do
44
+ peptides = []
45
+ peptides<<MS::Peptide.new("ANDY",1)
46
+ peptides<<MS::Peptide.new("PRINCE",2)
47
+ peptides<<MS::Peptide.new("PEPTIDE",3)
48
+ one_d = false
49
+ opts = {:sampling_rate => 1.0, :run_time => 5000.0,
50
+ :dropout_percentage => 0, :noise_density => 20,
51
+ :jagA => 10.34, :jagC => 0.00712, :jagB => 0.12,
52
+ :wobA => 0.001071, :wobB => -0.5430, :mu => 25.0}
53
+ @spectra = MS::Sim_Spectra.new(peptides,opts,one_d)
54
+ @noise = @spectra.noiseify
55
+ @features = @spectra.features
56
+ @file_name = Time.now.to_s
57
+ end
58
+
59
+ after(:all) do
60
+ File.delete("#{@file_name}_truth.csv")
61
+ end
62
+
63
+ it "#write Writes an CSV file that includes all information for the spectra" do
64
+ csv = MS::Tcsv_file_writer.write(@spectra.spectra,@spectra.data,@noise,@features,@file_name)
65
+ r_times = MS::Sim_Spectra.r_times
66
+ times_ver = []
67
+ File.exist?("#{@file_name}_truth.csv").should == true
68
+ file = File.open("#{@file_name}_truth.csv","r")
69
+ file.each_line do |line|
70
+ next if line =~ /rt/
71
+ r_times.include?(line.chomp.split(/,/)[0].to_f).should == true
72
+ end
73
+ end
74
+ end
@@ -0,0 +1,23 @@
1
+
2
+ require 'ms/merger'
3
+
4
+ describe Merger do
5
+ before(:all) do
6
+ @spectra = {1 => [[1.0,1.5,1.7,3.0,4.0,5.0,6.0,7.0,8.0,9.0],[10,9,8,7,6,5,4,3,2,1]], 2 => [[1,2,3,4,5,6,7,8,9],[9,8,7,6,5,4,3,2,1]]}
7
+ end
8
+
9
+ it "#merge Takes spectra and a value that represents half the range where two peaks would be considered overlapping, then it merges these into meta peaks and returns the spectra" do
10
+ half_range = 0.5
11
+ meta_merged = Merger.merge(@spectra,half_range)
12
+ meta_merged[1].should == [[{[1.236842105263158, 52.63157894736842, 47.368421052631575]=>[1.0, 1.5]}, 1.7, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0], [[10, 9], 8, 7, 6, 5, 4, 3, 2, 1]]
13
+ meta_merged[2].should == [[1, 2, 3, 4, 5, 6, 7, 8, 9], [9, 8, 7, 6, 5, 4, 3, 2, 1]]
14
+ end
15
+
16
+ it "#compact Takes a meta merged spectra and removes meta data to return normal merged spectra" do
17
+ half_range = 0.5
18
+ meta_merged = Merger.merge(@spectra,half_range)
19
+ merged = Merger.compact(meta_merged)
20
+ merged[1].should == [[1.236842105263158, 1.7, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0], [19, 8, 7, 6, 5, 4, 3, 2, 1]]
21
+ merged[2].should == [[1, 2, 3, 4, 5, 6, 7, 8, 9], [9, 8, 7, 6, 5, 4, 3, 2, 1]]
22
+ end
23
+ end
@@ -0,0 +1,9 @@
1
+ $LOAD_PATH << './lib'
2
+ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
3
+
4
+ describe "MSsimulate" do
5
+ it "Gathers parameters from the cmd line and runs the simulator; If no params are given or --help a help message is displayed" do
6
+ output = `ruby bin/ms-simulate.rb --help`
7
+ output.should =~ /where/
8
+ end
9
+ end
@@ -0,0 +1,16 @@
1
+ #peptide_spec.rb
2
+
3
+ require 'mspire'
4
+ require 'ms/sim_peptide'
5
+
6
+ describe MS::Peptide do
7
+ it "Creates a peptide object given an amino acid sequence and charge state" do
8
+ pep = MS::Peptide.new("HSVVVPYEPPEVGSDCTTIHYNYMCNSSCMGGMNR",2)
9
+ pep.should be_a(MS::Peptide)
10
+ pep.sequence.should == "HSVVVPYEPPEVGSDCTTIHYNYMCNSSCMGGMNR"
11
+ pep.mono_mz.should == 1939.3147555802952
12
+ #Contains the core theoretical spectrum
13
+ pep.core_mzs[0].round.should == 1938
14
+ pep.core_ints[0].round.should == 42
15
+ end
16
+ end
@@ -0,0 +1,22 @@
1
+ #progress_spec.rb
2
+
3
+ require 'progress'
4
+ require 'time'
5
+
6
+ describe Progress, "#progress" do
7
+ it "Prints out a given message and percentage, refreshing the current line with each call." do
8
+ 101.times do |i|
9
+ Progress.progress("Message:",i)
10
+ sleep 0.01
11
+ end
12
+ end
13
+
14
+ it "Also can take a final time to show how long a process took." do
15
+ start = Time.now
16
+ 101.times do |i|
17
+ Progress.progress("Message:",i)
18
+ sleep 0.01
19
+ end
20
+ Progress.progress("Message:",100,Time.now - start)
21
+ end
22
+ end
@@ -0,0 +1,11 @@
1
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
2
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
3
+ require 'rspec'
4
+
5
+ # Requires supporting files with custom matchers and macros, etc,
6
+ # in ./support/ and its subdirectories.
7
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
8
+
9
+ RSpec.configure do |config|
10
+
11
+ end
@@ -0,0 +1,111 @@
1
+ #spectra_spec.rb
2
+
3
+ require 'mspire'
4
+ require 'ms/sim_spectra'
5
+ require 'ms/sim_peptide'
6
+
7
+ describe MS::Sim_Spectra do
8
+ before(:all) do
9
+ peptides = []
10
+ peptides<<MS::Peptide.new("ANDY",1)
11
+ peptides<<MS::Peptide.new("PRINCE",2)
12
+ peptides<<MS::Peptide.new("PEPTIDE",3)
13
+ one_d = false
14
+ opts = {:sampling_rate => 1.0, :run_time => 5000.0,
15
+ :dropout_percentage => 0, :noise_density => 20,
16
+ :jagA => 10.34, :jagC => 0.00712, :jagB => 0.12,
17
+ :wobA => 0.001071, :wobB => -0.5430, :mu => 25.0}
18
+ @spectra = MS::Sim_Spectra.new(peptides,opts,one_d)
19
+ @features = @spectra.features
20
+ end
21
+
22
+ it "Creates spectra for a ms run given an array of peptide objects, a sampling rate and a run time, " do
23
+ @spectra.should be_a(MS::Sim_Spectra)
24
+ end
25
+
26
+ it "#data Returns a hash that has retention times as keys and arrays as values such that [[mzs],[intensitys]]" do
27
+ @spectra.data.should be_a(Hash)
28
+ end
29
+
30
+ it "#max_mz Returns the maximum of all the m/z values" do
31
+ (485..487).should cover(@spectra.max_mz)
32
+ end
33
+
34
+ it "#noiseify Creates and returns the hash that represents the noise of the spectra" do
35
+ noise = @spectra.noiseify
36
+ noise.should be_a(Hash)
37
+ end
38
+
39
+ it "#spectra Returns a hash with all data including noise if turned on" do
40
+ @spectra.spectra.should be_a(Hash)
41
+ end
42
+
43
+ it "#features Returns complete features" do
44
+ @spectra.features
45
+ @spectra.features.should have(3).peptides
46
+ end
47
+
48
+ #FEATURES---------------------------------------------------------------
49
+
50
+ it "Each feature should have a sequence" do
51
+ seqs = ["ANDY","PRINCE","PEPTIDE"]
52
+ @features.each_with_index do |fe,i|
53
+ fe.sequence.should == seqs[i]
54
+ end
55
+ end
56
+
57
+ it "Each feature should have a mass" do
58
+ masses = [481,730,799]
59
+ @spectra.features.each_with_index do |fe,i|
60
+ fe.mass.round.should == masses[i]
61
+ end
62
+ end
63
+
64
+ it "Each feature should have a charge" do
65
+ charges = [1,2,3]
66
+ @spectra.features.each_with_index do |fe,i|
67
+ fe.charge.should == charges[i]
68
+ end
69
+ end
70
+
71
+ it "Each feature should have a monoisotopic m/z" do
72
+ mono_mzs = [481,365,266]
73
+ @spectra.features.each_with_index do |fe,i|
74
+ fe.mono_mz.round.should == mono_mzs[i]
75
+ end
76
+ end
77
+
78
+ it "Each feature should have a theoretical spectrum" do
79
+ andy_spec = [[481, 482, 483, 484, 485, 486],
80
+ [100, 24, 5, 1, 0, 0]]
81
+ prince_spec = [[365, 366, 366, 367, 367, 368, 368, 369],
82
+ [100, 37, 13, 3, 1, 0, 0, 0]]
83
+ peptide_spec = [[266, 267, 267, 267, 268, 268, 268],
84
+ [100, 41, 11, 2, 0, 0, 0]]
85
+ specs = [andy_spec,prince_spec,peptide_spec]
86
+
87
+ @spectra.features.each_with_index do |fe,i|
88
+ test = [fe.core_mzs.map{|mz| mz.round},fe.core_ints.map{|int| int.round}]
89
+ test.should == specs[i]
90
+ end
91
+ end
92
+
93
+ it "Each feature should have a predicted retention time and intensity" do
94
+ p_rts = [(2079..2082),(1774..1777),(1400..1402)]
95
+ p_ints = [2.325,2.927,3.559]
96
+ @spectra.features.each_with_index do |fe,i|
97
+ p_rts[i].should cover(fe.p_rt)
98
+ fe.p_int.should == p_ints[i]
99
+ end
100
+ end
101
+
102
+ it "Each feature should have amino acid counts" do
103
+ counts = [[1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0.0],
104
+ [0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0.0],
105
+ [0, 0, 0, 1, 0, 0, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 2, 0, 1, 0, 0, 0, 0, 0.0]]
106
+ @spectra.features.each_with_index do |fe,i|
107
+ fe.aa_counts.should == counts[i]
108
+ end
109
+ end
110
+
111
+ end
@@ -0,0 +1,11 @@
1
+ >gi|18031719|gb|AY033495.1| Homo sapiens keratin protein K6irs (KRT6) mRNA, translated
2
+ MSRQLTHFPRGERLGFSGCSAVLSGGIGSSSASFRARVKGSASF
3
+ GSKSLSCLGGSRSLALSAAARRGGGRLGGFVGTAFGSAGLGPKCPSVCPPGGIPQVTV
4
+ NKSLLAPLNVEMDPEIQRVRAQEREQIKALNNKFASFIDKVRFLEQQNQVLETKWNLL
5
+ QQLDLNNCRKNLEPIYEGYISNLQKQLEMLSGDGVRLDSELRNMQDLVEDYKKRYEVE
6
+ INRRTAAENEFVVLKKDVDAAYMNKVELQAKVDSLTDEIKFFKCLYEGEITQIQSHIS
7
+ DTSIVLSMDNNRDLDLDSIIAEVRAQYEEIALKSKAEAETLYQTKIQELQVTAGQHGD
8
+ DLKLTKAEISELNRLIQRIRSEIGNVKKCADLETAIADAEQRGDCALKDARAKLDELE
9
+ GALHQAKEELARMLREYQELVSLKLALDMEIATYRKLLESEECRMSGEYPNSVSISVI
10
+ SSTNAGAGGAGFSMGFGASSSYSYKTAAADVKTKGSCGSELKDPLAKTSGSSCATKKA
11
+ SR
metadata ADDED
@@ -0,0 +1,246 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mspire-simulator
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - anoyce
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-08-10 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: mspire
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - '='
20
+ - !ruby/object:Gem::Version
21
+ version: 0.8.2
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - '='
28
+ - !ruby/object:Gem::Version
29
+ version: 0.8.2
30
+ - !ruby/object:Gem::Dependency
31
+ name: rubyvis
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - '='
36
+ - !ruby/object:Gem::Version
37
+ version: 0.5.2
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - '='
44
+ - !ruby/object:Gem::Version
45
+ version: 0.5.2
46
+ - !ruby/object:Gem::Dependency
47
+ name: nokogiri
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - '='
52
+ - !ruby/object:Gem::Version
53
+ version: 1.5.2
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - '='
60
+ - !ruby/object:Gem::Version
61
+ version: 1.5.2
62
+ - !ruby/object:Gem::Dependency
63
+ name: ffi
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - '='
68
+ - !ruby/object:Gem::Version
69
+ version: 1.0.11
70
+ type: :runtime
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - '='
76
+ - !ruby/object:Gem::Version
77
+ version: 1.0.11
78
+ - !ruby/object:Gem::Dependency
79
+ name: ffi-inliner
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - '='
84
+ - !ruby/object:Gem::Version
85
+ version: 0.2.4
86
+ type: :runtime
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - '='
92
+ - !ruby/object:Gem::Version
93
+ version: 0.2.4
94
+ - !ruby/object:Gem::Dependency
95
+ name: fftw3
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - '='
100
+ - !ruby/object:Gem::Version
101
+ version: '0.3'
102
+ type: :runtime
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - '='
108
+ - !ruby/object:Gem::Version
109
+ version: '0.3'
110
+ - !ruby/object:Gem::Dependency
111
+ name: distribution
112
+ requirement: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - '='
116
+ - !ruby/object:Gem::Version
117
+ version: 0.7.0
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - '='
124
+ - !ruby/object:Gem::Version
125
+ version: 0.7.0
126
+ - !ruby/object:Gem::Dependency
127
+ name: pony
128
+ requirement: !ruby/object:Gem::Requirement
129
+ none: false
130
+ requirements:
131
+ - - '='
132
+ - !ruby/object:Gem::Version
133
+ version: '1.4'
134
+ type: :runtime
135
+ prerelease: false
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - '='
140
+ - !ruby/object:Gem::Version
141
+ version: '1.4'
142
+ - !ruby/object:Gem::Dependency
143
+ name: obo
144
+ requirement: !ruby/object:Gem::Requirement
145
+ none: false
146
+ requirements:
147
+ - - '='
148
+ - !ruby/object:Gem::Version
149
+ version: 0.1.0
150
+ type: :runtime
151
+ prerelease: false
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
154
+ requirements:
155
+ - - '='
156
+ - !ruby/object:Gem::Version
157
+ version: 0.1.0
158
+ - !ruby/object:Gem::Dependency
159
+ name: trollop
160
+ requirement: !ruby/object:Gem::Requirement
161
+ none: false
162
+ requirements:
163
+ - - '='
164
+ - !ruby/object:Gem::Version
165
+ version: 1.16.2
166
+ type: :runtime
167
+ prerelease: false
168
+ version_requirements: !ruby/object:Gem::Requirement
169
+ none: false
170
+ requirements:
171
+ - - '='
172
+ - !ruby/object:Gem::Version
173
+ version: 1.16.2
174
+ description: ! "Simulates MS1 runs given amino acid FASTA files. Outputs an MZML file.\n\t\t\tCan
175
+ simulate specific data if given an MZML file containing a single isolated peptide
176
+ peak."
177
+ email: andrewbnoyce@gmail.com
178
+ executables:
179
+ - mspire-simulator
180
+ extensions: []
181
+ extra_rdoc_files:
182
+ - LICENSE.txt
183
+ - README.rdoc
184
+ files:
185
+ - LICENSE.txt
186
+ - README.rdoc
187
+ - Rakefile
188
+ - VERSION
189
+ - bin/mspire-simulator
190
+ - bin/sim_mail.rb
191
+ - bin/weka/M5P.model
192
+ - bin/weka/M5Rules.model
193
+ - bin/weka/weka.jar
194
+ - lib/ms/curvefit.rb
195
+ - lib/ms/curvefit/curve_fit_helper.rb
196
+ - lib/ms/curvefit/fit_graph.rb
197
+ - lib/ms/curvefit/mzml_reader.rb
198
+ - lib/ms/isoelectric_calc.rb
199
+ - lib/ms/merger.rb
200
+ - lib/ms/mzml_wrapper.rb
201
+ - lib/ms/noise.rb
202
+ - lib/ms/rt/rt_helper.rb
203
+ - lib/ms/rt/rtgenerator.rb
204
+ - lib/ms/rt/weka.rb
205
+ - lib/ms/sim_digester.rb
206
+ - lib/ms/sim_feature.rb
207
+ - lib/ms/sim_peptide.rb
208
+ - lib/ms/sim_spectra.rb
209
+ - lib/ms/sim_trollop.rb
210
+ - lib/ms/tr_file_writer.rb
211
+ - lib/progress.rb
212
+ - mspire-simulator.gemspec
213
+ - spec/file_writer_spec.rb
214
+ - spec/merger_spec.rb
215
+ - spec/ms-simulate_spec.rb
216
+ - spec/peptide_spec.rb
217
+ - spec/progress_spec.rb
218
+ - spec/spec_helper.rb
219
+ - spec/spectra_spec.rb
220
+ - testFiles/contam/hum_keratin.fasta
221
+ homepage: http://dl.dropbox.com/u/42836826/Ms_Sim_Homepage.html
222
+ licenses:
223
+ - MIT
224
+ post_install_message:
225
+ rdoc_options: []
226
+ require_paths:
227
+ - lib
228
+ required_ruby_version: !ruby/object:Gem::Requirement
229
+ none: false
230
+ requirements:
231
+ - - ! '>='
232
+ - !ruby/object:Gem::Version
233
+ version: '0'
234
+ required_rubygems_version: !ruby/object:Gem::Requirement
235
+ none: false
236
+ requirements:
237
+ - - ! '>='
238
+ - !ruby/object:Gem::Version
239
+ version: '0'
240
+ requirements: []
241
+ rubyforge_project:
242
+ rubygems_version: 1.8.21
243
+ signing_key:
244
+ specification_version: 3
245
+ summary: Simulates MS1 runs given amino acid FASTA files. Outputs an MZML file.
246
+ test_files: []