Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I'd need some help with the paragraph "How can I link BLAST results to JBrowse" from JBrowse FAQ on GMOD Wiki => http://gmod.org/wiki/JBrowse_FAQ
- I also have SequenceServer on my future website, and it would come in handy to make the outputs of the search appear as a track on JBrowse!
- I don't know if I got it right, because the instructions aren't really clear.
- 1) I created an empty file called links.rb in the same folder where SequenceServer loads the databases from.
- 2) I ran this code:
- sequenceserver -D database_dir -r links.rb
- changing -D with the path of the folder where they are stored.
- Then, I don't think I got what I have to do later well...
- 3) Possibly, I added the code which appears in the first grey block, only changing my website URL, to jbrowse.conf in the JBrowse directory (I'm not sure at all this was the right place).
- 4) I wrote the code shown in the second block in the links.rb file in the SequenceServer databases directory and made the same change.
- 5) I ran a BLAST search with my SequenceServer... against a genome... for the same organism for which I had set the reference sequence in my browser, but nothing happened, no tracks appeared.
- 6) It mentions a links.rb Ruby config file I can't find.
- I'm sure I missed a lot, and maybe I didn't change some needed parameters in both the jbrowse.conf and links.rb files ... (I just changed the URL) ... Can you help me here? And was what I did correct?
- the way that works
- is that it creates a special link in the sequenceserver output
- that allows you to view the blast hit in jbrowse, e.g. that link goes to jbrowse with a special track
- the links.rb file is the code that is listed in the FAQ entry
- Yes, I figured that out, but I don't get where to add the first block of code when it says...
- We use the addFeatures URL parameter of JBrowse to make the features appear. [...]
- And if it needs or not other changes in the code, besides the URL of my website.
- the addFeatures thing is just in that code block
- I think it only needs to put your website inside that codeblock and not much else
- Hmmm. I don't think I got it well because it does nothing :) As I said, I added the first codeblock in jbrowse.conf and the second is the content of the links.rb file.
- which version of sequenceserver?
- SequenceServer 1.0.11
- I got this while trying to let SequenceServer acquire my links.rb file.
- I get the same error running as a sudo user.
- https://pastebin.com/0Kmk9pfF
Advertisement
Add Comment
Please, Sign In to add comment