File: blosum62_test.cpp

package info (click to toggle)
librostlab 1.0.20-14
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,652 kB
  • sloc: sh: 10,149; cpp: 838; makefile: 115
file content (21 lines) | stat: -rw-r--r-- 517 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Simple example file for autopkgtest: 
// loads blosum62 matrix from librostlab and prints it.
// Author: Tatiana Malygina <merlettaia@gmail.com>

#include <iostream>
#include <rostlab/blosum62.h>

const signed char rostlab::blosum62[27][27] = {};

int main() {
  for (int i = 0; i < 27; i++) {
    for (int j = 0; j < 27; j++) {
      std::cout << int(rostlab::blosum62[i][j]) << " ";
    }
    std::cout << std::endl;
  }
  return 0;
}

// Compile with:
// g++ -Wall -lrostlab blosum62_test.cpp -o blosum62_test