Class
VcfStream
High-level VCF I/O class.
Include Headers
seqan/vcf_io.h
Member Functions
| Constructor. |
Functions
| Query a VcfStream for being at the end of the file. | |
| Closes a VcfStream | |
| Flush to a VcfStream | |
| Query a VcfStream for errors. | |
| Open a VcfStream. | |
| Read a record from a VcfStream | |
| Write a record to a VcfStream |
Examples
The following example demonstrates reading a VCF file and printing the variant locations.
File "vcf_stream_read.cpp"
| 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 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 |
SeqAn - Sequence Analysis Library - www.seqan.de