open(SCOP,"$scopsyn")||die"Can't open file $scopsyn\n";
while(<SCOP>){
chomp;
my($scopac,$pdb,$chain,$scopnb)=split(/\t/,$_);
#my $uni = "$pdb||$chain";
#Set up the display id
my$display=$pdb."".$chain;
#push (@{$scopid{$scopac}},$display);
$scopid{$scopac}=$display;
#push(@{$scopsyn{$scopac}},$pdb);
#push(@{$scopsyn{$scopac}},$chain);
#Scop number becomes a synonym (not stable)
push(@{$scopsyn{$scopac}},$scopnb);
}
close(SCOP);
#Read final mapping
open(MAPPING,"$mapping")||die"Can't open file $mapping\n";
while(<MAPPING>){
chomp;
$_=~s/\r//g;
my($ens,$db,$primary_ac)=split(/\t/,$_);
#Get SP mapping
#if (($db ne "HUGOSYMBOL") && ($db ne "SCOP") && ($db ne "SCOP1") && ($db ne "SCOP2") && ($db ne "HUGOID") && ($db ne "HUGOALIAS") && ($db ne "HUGOWITHDRAWN")) {
This script runs pmatch and postprocess it and put the results of pmatch together with with the external mapping to produce a file ready to go into TranscriptDBlink
=head2 Options
-input: Full pathname for the directory where the input files are stored.
-output: Full pathname for the directory where the output files should be stored
=head2 Filenames
The filenames of the input files are hardcoded on purpose. The input files should have the same names than the ones hardcoded in this script.