text: user12686: What is the command in PyMOL for listing all the amino acids in a specific protein, say, 1a62.pdb?
  
  user14180: At the command, change the current directory to your target directory:
  cd my-directory-path-containing-my-files
  
  Load the file:
  load 1a62.pdb
  
  Then you can either print to screen or save to a file:
  print(cmd.get_fastastr('all'))
  
  save 1a62.fasta
  
  
original_text: 12686: <p>What is the command in PyMOL for listing all the amino acids in a specific protein, say, 1a62.pdb?</p>
   14180: <p>At the command, change the current directory to your target directory:</p>
  <pre><code>cd my-directory-path-containing-my-files
  </code></pre>
  <p>Load the file:</p>
  <pre><code>load 1a62.pdb
  </code></pre>
  <p>Then you can either print to screen or save to a file:</p>
  <pre><code>print(cmd.get_fastastr('all'))
  
  save 1a62.fasta
  </code></pre>
  