Skip to content

Commit

Permalink
Add BFVD
Browse files Browse the repository at this point in the history
  • Loading branch information
milot-mirdita committed Sep 16, 2024
1 parent 85b8e47 commit b3292cf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/LoadAcessionButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export default {
sources: [
{ text: 'PDB (rcsb.org)', value: 'PDB' },
{ text: 'AlphaFoldDB (ebi.ac.uk)', value: 'AlphaFoldDB' },
{ text: 'BFVD (bfvd.foldseek.com)', value: 'BFVD' },
]
};
},
Expand Down Expand Up @@ -83,6 +84,9 @@ export default {
if (source == "PDB") {
url = "https://files.rcsb.org/download/" + accession.toUpperCase() + ".cif";
fun = simpleFetch;
} else if (source == "BFVD") {
url = "https://bfvd.steineggerlab.workers.dev/pdb/" + accession.toUpperCase() + ".pdb"
fun = simpleFetch;
} else if (source == "AlphaFoldDB") {
url = "https://alphafold.ebi.ac.uk/api/search?q=(text:*" + accession + " OR text:" + accession + "*)&type=main&start=0&rows=1"
fun = response => {
Expand Down

0 comments on commit b3292cf

Please sign in to comment.