Opened 5 years ago

Closed 4 years ago

#905 closed request (fixed)

Support VCF (Variant Call Format)

Reported by: Peter Owned by: Peter
Priority: major Milestone: yat 0.16
Component: omic Version:
Keywords: Cc:

Description

I have a class that holds a VCF entry (just needs a few tweaks to fit in yat) and a class to parse and modify the header. It probably make sense to create a class for the file itself as well as iterator to allow interaction with STL in std.

Change History (16)

comment:1 Changed 5 years ago by Peter

(In [3747]) new class for an VCF entry; behaviour of default construction still fluid; refs #905

comment:2 Changed 4 years ago by Peter

(In [3750]) refs #905. Adding class VcfHeader? handling the header section in a VCF file.

comment:3 Changed 4 years ago by Peter

(In [3759]) refs #905. New class, VcfCompare?, to compare to VCF objects used e.g. in sorting.

comment:4 Changed 4 years ago by Peter

(In [3760]) Fix compiler problems with c++98 compiler. Declare functor privately rather than locally. refs #905.

comment:5 Changed 4 years ago by Peter

(In [3761]) refs #905. add configure check for boost library iostream

comment:6 Changed 4 years ago by Peter

(In [3762]) a first version of new class VcfFile?; refs #905

comment:7 Changed 4 years ago by Peter

(In [3763]) refs #905

Some naive tests for class VcfFile?. Also add a test VCF file. If bcftools is available a compressed vcf is generated.

Update README with pointer to set BCFTOOLS via commandline and also mention boost::iostream.

comment:8 Changed 4 years ago by Peter

(In [3764]) fix compilation in c++98; use boost::scoped_ptr instead of shared_ptr, which means class in no longer copyable; clarify the compilation error by using boost::noncopyable; refs #905

comment:9 Changed 4 years ago by Peter

(In [3765]) add missing include; refs #905

comment:10 Changed 4 years ago by Peter

(In [3771]) refs #905; improve docs of VcfFile?; fix so object can be re-opened; add test for that case.

comment:11 Changed 4 years ago by Peter

(In [3772]) improve docsin VCF; refs #905

comment:12 Changed 4 years ago by Peter

(In [3773]) add function in VcfFile? to read next VCF; refs #905

comment:13 Changed 4 years ago by Peter

(In [3774]) implement VcfIterator?. refs #905

comment:14 Changed 4 years ago by Peter

In 3789:

refs #905. Avoid #include; prefer forward declaration.

comment:15 Changed 4 years ago by Peter

In 3790:

refs #905. Add functionality to access Info.

comment:16 Changed 4 years ago by Peter

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.