Answers.Body: <p><code>src_nat</code> = isolated directly from a natural tissue</p>
  
  <p><code>src_gen</code> = the source was genetically manipulated</p>
  
  <p>The files that you use (PDBML/XML) are derived from the primary PDB data format which is PDBx/mmCIF.
  The names in XML seem to correspond to mmCIF names, so you can read documentation on <a href="http://mmcif.wwpdb.org/" rel="nofollow noreferrer">http://mmcif.wwpdb.org/</a>, and here are direct links:</p>
  
  <ul>
  <li>category <a href="http://mmcif.wwpdb.org/dictionaries/mmcif_pdbx_v50.dic/Categories/entity_src_nat.html" rel="nofollow noreferrer">entity_src_nat</a></li>
  <li>category <a href="http://mmcif.wwpdb.org/dictionaries/mmcif_pdbx_v50.dic/Categories/entity_src_gen.html" rel="nofollow noreferrer">entity_src_gen</a></li>
  </ul>
  
  <p>Can they occur together in one file? I suppose they can for complexes: one "entity" could be natural and another genetically manipulated.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-01-26T11:31:30.107Z
Answers.LastActivityDate: 2018-01-26T11:31:30.107Z
Answers.UserDisplayName: marcin
Body: <p>I want to read out the taxonomy id of the source organism of a pdb entry using the xml-file of the entry that is provided under <code>http://files.rcsb.org/view/{pdb_accession}-noatom.xml</code>. </p>
  
  <p>I have so far found the taxonomy id in the tag <strong>PDBx:entity_src_genCategory</strong> (example entry <a href="http://files.rcsb.org/view/1ukv-noatom.xml" rel="nofollow noreferrer">1UKV</a>) but also in the tag <strong>PDBx:entity_src_natCategory</strong> (example entry <a href="http://files.rcsb.org/view/2bwi-noatom.xml" rel="nofollow noreferrer">2BWI</a>).</p>
  
  <p>XML for 1UKV with PDBx:entity_src_genCategory</p>
  
  <pre><code>&lt;PDBx:entity_src_genCategory&gt;
    &lt;PDBx:entity_src_gen entity_id="1" pdbx_src_id="1"&gt;
       &lt;PDBx:gene_src_common_name&gt;baker&amp;apos;s yeast&lt;/PDBx:gene_src_common_name&gt;
       &lt;PDBx:gene_src_genus&gt;Saccharomyces&lt;/PDBx:gene_src_genus&gt;
       &lt;PDBx:host_org_genus&gt;Escherichia&lt;/PDBx:host_org_genus&gt;
       &lt;PDBx:host_org_species&gt;Escherichia coli&lt;/PDBx:host_org_species&gt;
       &lt;PDBx:pdbx_alt_source_flag&gt;sample&lt;/PDBx:pdbx_alt_source_flag&gt;
       &lt;PDBx:pdbx_gene_src_ncbi_taxonomy_id&gt;4932&lt;/PDBx:pdbx_gene_src_ncbi_taxonomy_id&gt;
       &lt;PDBx:pdbx_gene_src_scientific_name&gt;Saccharomyces cerevisiae&lt;/PDBx:pdbx_gene_src_scientific_name&gt;
       &lt;PDBx:pdbx_host_org_ncbi_taxonomy_id&gt;469008&lt;/PDBx:pdbx_host_org_ncbi_taxonomy_id&gt;
       &lt;PDBx:pdbx_host_org_scientific_name&gt;Escherichia coli BL21(DE3)&lt;/PDBx:pdbx_host_org_scientific_name&gt;
       &lt;PDBx:pdbx_host_org_strain&gt;BL21(DE3)&lt;/PDBx:pdbx_host_org_strain&gt;
       &lt;PDBx:pdbx_host_org_vector_type&gt;PLASMID&lt;/PDBx:pdbx_host_org_vector_type&gt;
       &lt;PDBx:plasmid_name&gt;pET19tev&lt;/PDBx:plasmid_name&gt;
    &lt;/PDBx:entity_src_gen&gt;
  </code></pre>
  
  <p></p>
  
  <p>XML for 2BWI with PDBx:entity_src_natCategory</p>
  
  <pre><code>&lt;PDBx:entity_src_natCategory&gt;
    &lt;PDBx:entity_src_nat entity_id="1" pdbx_src_id="1"&gt;
       &lt;PDBx:pdbx_alt_source_flag&gt;sample&lt;/PDBx:pdbx_alt_source_flag&gt;
       &lt;PDBx:pdbx_ncbi_taxonomy_id&gt;223&lt;/PDBx:pdbx_ncbi_taxonomy_id&gt;
       &lt;PDBx:pdbx_organism_scientific&gt;ACHROMOBACTER CYCLOCLASTES&lt;/PDBx:pdbx_organism_scientific&gt;
    &lt;/PDBx:entity_src_nat&gt;
  </code></pre>
  
  <p></p>
  
  <p>What is the difference between them? Are there other tags that contain information about the source organism of the entry? Can they occur together in one file? If so, is one of them more valid? </p>
  
Tags: <pdb><taxonomy>
Title: What is the difference between the entity_src_genCategory tag and the entity_src_natCategory tag in pdb-xmls?
ThreadText: # What is the difference between the entity_src_genCategory tag and the entity_src_natCategory tag in pdb-xmls?
  
  (Asked by: username_0 on 2018-01-26)
  
  I want to read out the taxonomy id of the source organism of a pdb entry using the xml-file of the entry that is provided under `http://files.rcsb.org/view/{pdb_accession}-noatom.xml`.
  
  I have so far found the taxonomy id in the tag **PDBx:entity\_src\_genCategory** (example entry [1UKV](http://files.rcsb.org/view/1ukv-noatom.xml)) but also in the tag **PDBx:entity\_src\_natCategory** (example entry [2BWI](http://files.rcsb.org/view/2bwi-noatom.xml)).
  
  XML for 1UKV with PDBx:entity\_src\_genCategory
  
  ```
  <PDBx:entity_src_genCategory>
    <PDBx:entity_src_gen entity_id="1" pdbx_src_id="1">
       <PDBx:gene_src_common_name>baker&apos;s yeast</PDBx:gene_src_common_name>
       <PDBx:gene_src_genus>Saccharomyces</PDBx:gene_src_genus>
       <PDBx:host_org_genus>Escherichia</PDBx:host_org_genus>
       <PDBx:host_org_species>Escherichia coli</PDBx:host_org_species>
       <PDBx:pdbx_alt_source_flag>sample</PDBx:pdbx_alt_source_flag>
       <PDBx:pdbx_gene_src_ncbi_taxonomy_id>4932</PDBx:pdbx_gene_src_ncbi_taxonomy_id>
       <PDBx:pdbx_gene_src_scientific_name>Saccharomyces cerevisiae</PDBx:pdbx_gene_src_scientific_name>
       <PDBx:pdbx_host_org_ncbi_taxonomy_id>469008</PDBx:pdbx_host_org_ncbi_taxonomy_id>
       <PDBx:pdbx_host_org_scientific_name>Escherichia coli BL21(DE3)</PDBx:pdbx_host_org_scientific_name>
       <PDBx:pdbx_host_org_strain>BL21(DE3)</PDBx:pdbx_host_org_strain>
       <PDBx:pdbx_host_org_vector_type>PLASMID</PDBx:pdbx_host_org_vector_type>
       <PDBx:plasmid_name>pET19tev</PDBx:plasmid_name>
    </PDBx:entity_src_gen>
  
  ```
  
  XML for 2BWI with PDBx:entity\_src\_natCategory
  
  ```
  <PDBx:entity_src_natCategory>
    <PDBx:entity_src_nat entity_id="1" pdbx_src_id="1">
       <PDBx:pdbx_alt_source_flag>sample</PDBx:pdbx_alt_source_flag>
       <PDBx:pdbx_ncbi_taxonomy_id>223</PDBx:pdbx_ncbi_taxonomy_id>
       <PDBx:pdbx_organism_scientific>ACHROMOBACTER CYCLOCLASTES</PDBx:pdbx_organism_scientific>
    </PDBx:entity_src_nat>
  
  ```
  
  What is the difference between them? Are there other tags that contain information about the source organism of the entry? Can they occur together in one file? If so, is one of them more valid?
  
  **Tags:** pdb, taxonomy
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-01-26. Score: 1 | Accepted answer
  
  `src_nat` = isolated directly from a natural tissue
  
  `src_gen` = the source was genetically manipulated
  
  The files that you use (PDBML/XML) are derived from the primary PDB data format which is PDBx/mmCIF.
  The names in XML seem to correspond to mmCIF names, so you can read documentation on <http://mmcif.wwpdb.org/>, and here are direct links:
  
  * category [entity\_src\_nat](http://mmcif.wwpdb.org/dictionaries/mmcif_pdbx_v50.dic/Categories/entity_src_nat.html)
  * category [entity\_src\_gen](http://mmcif.wwpdb.org/dictionaries/mmcif_pdbx_v50.dic/Categories/entity_src_gen.html)
  
  Can they occur together in one file? I suppose they can for complexes: one "entity" could be natural and another genetically manipulated.
  
  
  ---
  
  