
# get the old types list from the ABCG2.dat file (a copy of BCCPARM_ABCG2.dat)  
cp ABCG2.dat tmp; for i in `cat new_abcg2.types` ; do echo $i; grep -v $i tmp > tmp0; wc tmp0 | awk '{print $1}' ; mv tmp0 tmp; wc tmp | awk '{print $1}'; done ; mv tmp ABCG2_OLD.dat

# get the newly introduced  ABCG2-BCC 
cp ABCG2.dat tmp; rm -fr new.tmp >& /dev/null ; for i in `cat new_abcg2.types` ; do echo $i; grep $i tmp >> new.tmp ; done  ; grep -v "#" new.tmp > ABCG2_NEW.DAT ; rm *tmp*
