This is a test version of Biostars. For the public version, visit https://www.biostars.org.
extract uniprot id from pdb header file

extract uniprot id from pdb header file

uniprot pdb

At least post example pdb header file.

1 answer

$ awk '/UNP/ {print $2,$7}' 1AKL.pdb

1AKL Q03023

$ grep -w "UNP" 1AKL.pdb | tr -s " "| cut -f2,7 -d " "
1AKL Q03023

Log in to answer this question.