Skip to content

rcorcs/SeqALib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SeqALib: A Library for Sequence Alignment

SeqALib contains efficient implementation of sequence alignment algorithms from Bioinformatics.

Alignment Example

The algorithms currently provided by SeqALib are:

AUTHOR: Rodrigo Rocha and Sean Stirling

Easy to use

See full example in the file: test/Test.cpp

  std::string seq1 = "AAAGAATGCAT";
  std::string seq2 = "AAACTCAT";

  NeedlemanWunschSA<std::string,char,'-'> SA(ScoringSystem(-1,2));
  AlignedSequence<char,'-'> Alignment = SA.getAlignment(seq1,seq2);

  // The resultng Alignment contains:
  // AAA GAATGCAT
  // |||    | |||
  // AAAC   T CAT