Commit f6ceff89 authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

remove test_lazy_msa.cpp

Old code, see 1e6b2b92
parent de896c97
#include <fstream>
#include <iostream>
#include <stdio.h>
#include <string.h>
#include <cstdlib>
#include "core/dynprog.h"
#include "core/fasta.h"
#include "core/lazy_msa.h"
using namespace std;
int main(int argc, char* argv[])
//initilisation par defaut
const char* fdata_default = "../data/msa_test.fa" ;
DynProg::DynProgMode dpMode = DynProg::Global;
Cost dpCost = VDJ;
const char* fdata = fdata_default;
if ( argc > 1 && argv[1][0] != '-'){
fdata = argv[1];
Fasta f(fdata, 1, " ");
string seq0 = f.sequence(0);
LazyMsa lm = LazyMsa(50, seq0);
for (int i=1; i < f.size(); i++){
string seq1 = f.sequence(i);
string *result;
result =new string[2];
cout <<"align 0/"<<i<<endl;
lm.alignOne(result, i-1);
string *result;
result =new string[lm.sizeUsed+2];
cout <<"lazy_msa"<<endl;
for (int i=0; i<lm.sizeUsed+2; i++){
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment