Skip to content

starbeachlab/explorer_interface

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

interface

This code currently runs the interface on the AlignMe website (https://www.bioinfo.mpg.de/AlignMe/AlignMePW.html) that allows users to view two aligned structures with the MutationExplorer (https://proteinformatics.uni-leipzig.de/mutation_explorer/).

Instructions to forward alignments from a server to MutationExplorer

The most general case is that the alignment server creates a number of alignments. The interface then allows the user to select one of the alignments to be forwarded for 3D structure epxloration using MutationExplorer.

The alignment creating server has to write a file 'alignments.txt' that contains the URL of every alignment that the user can select. Example:

https://SERVERNAME/SUB/alignment1.clw
https://SERVERNAME/SUB/alignment2.clw
...

The interface will create a list containing: 'alignment1.clw', 'alignment2.clw', ...

The HTML of the alignment server has to contain the following lines:

<button id="interfaceBtn" onclick="generateInterface('alignments.txt')">MutationExplorer</button>

<div id="box"></div>

<script src="https://code.jquery.com/jquery-3.6.0.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/nikolarist/interface@latest/interface.js" ></script>

This will create a button 'MutationExplorer' that opens a small form when clicked.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published