I know it may seem kind of strange but I was wondering if anybody has ever seen some javascript code for the multiple sequence alignment problem. If not (as I suppose) also some easily portable code (i.e. I need no kitchen sink) will do. Keep in mind that I won't be aligning more than 4-5 sequences less than 100-200 symbols long.
Note: I know javascript is not really the best choice for this kind of things. Trust me, there are good reasons why I have to do it in javascript (if curious, see below in the comments).
(crossposted from stackoverflow)
Frankly, I am really surprised at the number of people commenting here being so judgmental about the idea of a multiple sequence alignment implemented in JavaScript. 2.2 years ago, maybe I can see it. But not really. There is so much you could do with a dynamic JavaScript implementation - zoom in/out; scroll; add/remove sequences from the alignment; highlight regions; adjust colors; mouseovers; etc. If I get an image from a web server, it's a static image. If I get the data from the web server, the UI can do anything.
Being in a situation that forces you to use the wrong tool for the job is not really "a good reason", in my experience.
I already explained (see below, in the comments) why it's not that bad of a choice. Also, I'm volunteering my time to this project: I have to stick with the solution that works, is easily maintenable and doesn't add further dependencies. Hopefully this can help understand why JS in this case is the right tool for the job.
I must say that I agree with Neil. Even after having read the comments below, I cannot see a good reason why you would need to run something in a web browser, yet not have access to use web services.
Because it's not a web browser. It's something built on top of the same platform (xulrunner) as Firefox but it's not a web browser. And, besides, the user base would probably be too big for anything less than a whole data center to handle. Now, if we could all go back to the question...
Also, keep in mind (as I already wrote below) I'm not talking about bioinformatics here: the sequences I need to align are not DNA/protein/codons sequences. They are generic sequences, and I'm almost sure that none of the servers you're talking about would 1) accept arbitrary sequences 2) allow me to use their computing power for something totally unrelated to bioninformatics.