☰
Debian Codegraph
@
2.4.42+dfsg-1
/
/
applications
/
bed
/
starch
/
test
/
metadata_integrity
/
src
/
count_bases.pl
☽
☼
applications/bed/starch/test/metadata_integrity/src/count_bases.pl
code
plain
raw
GPL-2+
2011-2018 Shane J. Neph, M. Scott Kuehn and Alex P. Reynolds
debian/copyright
1
#!/usr/bin/env perl
2
3
use strict;
4
use warnings;
5
6
my $cnt = 0;
7
while (<>) {
8
chomp;
9
my ($chr, $start, $stop, $remainder) = split("\t", $_);
10
$cnt += ($stop - $start);
11
}
12
13
print STDOUT "$cnt\n";