13 void TrimLeft(string
& str
);
14 void TrimRight(string
& str
);
15 vector
<string
> splitString(string str
, string delims
=" \t\n");
16 vector
<int> splitStringToInt(string str
, string delims
=" \t\n");
17 int toInt(string str
);
18 uint64_t toUint64(string str
);
29 string
ToUpper(string str
);
30 string
ToLower(string str
);
33 #ifndef _BIOINFO_UTIL_
34 #define _BIOINFO_UTIL_
36 uint64_t seq2bit(string
&kseq
);
38 string
bit2seq(uint64_t kbit
, int kmerSize
);
39 bool check_seq (string
&seq
);
40 void reverse_complement (string
&in_str
, string
&out_str
);