« blib/htdocs/tutorial/bin/random_segments.pl
↑ Summary
blib/lib/Bio/DB/GFF/Aggregator/reftranscript.pm »
| 1 | #!/usr/bin/perl | ||
| 2 | |||
| 3 | use Bio::SeqIO; | ||
| 4 | my $in = Bio::SeqIO->newFh(-file=>shift,-format=>'fasta'); | ||
| 5 | my $out = Bio::SeqIO->newFh(-format=>'fasta'); | ||
| 6 | print $out $_ while <$in>; |