GenomeHubs
Search…
9. Start BLAST server
A SequenceServer BLAST server container provides a user friendly BLAST interface to genomes hosted in a GenomeHub.

Edit files in conf directory

Edit Masthead.html to change the site name, logos and link urls:
  • add images to the ~/genomehubs/v1/blast/conf/img directory if you wish to include them on your site
  • further changes to the appearance can be made by editing the styles in custom.css
1
$ cd ~/genomehubs/v1/blast/conf
2
# if you have a google analytics code to track usage
3
$ sed 's/UA-00000000-0/your analytics code/' Masthead.html
4
$ nano Masthead.html
5
# replace references to example.com with your domain name
Copied!
Edit links.rb to ensure that links from BLAST results are directed to your Ensembl site:
  • modify the url = "http://localhost:8881/#{assembly}" to match your domain name
e93
e89
e85
1
$ nano links.rb
2
...
3
def genomehubs
4
...
5
url = "http://localhost:8881/#{assembly}"
6
...
Copied!
1
$ nano links.rb
2
...
3
def genomehubs
4
taxa = {}
5
taxa["operophtera_brumata_obru1_core_36_89_1"] = "Operophtera_brumata_Obru1"
6
...
7
accession = encode accession
8
colon = ':'
9
url = "http://ensembl.genomehubs.org/#{assembly}"
10
...
Copied!
1
$ nano links.rb
2
...
3
def genomehubs
4
taxa = {}
5
taxa["operophtera_brumata_obru1_core_32_85_1"] = "Operophtera_brumata_Obru1"
6
...
7
accession = encode accession
8
colon = ':'
9
url = "http://ensembl.genomehubs.org/#{assembly}"
10
...
Copied!

Start SequenceServer BLAST container

Start the SequenceServer Docker container:
1
$ docker run -d \
2
--name genomehubs-sequenceserver \
3
--network genomehubs-network \
4
-v ~/genomehubs/v1/blast/conf:/conf:ro \
5
-v ~/genomehubs/v1/blast/data:/dbs \
6
-p 8883:4567 \
7
genomehubs/sequenceserver:19.05
Copied!
Last modified 1yr ago