Rand Stats

Bio

github:schmidt73

Bio

In my work as a Computational Biologist I often find myself reimplementing the same or similar set of functionality across several places and script. I can't count the number of times I've implemented simple reverse-complement, parse-csv, or efficient string searching algorithms. This module serves to tackle this problem by putting this functionality in one convenient place.

Functionality

Examples

my $bam   = "test.bam";

my $af = AlignmentFile.new(:bam-file($bam), :flags("r"));
my @results = $af.query('NC_000001.11:2-300');

for @results {
    say $_.rname;
    say $_.name;
    say $_.seq;
    say $_.strand;
};