File: seq_reader_gfa2_module.cpp

package info (click to toggle)
btllib 1.4.10%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,340 kB
  • sloc: cpp: 61,642; sh: 301; python: 222; makefile: 6
file content (27 lines) | stat: -rw-r--r-- 626 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#include "btllib/seq_reader.hpp"
#include "helpers.hpp"

#include <fstream>
#include <iostream>

int
main()
{
  // Test GFA2
  /*std::cerr << "Test GFA2" << std::endl;
  btllib::SeqReader reader_gfa2("../tests/input.gfa2",
                                btllib::SeqReader::Flag::SHORT_MODE |
                                  btllib::SeqReader::Flag::FOLD_CASE);
  TEST_ASSERT_EQ(reader_gfa2.get_format(), btllib::SeqReader::Format::GFA2);

  i = 0;
  while ((record = reader_gfa2.read())) {
    TEST_ASSERT_EQ(record.seq, seqs[i]);
    TEST_ASSERT(record.qual.empty());

    i++;
  }
  TEST_ASSERT_EQ(i, 2);*/

  return 0;
}