isoelectric_point 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/LICENSE +2 -2
  2. data/README.rdoc +8 -9
  3. metadata +3 -3
data/LICENSE CHANGED
@@ -1,3 +1,3 @@
1
- == Sequence_4_R
1
+ == LICENSE
2
2
 
3
- Sequence_4_R can be freely distributed under the same terms as Ruby.
3
+ isoelectric_point can be freely distributed under the same terms as Ruby.
data/README.rdoc CHANGED
@@ -1,12 +1,7 @@
1
1
  == isoelectric_point
2
+ A ruby class for calculating the isoelectric point of a protein. It's based on bioperl and the library from GeorgeG.
2
3
 
3
- NOT YET READY. DO NOT USE THIS CODE.
4
-
5
- A ruby class for calculating the isoelectric point of a protein
6
-
7
- example
8
- takes two initialization arguments; a pkas set and an amino acid string
9
-
4
+ = PKA Sets
10
5
  The available pka sets are:
11
6
  * dta_select_pkas
12
7
  * emboss_pkas
@@ -14,14 +9,18 @@ The available pka sets are:
14
9
  * wikipedia_pkas
15
10
  * sillero_pkas
16
11
 
12
+ = Installation
13
+ gem install isoelectric_point
17
14
 
15
+ = Usage
16
+ require 'isoelectric_point'
18
17
  # Either prefix or include namespace
19
18
  include IsoelectricPoint
20
19
  #initialize a pka clculator object with dtaselect pkas and the KKGFTCGELA as an amino acid sequence
21
20
  sequence = Sequence.new("KKGFTCGELA")
22
21
 
23
22
  #what is the protein charge at ph 14?
24
- charge_at_ph_14 = sequence.calculate_charge_at(14)
23
+ charge = sequence.calculate_charge_at(14)
25
24
 
26
- #calculate the ph and round off to 7 decimal places to increase precision
25
+ #calculate the ph and round off to 7 decimal places
27
26
  ph = sequence.calculate_iep(7)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isoelectric_point
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - GeorgeR