[Seqan-dev] Problem with Markov Model and creating ticket on trac
Hi,
I tried to create a new ticket on the seqan trac and got the following
error:
ProgrammingError: (1146, "Table 'seqan.spamfilter_log' doesn't exist")
This was the content of the ticket I was trying to raise:
I'm using the latest svn version of seqan (rev 4975) on ubuntu with gcc
4.3.3 and I'm getting a compilation error when I try to build a Markov
model. As far as I can see the code below should work. Could you let me
know if I'm doing something wrong or if this is a bug?
{{{
#include <seqan/index.h>
#include <seqan/statistical_index.h>
using namespace seqan;
int main()
{
MarkovModel< Dna > mm( 0 );
StringSet< String< Dna > > X;
mm.build( X );
return 0;
}
}}}
I get the following error:
{{{
/home/john/Dev/ThirdParty/C++/seqan-svn/projects/library/seqan/statistical_index/statistical_index_markov_model.h:
In member function ‘void seqan::MarkovModel<
seqan::SimpleType<unsigned char, seqan::_Dna>, double, const
seqan::Tag<seqan::Default_> >::_computeAuxiliaryMatrices()’:
/home/john/Dev/ThirdParty/C++/seqan-svn/projects/library/seqan/statistical_index/statistical_index_markov_model.h:180:
instantiated from ‘void seqan::MarkovModel<
seqan::SimpleType<unsigned char, seqan::_Dna>, double, const
seqan::Tag<seqan::Default_>
>::build(seqan::StringSet<seqan::String<seqan::SimpleType<unsigned
char, seqan::_Dna>, seqan::Alloc<void> >, seqan::Owner<const
seqan::Tag<seqan::Default_> > > &)’
src/sandbox/seqan_sandbox_markov_model.cpp:14: instantiated from here
/home/john/Dev/ThirdParty/C++/seqan-svn/projects/library/seqan/statistical_index/statistical_index_markov_model.h:399:
error: No match for ‘_matricialSum(
seqan::String<double, seqan::Alloc<void> >, seqan::String<double,
seqan::Alloc<void> > &, const unsigned int &)’
/home/john/Dev/ThirdParty/C++/seqan-svn/projects/library/seqan/statistical_index/statistical_index_markov_model.h:521:
candidates are: seqan::String<
TValue, seqan::Alloc<void> > seqan::_matricialSum(seqan::String<TValue,
TSpec> &, seqan::String<TValue, TStringSpec> &, unsigned int)
/home/john/Dev/ThirdParty/C++/seqan-svn/projects/library/seqan/statistical_index/statistical_index_markov_model.h:402:
error: No match for ‘_matricialProduct(
seqan::String<double, seqan::Alloc<void> >, seqan::String<double,
seqan::Alloc<void> > &, const unsigned int &)’
/home/john/Dev/ThirdParty/C++/seqan-svn/projects/library/seqan/statistical_index/statistical_index_markov_model.h:485:
candidates are: seqan::String<TValue, seqan::Alloc<void> > seqan
::_matricialProduct(seqan::String<TValue, TSpec> &,
seqan::String<TValue, TStringSpec> &, unsigned int)
}}}