logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Bio::DB::GFF::Util::Binning - binning utility for Bio::DB::GFF index

Api

       The remainder of the document describes the function calls.  No calls are exported by default, but must
       be imported explicitly.

       $bin_name = bin($start,$stop,$bin_size)
           Given  a  start, stop and bin size on the genome, translate this location into a bin name.  In a list
           context, returns the bin tier name and the position that the bin begins.

       $bottom = bin_bot($tier,$start)
           Given a tier name and a range start position, returns the lower end of the bin range.

       $top = bin_top($tier,$end)
           Given a tier name and the end of a range, returns the upper end of the bin range.

Author

       Lincoln Stein <lstein@cshl.org>.

       Copyright (c) 2001 Cold Spring Harbor Laboratory.

       This library is free software; you can redistribute it and/or modify it under  the  same  terms  as  Perl
       itself.

perl v5.32.1                                       2021-08-15                   Bio::DB::GFF::Util::Binning(3pm)

Bugs

       None known yet.

Description

       This is a utility module that exports the functions bin(), bin_bot() and bin_top().  These functions
       translate a range on the genome into a named bin that is used as an index in the Bio::DB::GFF schema.
       The index makes certain range retrieval queries much faster.

Name

       Bio::DB::GFF::Util::Binning - binning utility for Bio::DB::GFF index

See Also

       Bio::DB::GFF,

Synopsis

        use Bio::DB::GFF::Util::Binning qw(bin bin_bot bin_top);
        my $tier = bin($start,$stop,$min);

See Also