70 std::cerr <<
"OUT OF MEMORY\nFile" << __FILE__ <<
"Line:\t"<< __LINE__ << std::endl;
79 for(
size_t i=0;i<
seq.size();i++){
81 if (rhs.
seq[i]!=NULL){
85 std::cerr <<
"OUT OF MEMORY\nFile" << __FILE__ <<
"Line:\t"<< __LINE__ << std::endl;
97 for(
size_t i=0;i<
seq.size();i++){
111 std::cerr <<
"OUT OF MEMORY\nFile" << __FILE__ <<
"Line:\t"<< __LINE__ << std::endl;
120 for(
size_t i=0;i<
seq.size();i++){
122 if (rhs.
seq[i]!=NULL){
126 std::cerr <<
"OUT OF MEMORY\nFile" << __FILE__ <<
"Line:\t"<< __LINE__ << std::endl;
142 if (
seq[trck]->realSeq){
143 return seq[trck]->realValue(position);
154 if (
seq[trck]->realSeq){
155 return seq[trck]->realValue(position);
167 return seq[trck]->seqValue(position);
186 for(
size_t i=0; i<
size(); i++){
191 tmp+=
"<<EMPTY>>\n" ;
196 tmp+=
seq[i]->stringify();
206 for(
size_t i=0;i<
size();i++){
209 output+=
"<<EMPTY>>\n" ;
214 output+=
seq[i]->undigitize();
282 if (
seq.size()>iter){
286 seq.resize(iter+1,NULL);
315 std::cerr <<
"Track is undefined for related sequences. Unable to add related sequences if track is not defined\n";
340 std::cerr <<
"Sequences have different lengths. Sequences should all have the same length because they are suppose to be related (from different datasets). For multiple unrelated sequence types, use a different structure.\n";
349 file.open(filename.c_str());
350 if (!file.is_open()){
351 std::cerr <<
"Couln't open the file:" << filename <<
"\n";
358 std::cerr <<
"OUT OF MEMORY\nFile" << __FILE__ <<
"Line:\t"<< __LINE__ << std::endl;
361 bool success = sq->
getFasta(file, tr);