BiSA is a database driven software and stores all of its data in a relational database management system (RDBMS) such as SQL Server in Windows or PostgreSQL on Linux.

BiSA for Windows

It is required that you install SQL Server before you install BiSA. So there are three steps:

  1. Download the BiSA package and unzip.
  2. Install Microsoft SQL Server and restore BiSA database or if you have previously installed BiSA database, then delete the database and restore from the new version.
  3. Run BiSA.exe

BiSA for Linux runs under Galaxy

BiSA for MacOS/Linux/Unix is written in Python and PostgreSQL, and is designed to run under Galaxy. Galaxy is a web-based platform which is designed for intensive biomedical research. 

  1. Follow the Galaxy's official guidelines to install Galaxy then install PostgreSQL.
  2. If your database server is on different machine than your web front-end then you would have to configure pg_hba.conf to allow connections from your web front-end machine. Make sure that your firewall is open for PostgreSQL port (default is 5432),  if PostgreSQL is installed on Windows 7 machine then allow incoming connections to the port 5432 using Windows Firewall with Advanced Security under Control Panel.
  3. Download BiSA Linux package (source code and database backup file) from the download page.
  4. Create a new database and name it bisa.
  5. Restore database by following command: 
    pg_restore --host=localhost --port=5432 --username=your_db_username --password  --dbname=bisa  /backup_location/ 
  6. Create a directory named bisa in tools directory of galaxy installation typically /galaxy-dist/tools/bisa/
  7. Copy all (*.py and *.xml) files in /galaxy-dis/tools/bisa/
  8. Add a new section in /galaxy-dist/tools_conf.xml by dropping the following lines:
    <section name="BiSA" id="BiSA">
    <tool file="bisa/importdatasets.xml" />
    <tool file="bisa/browsekb.xml" />
    <tool file="bisa/analysis.xml" />
    <tool file="bisa/statsign.xml" />
    <tool file="bisa/annotation.xml" />
  9. Restart Galaxy by sh and open Galaxy in a browser. A new section BiSA should appear on the left column.