Answers.Body: <p>There may also be a misunderstanding, from your previous post. To reiterate, I don't use Ensembl, which is the source of your gene names.</p>
  
  <p>On Genbank there is an entire "Structural" database for every structure that is on PDB. When Genbank hold the protein sequence that was used to generate the structure Genbank only use PDB codes. For example "5LBV_A" is both a PDB code and a Genbank code. So this means PDB entry 5LBV chain A. Thus its easy to download the crystal because you simply ask PDB for 5LBV. To prove it,</p>
  
  <pre><code>efetch -db protein -format gpc -id "5LBV_A" | xtract -pattern INSDSeq -group INSDSeq -element INSDSeq_sequence
  </code></pre>
  
  <p>OUT 
      ircigvsnrdfvegmsggtwvdvvlehggcvtvmaqdkptvdielvtttvsnmaevrsycyeasisdmasdsrcptqgeayldkqsdtqyvckrtlvdrgwgngcglfgkgslvtcakfacskkmtgksiqpenleyrimlsvhgsqhsgmivndtghetdenrakveitpnspraeatlggfgslgldceprtgldfsdlyyltmnnkhwlvhkewfhdiplpwhagadtgtphwnnkealvefkdahakrqtvvvlgsqegavhtalagaleaemdgakgrlssghlkcrlkmdklrlkgvsyslctaaftftkipaetlhgtvtvevqyagtdgpckvpaqmavdmqtltpvgrlitanpvitestenskmmleldppfgdsyivigvgekkithhwhrsgstiggpfeddddkagwshpqfekgggsgggsgggswshpqfek</p>
  
  <p>What I cannot easily do, is go from a generic NCBI Genbank protein code to PDB code.</p>
  
  <p>However, PDB uses Uniprot codes for proteins, so you may be able to use a Uniprot code to get hold of the PDB code, or Ensembl codes may, like Genbank, use PDB accessions. </p>
  
  <p>So in summary perhaps you need to give more detail?</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-09-16T22:50:30.300Z
Answers.LastActivityDate: 2019-09-16T22:50:30.300Z
Answers.UserDisplayName: M__
Body: <p>I have a list of gene name, I want to download and save each protein 3D structure corresponding to each gene name. </p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-09-18T18:19:31.107Z
Comments.Text: Please alert users to a cross-post to show us that you do not take volunteer effort for granted. https://www.biostars.org/p/398893/
Comments.UserDisplayName: Ram RS
Tags: <gene><protein-structure><pdb>
Title: Download protein structure from gene name
ThreadText: # Download protein structure from gene name
  
  (Asked by: username_0 on 2019-09-16)
  
  I have a list of gene name, I want to download and save each protein 3D structure corresponding to each gene name.
  
  **Tags:** gene, protein-structure, pdb
  
  > **Comments:**
  > **username_1**: Please alert users to a cross-post to show us that you do not take volunteer effort for granted. https://www.biostars.org/p/398893/  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2019-09-16. Score: 1
  
  There may also be a misunderstanding, from your previous post. To reiterate, I don't use Ensembl, which is the source of your gene names.
  
  On Genbank there is an entire "Structural" database for every structure that is on PDB. When Genbank hold the protein sequence that was used to generate the structure Genbank only use PDB codes. For example "5LBV\_A" is both a PDB code and a Genbank code. So this means PDB entry 5LBV chain A. Thus its easy to download the crystal because you simply ask PDB for 5LBV. To prove it,
  
  ```
  efetch -db protein -format gpc -id "5LBV_A" | xtract -pattern INSDSeq -group INSDSeq -element INSDSeq_sequence
  
  ```
  
  OUT
  ircigvsnrdfvegmsggtwvdvvlehggcvtvmaqdkptvdielvtttvsnmaevrsycyeasisdmasdsrcptqgeayldkqsdtqyvckrtlvdrgwgngcglfgkgslvtcakfacskkmtgksiqpenleyrimlsvhgsqhsgmivndtghetdenrakveitpnspraeatlggfgslgldceprtgldfsdlyyltmnnkhwlvhkewfhdiplpwhagadtgtphwnnkealvefkdahakrqtvvvlgsqegavhtalagaleaemdgakgrlssghlkcrlkmdklrlkgvsyslctaaftftkipaetlhgtvtvevqyagtdgpckvpaqmavdmqtltpvgrlitanpvitestenskmmleldppfgdsyivigvgekkithhwhrsgstiggpfeddddkagwshpqfekgggsgggsgggswshpqfek
  
  What I cannot easily do, is go from a generic NCBI Genbank protein code to PDB code.
  
  However, PDB uses Uniprot codes for proteins, so you may be able to use a Uniprot code to get hold of the PDB code, or Ensembl codes may, like Genbank, use PDB accessions.
  
  So in summary perhaps you need to give more detail?
  
  
  ---
  
  