Browse files

fixed a typo inthe example code

  • Loading branch information...
1 parent 0d796c9 commit 28effddd40e965b5cb48269e9df04ee0d0e564d3 @georgeG committed Jan 13, 2011
Showing with 12 additions and 12 deletions.
  1. +12 −12 lib/bio-isoelectric_point.rb
View
24 lib/bio-isoelectric_point.rb
@@ -5,15 +5,15 @@
end
- protein_seq = Bio::Sequence::AA.new("KKGFTCGELA")
-
- #what is the protein charge at ph 14?
- c = charge = protein_seq.charge_at(14) #=>-2.999795857467562
-
- #calculate the pH using dtaselect pka set and round off to 3 decimal places
- isoelectric_point = protein_seq.isoelectric_point('dtaselect', 3) #=>8.219
-
- puts c
- puts isoelectric_point
-
-
+# protein_seq = Bio::Sequence::AA.new("KKGFTCGELA")
+#
+# #what is the protein charge at ph 14?
+# charge = protein_seq.charge_at(14) #=>-2.999795857467562
+#
+# #calculate the pH using dtaselect pka set and round off to 3 decimal places
+# isoelectric_point = protein_seq.isoelectric_point('dtaselect', 3) #=>8.219
+#
+# puts charge
+# puts isoelectric_point
+#
+#

0 comments on commit 28effdd

Please sign in to comment.