Ebachour Week 9

From LMU BioDB 2017
Revision as of 23:13, 30 October 2017 by Ebachour (talk | contribs) (Adding the discovered code)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
gene_name=[ENTER GENE NAME HERE]

gene_id=$(curl -L "http://www.uniprot.org/uniprot/?query=559292+$gene_name&sort=score" | grep -o -P '(?<=tbody><tr id=").*(?=\" class=" entry s)')

curl -L "http://uniprot.org/uniprot/$gene_id.xml"