| 1 | package InSilicoSpectro::Databanks; | ||
| 2 | |||
| 3 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | =head1 NAME | ||
| 7 | |||
| 8 | InSilicoSpectro::Databanks - parsing protein/nucleotides sequence databanks (fasta, uniprot...) | ||
| 9 | |||
| 10 | |||
| 11 | |||
| 12 | =head1 SYNOPSIS | ||
| 13 | |||
| 14 | $/="//\n"; | ||
| 15 | while (<FDIN>){ | ||
| 16 | my $dbu=InSilicoSpectro::Databanks::DBEntryUniprot->new; | ||
| 17 | $dbu->readDat($_); | ||
| 18 | my @tmp=$dbu->generateDerivedForms(); | ||
| 19 | unless ( && @tmp){ | ||
| 20 | $dbu->printFasta; | ||
| 21 | $origSeq = $dbu->sequence; | ||
| 22 | } | ||
| 23 | foreach (@tmp){ | ||
| 24 | if ($_->sequence ne $origSeq){ | ||
| 25 | $_->printFasta; | ||
| 26 | } | ||
| 27 | } | ||
| 28 | } | ||
| 29 | |||
| 30 | =head1 EXPORT | ||
| 31 | |||
| 32 | A list of functions that can be exported. You can delete this section | ||
| 33 | if you don't export anything, such as for a purely object-oriented module. | ||
| 34 | |||
| 35 | =head1 FUNCTIONS | ||
| 36 | |||
| 37 | |||
| 38 | =head1 AUTHOR | ||
| 39 | |||
| 40 | Alexandre Masselot, C<< <alexandre.masselot@genebio.com> >> | ||
| 41 | |||
| 42 | =head1 BUGS | ||
| 43 | |||
| 44 | Please report any bugs or feature requests to | ||
| 45 | C<bug-insilicospectro-databanks@rt.cpan.org>, or through the web interface at | ||
| 46 | L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=InSilicoSpectro-Databanks>. | ||
| 47 | I will be notified, and then you'll automatically be notified of progress on | ||
| 48 | your bug as I make changes. | ||
| 49 | |||
| 50 | =head1 ACKNOWLEDGEMENTS | ||
| 51 | |||
| 52 | =head1 COPYRIGHT & LICENSE | ||
| 53 | |||
| 54 | Copyright 2006 Alexandre Masselot, all rights reserved. | ||
| 55 | |||
| 56 | This program is free software; you can redistribute it and/or modify it | ||
| 57 | under the same terms as Perl itself. | ||
| 58 | |||
| 59 | =cut | ||
| 60 | |||
| 61 | 2 | our $VERSION = '0.0.43'; | |
| 62 | |||
| 63 | 2 | 1; # End of InSilicoSpectro::Databanks | |