Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jhund committed Aug 19, 2015
1 parent b9402f8 commit f15542e
Showing 1 changed file with 9 additions and 19 deletions.
28 changes: 9 additions & 19 deletions README.md
Expand Up @@ -12,18 +12,8 @@ Given two sequences
The algorithm will find the optimal alignment based on a scoring function you specify:

GCATG-CU
=+==!-=!
G-ATTACA

Meaning of the symbols:

= Match
! Mismatch
+ Insert
- Deletion

Insert and Deletion are usually grouped together as `IndDel`.

## Installation

Add this line to your application's Gemfile:
Expand Down Expand Up @@ -52,10 +42,10 @@ Inspect the alignment:

puts aligner.inspect_alignment

# => 1 | nil
2 | 2
3 | 3
nil | 4
# => 1 - nil
2 = 2
3 = 3
nil + 4

Inspect the score table:

Expand All @@ -69,11 +59,11 @@ Inspect the score table:
Inspect the traceback table:

puts aligner.inspect_matrix(:traceback)
# => 2 3 4
x
1
2
3
# => 2 3 4
x ←
1 ↑ ↑
2 ↑ ⬉
3 ↑ ↑

## Customization

Expand Down

0 comments on commit f15542e

Please sign in to comment.