File: parseblast.cpp

package info (click to toggle)
librostlab-blast 1.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,732 kB
  • ctags: 256
  • sloc: sh: 11,085; cpp: 251; makefile: 131
file content (17 lines) | stat: -rw-r--r-- 324 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <iostream>
#include <rostlab/blast-parser-driver.h>

using namespace rostlab;

int main()
{
	rostlab::blast::parser_driver p(stdin);

	while( const rostlab::blast::result& res = p.parse() )
		std::cout << res;

	return 0;
}

// Compile with:
// g++ -Wall -lrostlab-blast parseblast.cpp -o parseblast -L../lib/.libs