<commit_before>
<h1>Extracting Data from the CS Using the CS-API: Some Typical Examples</h1>
<p><strong> Purpose:</strong> How to use the KBase Central Store
Application Programming Interface (CS-API) to Extract Data from the CS.</p>
<p><strong> Required Prerequisite Activities:</strong> <a href="/developer-zone/tutorials/">Quick Start</a>.  </p>
<p><strong> Suggested Prerequisite Activites:</strong> <a href="/developer-zone/tutorials/iris/some-basic-exercises-using-the-kbase-iris-interface/">Some
Basic Exercises using the KBase Iris Interface </a> and other Iris
tutorials.</p>
<p><strong> Related Tutorials:</strong> <a href="/developer-zone/tutorials/apis/example-tasks/looking-for-features-with-identical-sequence-that-have-different-annotations/">Looking
for features with Identical Sequence that have Different Annotations </a>
and other
API tutorials. </p>
<h2>Introduction</h2>
We will cover the basic tools for accessing data in the CS via the <a name="CS-API259">CS-API</a> (as opposed to the more common use of the
command-line tools. We will give small test programs along with
displayed output in hopes that users can easily generate what they need
by making minor modifications.<br>
<br>
<br>
<br>
<div style="text-align: center;"><big style="font-weight: bold;"><big>Table
of Contents</big></big><br>
</div>
<ul>
  <li><a href="#mozTocId403269" name="Genome260"> Extracting Data
Corresponding to the Genome Entity</a></li>
  <li><a href="#mozTocId789578" name="Feature261"> Extracting Data
Corresponding to the Feature Entity</a></li>
  <li><a href="#mozTocId477963">Looking Up the Functions Assigned to<commit_msg>CS-API_UI.html replaced Getting Started with KBase' with 'Quick start'<commit_after>
<h1>Extracting Data from the CS Using the CS-API: Some Typical Examples</h1>
<p><strong> Purpose:</strong> How to use the KBase Central Store
Application Programming Interface (CS-API) to Extract Data from the CS.</p>
<p><strong> Required Prerequisite Activities:</strong> <a href="/for-users/get-started/">Quick Start</a>.  </p>
<p><strong> Suggested Prerequisite Activites:</strong> <a href="/developer-zone/tutorials/iris/some-basic-exercises-using-the-kbase-iris-interface/">Some
Basic Exercises using the KBase Iris Interface </a> and other Iris
tutorials.</p>
<p><strong> Related Tutorials:</strong> <a href="/developer-zone/tutorials/apis/example-tasks/looking-for-features-with-identical-sequence-that-have-different-annotations/">Looking
for features with Identical Sequence that have Different Annotations </a>
and other
API tutorials. </p>
<h2>Introduction</h2>
We will cover the basic tools for accessing data in the CS via the <a name="CS-API259">CS-API</a> (as opposed to the more common use of the
command-line tools. We will give small test programs along with
displayed output in hopes that users can easily generate what they need
by making minor modifications.<br>
<br>
<br>
<br>
<div style="text-align: center;"><big style="font-weight: bold;"><big>Table
of Contents</big></big><br>
</div>
<ul>
  <li><a href="#mozTocId403269" name="Genome260"> Extracting Data
Corresponding to the Genome Entity</a></li>
  <li><a href="#mozTocId789578" name="Feature261"> Extracting Data
Corresponding to the Feature Entity</a></li>
  <li><a href="#mozTocId477963">Looking Up the Functions Assigned to
{'fraction_non_alphanumeric': 0.13349368610944076, 'fraction_numerical': 0.018641010222489478, 'mean_word_length': 5.707661290322581, 'pattern_counts': {'":': 0, '<': 103, '<?xml version=': 0, '>': 103, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4418221', 'n_tokens_mistral': 1107, 'n_tokens_neox': 1009, 'n_words': 343}