5
seq_length.pl - lists the number of bases and number of sequences in specified sequence database files
13
seq_length.pl will report the total number of residues and total number of individual sequences contained within a specified sequence database file.
17
-f/--format - Specify the database format ('fasta' is default).
18
This script uses SeqIO and as such formats are
19
limited to those which SeqIO system supports.
25
User feedback is an integral part of the evolution of this and other
26
Bioperl modules. Send your comments and suggestions preferably to
27
the Bioperl mailing list. Your participation is much appreciated.
29
bioperl-l@bioperl.org - General discussion
30
http://bioperl.org/MailList.shtml - About the mailing lists
34
Report bugs to the Bioperl bug tracking system to help us keep track
35
of the bugs and their resolution. Bug reports can be submitted via
38
bioperl-bugs@bioperl.org
39
http://bioperl.org/bioperl-bugs/
41
=head1 AUTHOR - Jason Stajich
43
Jason Stajich E<lt>jason@bioperl.orgE<gt>
52
GetOptions('f|format:s' => \$format);
54
exec('perldoc',$0) unless @ARGV;
56
foreach my $f ( @ARGV ) {
57
my $in = new Bio::SeqIO(-file => $f,
61
while( my $seq = $in->next_seq ) {
62
$len += $seq->length();
66
printf "%-10s %d bp $count sequences\n",$f,$len;