Skip to content

Commit

Permalink
Add PSI-Search and PSI-BLAST buttons on gene page
Browse files Browse the repository at this point in the history
Refs #2302
  • Loading branch information
kimrutherford committed Dec 12, 2024
1 parent bac617e commit c71bc38
Showing 1 changed file with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,28 @@
<input class="btn btn-primary" type="submit" value="FASTA Search" />
</form>
</span>

<span *ngIf="!showNucSequence && geneDetails.feature_type == 'mRNA gene'" class="sequence-action">
<form id="psisearch" name="PSISearch" #psisearch
(ngSubmit)="psisearch.submit();"
target="_blank"
action="{{ebiToolsUrl + '/psisearch'}}" method="GET">
<input value="protein" name="context" type="hidden">
<input value="{{protein!.sequence}}" name="wflSequence" type="hidden">
<input class="btn btn-primary" type="submit" value="PSI-Search" />
</form>
</span>

<span *ngIf="!showNucSequence && geneDetails.feature_type == 'mRNA gene'" class="sequence-action">
<form id="psiblast" name="PSIBLAST" #psiblast
(ngSubmit)="psiblast.submit();"
target="_blank"
action="{{ebiToolsUrl + '/psiblast'}}" method="GET">
<input value="protein" name="context" type="hidden">
<input value="{{protein!.sequence}}" name="wflSequence" type="hidden">
<input class="btn btn-primary" type="submit" value="PSI-BLAST" />
</form>
</span>
</div>
</div>
</div>
Expand Down

0 comments on commit c71bc38

Please sign in to comment.