3763 |
19 Oct 18 |
peter |
// $Id$ |
3763 |
19 Oct 18 |
peter |
2 |
|
3763 |
19 Oct 18 |
peter |
3 |
/* |
4252 |
18 Nov 22 |
peter |
Copyright (C) 2018, 2022 Peter Johansson |
3763 |
19 Oct 18 |
peter |
5 |
|
3763 |
19 Oct 18 |
peter |
This file is part of the yat library, http://dev.thep.lu.se/yat |
3763 |
19 Oct 18 |
peter |
7 |
|
3763 |
19 Oct 18 |
peter |
The yat library is free software; you can redistribute it and/or |
3763 |
19 Oct 18 |
peter |
modify it under the terms of the GNU General Public License as |
3763 |
19 Oct 18 |
peter |
published by the Free Software Foundation; either version 3 of the |
3763 |
19 Oct 18 |
peter |
License, or (at your option) any later version. |
3763 |
19 Oct 18 |
peter |
12 |
|
3763 |
19 Oct 18 |
peter |
The yat library is distributed in the hope that it will be useful, |
3763 |
19 Oct 18 |
peter |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
3763 |
19 Oct 18 |
peter |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
3763 |
19 Oct 18 |
peter |
General Public License for more details. |
3763 |
19 Oct 18 |
peter |
17 |
|
3763 |
19 Oct 18 |
peter |
You should have received a copy of the GNU General Public License |
3763 |
19 Oct 18 |
peter |
along with yat. If not, see <http://www.gnu.org/licenses/>. |
3763 |
19 Oct 18 |
peter |
20 |
*/ |
3763 |
19 Oct 18 |
peter |
21 |
|
3763 |
19 Oct 18 |
peter |
22 |
#include <config.h> |
3763 |
19 Oct 18 |
peter |
23 |
|
3763 |
19 Oct 18 |
peter |
24 |
#include "Suite.h" |
3763 |
19 Oct 18 |
peter |
25 |
|
3763 |
19 Oct 18 |
peter |
26 |
#include "yat/omic/VcfFile.h" |
3763 |
19 Oct 18 |
peter |
27 |
#include "yat/omic/VcfHeader.h" |
3763 |
19 Oct 18 |
peter |
28 |
|
3763 |
19 Oct 18 |
peter |
29 |
using namespace theplu::yat; |
3763 |
19 Oct 18 |
peter |
30 |
|
3763 |
19 Oct 18 |
peter |
31 |
int main(int argc, char* argv[]) |
3763 |
19 Oct 18 |
peter |
32 |
{ |
3763 |
19 Oct 18 |
peter |
33 |
test::Suite suite(argc, argv); |
4252 |
18 Nov 22 |
peter |
34 |
suite.require_foo_vcf_gz(); |
3763 |
19 Oct 18 |
peter |
35 |
omic::VcfFile vcf("../../data/foo.vcf.gz"); |
3763 |
19 Oct 18 |
peter |
36 |
std::ostringstream ss; |
3763 |
19 Oct 18 |
peter |
37 |
ss << vcf.header(); |
3763 |
19 Oct 18 |
peter |
38 |
return suite.return_value(); |
3763 |
19 Oct 18 |
peter |
39 |
} |