[Bio] / FigKernelScripts / build_exemplar_fasta.pl Repository:
ViewVC logotype

View of /FigKernelScripts/build_exemplar_fasta.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (download) (as text) (annotate)
Thu Dec 4 16:15:12 2003 UTC (16 years, 6 months ago) by overbeek
Branch: MAIN
CVS Tags: merge-trunktag-bobdev_news-2, Root-bobdev_news, merge-bobdev_news-1, caBIG-dataload-0, merge-trunktag-bobdev_news-1, merge-bodev_news-3, efrank-preMakefileToStandardMk, delong-01, delong-02, caBIG-00-00-00, merge-bobdev_news-2, merge-trunktag-bodev_news-3
Branch point for: Branch-bobdev_news
Changes since 1.1: +1 -1 lines
fixes from G5 at Fonsteins

# -*- perl -*-

use Carp;
use Data::Dumper;
use FIG;

my $fig = new FIG;
$| = 1;

while (defined($_ = <STDIN>))
{
    chop;
    ($fam,$peg) = split(/\t/,$_);
    if ($seq = $fig->get_translation($peg))
    {
	print ">$peg\_$fam\n$seq\n";
    }
}

	
undef $fig;

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3