Skip to content

Commit

Permalink
Remove JackHMMER search button
Browse files Browse the repository at this point in the history
It's not working at the moment.

Refs #2291
  • Loading branch information
kimrutherford committed Dec 7, 2024
1 parent c1dcf14 commit 35f7ed2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 14 deletions.
2 changes: 0 additions & 2 deletions src/app/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,6 @@ export interface AppConfig {
has_admin_curation: boolean;
no_gene_name_route?: string;
ensembl_blast_url: string;
jackhmmer_search_url: string;
ebi_tools_url: string;
pdbe_entry_url: string;
pdbe_image_url: string;
Expand Down Expand Up @@ -807,7 +806,6 @@ let _appConfig: AppConfig = {
has_admin_curation: pombaseConfig.has_admin_curation,
no_gene_name_route: pombaseConfig.no_gene_name_route,
ensembl_blast_url: pombaseConfig.ensembl_blast_url,
jackhmmer_search_url: pombaseConfig.jackhmmer_search_url,
ebi_tools_url: pombaseConfig.ebi_tools_url,
pdbe_entry_url: pombaseConfig.pdbe_entry_url,
pdbe_image_url: pombaseConfig.pdbe_image_url,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,24 +173,14 @@
</form>
</span>

<span *ngIf="!showNucSequence && geneDetails.feature_type == 'mRNA gene'" class="sequence-action">
<form id="jackhmmersearch" name="JackhmmerSearch" #jackhmmersearch
(ngSubmit)="jackhmmersearch.submit();"
target="_blank"
action="{{jackhmmerSearchUrl}}" method="GET">
<input value="{{'>' + proteinSequenceHeader + '\n' + wrappedProteinSequence}}" name="seq" type="hidden">
<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 value="{{protein!.sequence}}" name="wflSequence" type="hidden">
<input class="btn btn-primary" type="submit" value="FASTA Search" />
</form>
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ export class TranscriptSequenceSelectComponent implements OnChanges {
protein?: ProteinDetails;

ensemblBlastUrl = getAppConfig().ensembl_blast_url;
jackhmmerSearchUrl = getAppConfig().jackhmmer_search_url;
ebiToolsUrl = getAppConfig().ebi_tools_url;
downloadWithFeaturesURL = getAppConfig().seq_and_features_download_url;

Expand Down

0 comments on commit 35f7ed2

Please sign in to comment.