Entering edit mode
3.1 years ago
devhimd
▴
10
extract uniprot id from pdb header file
extract uniprot id from pdb header file
$ awk '/UNP/ {print $2,$7}' 1AKL.pdb
1AKL Q03023
$ grep -w "UNP" 1AKL.pdb | tr -s " "| cut -f2,7 -d " "
1AKL Q03023
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
what tried ?
At least post example pdb header file.
https://files.rcsb.org/view/1AKL.pdb = link for pdb header file