Skip to content

Commit

Permalink
Add a Fasta search button to sequence section
Browse files Browse the repository at this point in the history
We're re-adding this, using the new EBI Job Dispatcher system.

Refs #2140
  • Loading branch information
kimrutherford committed Dec 6, 2024
1 parent f903acc commit 172bd9f
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,18 @@
<input class="btn btn-primary" type="submit" value="JackHMMER Search" />
</form>
</span>

<span *ngIf="!showNucSequence && geneDetails.feature_type == 'mRNA gene'" class="sequence-action">
<form id="fastasearch" name="FastaSearch" #fastasearch
(ngSubmit)="fastasearch.submit();"
target="_blank"
action="{{ebiToolsUrl + '/fasta'}}" method="GET">
<input value="fasta" name="tool" type="hidden">
<input value="protein" name="context" type="hidden">
<input value="{{'>' + proteinSequenceHeader + '\n' + protein.sequence}}" name="wflSequence" type="hidden">
<input class="btn btn-primary" type="submit" value="FASTA Search" />
</form>
</span>
</div>
</div>
</div>
Expand Down

0 comments on commit 172bd9f

Please sign in to comment.