BEGIN{ FS=OFS="\t"; # f="/data/images/proton/DKlab/orsalia/stringtie/comare1.annotated.gtf"; if (length(f)==0){ f="/data/images/proton/DKlab/orsalia/stringtie/merged.gtf"; } print "read ref transcripts from "f >>"/dev/stderr" getline>"/dev/stderr" while(getline>"/dev/stderr" FS=OFS=" "; }{ f1=$1; f=substr(f1,1,length(f1)-4); of=f".withGID.csv"; he[f]=1; getlineof; while(getline>of;}else{print "UNK "$0;} } close(f1); close(of); print "transcripts in "f" to "of" : "n >>"/dev/stderr" }