lenaschimmel / sc2rf

SARS-Cov-2 Recombinant Finder for fasta sequences

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ENH: Allow tool to run in a web browser

corneliusroemer opened this issue · comments

It'd be super cool if the tool ran in a web browser.

Drop (aligned) sequences and see it displayed.

This may be not worth the probably not quite insignificant effort though.

It would reduce barrier to entry significantly.

Agree vm!

Well, I know absolutely nothing about actually running python in the browser, but it should be possible to run the tool on a server and provide a web front end.

When I searched for it, I stumbled across cmd2web. (Coincidentally, it's from @ryanlayer who's also doing genetics.) I did not yet have time to take a closer look or even try it out.

With a web-based tool, there'd be a lot of interesting applications, e.g. linking from other tools to this one ("click here to see your data in sc2r") or providing on-the-fly conversion like I did for csv files with csv2svg4md.

Yes exactly, sorry, I didn't mean to run it in a browser like Nextclade does with web assembly - that'd be complicated.

With a server would be perfect. Actually it may be quite easy for you given your experience (for me it wouldn't :D )

On a server you could align with Nextalign for example, if fasta is not yet aligned.

Yesterday @zach-hensel pointed out that sc2rf can be run from a web browser through Google Colab, which is a modified version of Jupyter-Notebooks.

This approach can work quite nicely, as shown by ColabFold (also recommended by Zach).

I will try to set up a Collab Notebook soon and share the link here and in the README.