Skip to content

Commit

Permalink
Update link to Pfam (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasblum authored Apr 14, 2024
1 parent e25a84d commit 3cd5de5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/Utilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Selection, Matrix4 } from 'ngl';
function tryLinkTargetToDB(target, db) {
var res = db.toLowerCase();
if (res.startsWith("pfam")) {
return 'https://pfam.xfam.org/family/' + target;
return 'https://www.ebi.ac.uk/interpro/entry/pfam/' + target;
} else if (res.startsWith("pdb")) {
return 'https://www.rcsb.org/pdb/explore.do?structureId=' + target.replaceAll(/\.(cif|pdb)(\.gz)?/g, '').split('_')[0];
} else if (res.startsWith("uniclust") || res.startsWith("uniprot") || res.startsWith("sprot") || res.startsWith("swissprot")) {
Expand Down

0 comments on commit 3cd5de5

Please sign in to comment.