daily pastebin goal
38%
SHARE
TWEET

Untitled

a guest Jan 5th, 2015 204 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <gatb/gatb_core.hpp>
  2. #include <iostream>
  3.  
  4. using namespace std;
  5.  
  6. typedef Bloom<Kmer<>::Type> bloom_type;
  7. //typedef Bloom<Kmer<>::ModelDirect::Kmer> bloom_type;
  8.  
  9. int main (int argc, char* argv[])
  10. {
  11.         int bloomsize = 1000000;
  12.         int nhash=10;
  13.         bloom_type *bloom = new bloom_type(bloomsize,nhash);
  14.  
  15.         string kmer_string = "CACCCGTAC";
  16.         Kmer<>::ModelDirect model(kmer_string.size());
  17.         Kmer<>::ModelDirect::Kmer kmer = model.codeSeed (kmer_string.c_str(), Data::ASCII);
  18.  
  19.         bloom->insert(kmer);
  20. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top