Thursday, 17 July 2014

BioJS tutorial again

http://biojs.net/tutorials/usingSequenceComponentTutorial.html

updated on 2nd of July 2014

First I have to down download XAMPP

  • This is a web server
  • It seems pretty easy to install and use. 
  • It seems that it's just for development not for serving to the internet. 
Create the folders as per the picture




Now, I have to get all the necessary files into the folders.
Most are available on this page.
Open the file. Save file as in the correct folder.

Done:

So now I create a web page. 
I did cheat and just copy and paste the text but I get an error message:



This is just a style sheet error so I don't know how important it is...

Try the script:

So I can't get it to work but I don't know quite why. 
The issue is, in part, due to the local structure required. 

Working through the tutorial using the external scripts and the documentation on the Biojs.Sequence options. 
There are good options to highlight sequences, draw lines and the like. 

Step 7 which get's the data from the web is not working for me.
I am getting an error message.
This is in part due to the proxyUrl. 

If I get rid of the proxyUrl and just add the full url into the jQuery it works. 
I am missing something about urls and proxyUrls for sure!

Still it works so that's a good thing!








No comments:

Post a Comment