update
This commit is contained in:
parent
35ad09392f
commit
3680b72195
@ -78,10 +78,10 @@ int main()
|
|||||||
|
|
||||||
while (input_file_stream.getline(buf.data(),MAX_SIZE,'\n'))
|
while (input_file_stream.getline(buf.data(),MAX_SIZE,'\n'))
|
||||||
{
|
{
|
||||||
auto m = lines%=2; //防止溢出
|
lines%=2; //防止溢出
|
||||||
const auto buf_len = strlen(buf.data());
|
const auto buf_len = strlen(buf.data());
|
||||||
const std::string_view suffix("\n"); //设置一个每个DNA序列结尾的字符,这里是以\n换行来结尾
|
const std::string_view suffix("\n"); //设置一个每个DNA序列结尾的字符,这里是以\n换行来结尾
|
||||||
if (m == 1){
|
if (lines == 1){
|
||||||
// output_file_stream << reverseComplement(buf) << endl;
|
// output_file_stream << reverseComplement(buf) << endl;
|
||||||
reverseComplement(buf,buf_len);
|
reverseComplement(buf,buf_len);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user