isoelectric_point 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/LICENSE +2 -2
- data/README.rdoc +8 -9
- metadata +3 -3
data/LICENSE
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
==
|
1
|
+
== LICENSE
|
2
2
|
|
3
|
-
|
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
|
-
|
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
|
-
|
23
|
+
charge = sequence.calculate_charge_at(14)
|
25
24
|
|
26
|
-
#calculate the ph and round off to 7 decimal places
|
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:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- GeorgeR
|