Hi - could someone point me to a database that I could query to find the protein sequence when given a protein ID (i.e P51811). I'm familiar with doing some queries on the UCSC server, but there are so many tables!
Thanks very much.
ANSWER
Thanks you to @themysticgeek and @Emily_Ensembl for pointing the uniprot REST API - I had forgotten. On this recomendation I botched this little bash script together to get the sequences from a list of IDs. Hope it helps anyone (feel free to optimize the code if you want!)
#!/bin/bash
#download fasta seqs given file of uniprot ids
file=$1
name=$2
list=$(cat ${1})
mkdir ${name}
cp ${2} ${name}
cd ${name}
for word in ${list}
do
wget -nv http://www.uniprot.org/uniprot/$word.fasta
done