Author image Alex Hodgkins
and 1 contributors

NAME

Bio::HTS::File - XS module providing an interface to c htsFile structs

SYNOPSIS

    use Bio::HTS::File qw(hts_open hts_close);

    my $hts = hts_open("test.bed.gz");
 
    sub DESTROY {
        hts_close($hts);
    }

DESCRIPTION

By itself this module is pretty useless, you'll probably use it with other modules under HTS (currently only Tabix exists)

Methods

hts_open

Returns a pointer to the htsFile C struct. You must call hts_close before the returned pointer goes out of scope or memory won't be freed

hts_close

Close a htsFile struct

LICENSE

Licensed under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE (AGPL)

COPYRIGHT

Copyright 2015 Congenica Ltd.

AUTHOR

Alex Hodgkins