20 temperature = temperature_;
38 printf(
"%s[(%li,%li,%i),(%i,%i)]%s", prefix_, start_pos,
offset,
length, GC_ratio, temperature, suffix_);
45 int Item::sprint (
char *buf,
const char *primer,
const char *suffix_,
int max_primer_length,
int max_position_length,
int max_length_length) {
46 return sprintf(buf,
"| %-*s %*li %*i %3i %3i%s",
47 max_primer_length, primer,
48 max_position_length, start_pos+1,
50 GC_ratio, temperature, suffix_);
54 size_t len = strlen(s);
55 char *
result = ARB_alloc<char>(len+1);
67 if (
length <= 0)
return PRD_strdup(
"Item::getPrimerSequence : length <= 0 :(");
72 for (
int i =
length-1; i >= 0; --i)
76 start_pos = iterator->
pos;
void print(const char *prefix_, const char *suffix_)
TYPE * ARB_alloc(size_t nelem)
char * getPrimerSequence(const char *sequence_)
int sprint(char *buf, const char *prefix_, const char *suffix_, int max_primer_length, int max_position_length, int max_length_length)
char * PRD_strdup(const char *s)
static const int BACKWARD
long int PRD_Sequence_Pos
GB_write_int const char s