#!/usr/bin/perlsub ssf2tnt_pos{my$line;while($line=<>){chomp($line);if($line=~/<\/S/){print"\n";next;}if($line=~/^\s*$/)# if the line has all space charcters {print"\n";next;}$line=~s/[ ]+/___/g;my($att1,$att2,$att3,$att4)=split(/[\t]+/,$line);if($att1=~/$\<.*/||$att2eq"(("||$att2eq"))")#unwanted lines{next;}else{print$att2,"\t",$att3,"\t",$att4,"\n";}}}&ssf2tnt_pos;