Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: Allow tool to run in a web browser #13

Open
corneliusroemer opened this issue Mar 22, 2022 · 4 comments
Open

ENH: Allow tool to run in a web browser #13

corneliusroemer opened this issue Mar 22, 2022 · 4 comments

Comments

@corneliusroemer
Copy link

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.

@FedeGueli
Copy link

Agree vm!

@lenaschimmel
Copy link
Owner

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.

@corneliusroemer
Copy link
Author

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.

@lenaschimmel
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants