6
edits
Line 35: | Line 35: | ||
== color the 4 clusters == | == color the 4 clusters == | ||
grep xtal XSCALE.1.INP |sed s/'INPUT_FILE=..\/ | grep xtal XSCALE.1.INP |sed s/'INPUT_FILE=..\/tutorial_data\/PepT_SE_145\/xtal_//' |sed 's/.HKL//' |awk '{print $1+1}' > selection_1 | ||
awk 'FNR==NR {a[$1]=0 ;next}{ if($2 in a){printf "%6s%5i%3s%6s%2s%4s%12.3f%8.3f%8.3f%11s\n",$1,$2,"S",$4,$5,$6,$7,$8,$9,$10} \ | awk 'FNR==NR {a[$1]=0 ;next}{ if($2 in a){printf "%6s%5i%3s%6s%2s%4s%12.3f%8.3f%8.3f%11s\n",$1,$2,"S",$4,$5,$6,$7,$8,$9,$10} \ | ||
else{print $0}}' selection_1 iso.pdb >sel_1.pdb | else{print $0}}' selection_1 iso.pdb >sel_1.pdb |
edits