Skip to content

Commit

Permalink
group annotations histogram
Browse files Browse the repository at this point in the history
  • Loading branch information
bioinsilico committed Oct 16, 2024
1 parent 5917422 commit 5397fc1
Showing 5 changed files with 57 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
query NCBI2PDB{
query UP_GROUP{
group_alignments(
group: MATCHING_UNIPROT_ACCESSION
groupId: "P01112"
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
query NCBI2PDB{
query UP_GROUP{
group_alignment(
group: matching_uniprot_accession
groupId: "P01112"
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
query UP_GROUP_FEATURES{
group_annotations_summary(
group: MATCHING_UNIPROT_ACCESSION
groupId: "P01112"
sources: [PDB_INSTANCE]
) {
target_id
features{
type
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
query UP_GROUP_FEATURES{
group_annotations(
group: matching_uniprot_accession
groupId: "P01112"
sources: [PDB_INSTANCE]
histogram: true
) {
target_id
features{
type
}
}
}
32 changes: 30 additions & 2 deletions src/main/resources/static/migration/migration-guide.html
Original file line number Diff line number Diff line change
@@ -21,6 +21,7 @@
<li><a href="#migration-mapping">Sequence Coordinates Service API changes</a></li>
<li><a href="#http-request">HTTP Request</a></li>
<li><a href="#end-points">End Points</a></li>
<li><a href="#end-points-arguments">End Points Arguments</a></li>
<li><a href="#contact-us">Contact Us</a></li>
</ul>
</div>
@@ -35,6 +36,9 @@
<li>
<a href="#end-points" class="toc-h2 toc-link" data-title="end-points">End Points</a>
</li>
<li>
<a href="#end-points-arguments" class="toc-h2 toc-link" data-title="end-points-arguments">End Points Arguments</a>
</li>
</ul>
</li>
<li>
@@ -107,10 +111,34 @@ <h1 id="end-points">End Points</h1>
</tbody>
</table>
<script>
load("alignments-old", "examples/alignments-old.txt", add_json_to_cell);
load("alignments-new", "examples/alignments-new.txt", add_json_to_cell);
load("group-alignments-old", "examples/group-alignments-old.txt", add_json_to_cell);
load("group-alignments-new", "examples/group-alignments-new.txt", add_json_to_cell);
</script>

<h1 id="end-points-arguments">End Points Arguments</h1>
<p>
Endpoint <code>group_annotations</code> boolean argument <code>histogram</code> has been removed.
Its functionality has been replaced by a new endpoint <code>group_annotations_summary</code> with the same signature.
</p>

<table>
<thead>
<tr>
<th>1D Coordinates Service</th>
<th>Sequence Coordinates Service</th>
</tr>
</thead>
<tbody>
<tr>
<td id="group-annotations-histogram-old"></td>
<td id="group-annotations-histogram-new"></td>
</tr>
</tbody>
</table>
<script>
load("group-annotations-histogram-old", "examples/group-annotations-histogram-old.txt", add_json_to_cell);
load("group-annotations-histogram-new", "examples/group-annotations-histogram-new.txt", add_json_to_cell);
</script>

<h1 id="contact-us">Contact Us</h1>
<p>

0 comments on commit 5397fc1

Please sign in to comment.