The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Bio::JBrowse::FeatureStream::Filter - filter another stream using a subroutine

METHODS

new( $stream, $filter_sub )

Filter a stream of features according to whether the given subroutine returns true for a feature. Recurses to subfeatures and returns those if the sub returns true for them, but not the parent feature.

AUTHOR

Robert Buels <rbuels@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Robert Buels.

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