/usr/share/doc/librostlab-blast0-dev/examples/parseblast.cpp is in librostlab-blast0-dev 1.0.1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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
|