News: Announcing bioSyntax: Syntax highlighting for biological files
9
gravatar for anicet.ebou
3 months ago by
anicet.ebou130
anicet.ebou130 wrote:

The objective of bioSyntax is to bring you closer to your data, giving you an intuitive & empathetic understanding of biology. bioSyntax integrates seamlessly with vim, less, gedit, & sublime to automatically recognize your favorite biological file formats.

For more informations please visit http://biosyntax.org.

I highly recommend you to take a look at drawHelix.sh, great tool to visualize your genome. Check http://biosyntax.org/drawHelix.sh.

ADD COMMENTlink modified 7 days ago by ababaian20 • written 3 months ago by anicet.ebou130

Using the https URL above is throwing up mis-configuration errors/warnings (likely related to SSL cert) in Chrome/Firefox.

ADD REPLYlink written 3 months ago by genomax46k

same here (insecure connection) and security exception to be added in FF to visit the website

ADD REPLYlink modified 3 months ago • written 3 months ago by cpad01124.5k

Fix the issue by changing https by http. Thanks everybody.

ADD REPLYlink modified 3 months ago • written 3 months ago by anicet.ebou130
1

Can't you use let's encrypt/certbot to add free https support ? https://certbot.eff.org/

ADD REPLYlink written 3 months ago by Raony GuimarĂ£es820

It's surprisingly convoluted but if anyone has a git-hub page with a custom domain; adding https requires routing your DNS through CloudFlare. Fixed now :P

ADD REPLYlink written 3 months ago by ababaian20
2
gravatar for Ram
3 months ago by
Ram14k
New York
Ram14k wrote:

Great tool! I have a few suggestions:

  1. Maybe add support for emacs as well?
  2. source-highlight has a bunch of problems. It doesn't recognize source code all that well, and runs into a bunch of problem when using on HPC systems (it cannot find libraries easily and building for source is a headache as well). Given that supporting multiple lesspipe.sh files for piping less is not feasible, maybe the less-bam (and allied scripts) can be provided separately?
ADD COMMENTlink modified 3 months ago • written 3 months ago by Ram14k
1

Heya. sam-less, vcf-less etc... are not scripts, it's an alias added to .bashrc set to run source-highlight with explicit definitions of what type of file is being input. This is because on a pipe, there is no file-extension to be recognized. If you don't want syntax-highlighting for non-biology file formats; cd /usr/share/source-highlight; sudo mv lang.map BACKUP_lang.map; touch lang.map will remove all defaults but maintain bioSyntax functionality.

I'd love to do this without source-highlight, or at least without requiring any changes to the source-highlight folder (i.e. local user configurations only). In that way source-highlight can be installed on a system by and admin once and any users who want to use syntax highlighting can just add the corresponding alias to their .bashrc files. Emacs would be nice too, and so would Nano and Atom and ... One step at a time.

ADD REPLYlink written 3 months ago by ababaian20

Unfortunately, anything that needs sudo doesn't work for me, as I work mostly on an HPC environment. Plus, I'm personally frustrated with source-highlight because it has way too many dependencies that cause problems when you don't have sudo. On top of that, it gets basic highlighting wrong. Lesspipe is much better IMO, as it can be run from a user dir, and adds more to the functionality of less - reading directories, archives and scanning xlsx files, for example.

I do hope an alternative to source-highlight comes up for less, as that is more important than emacs. Rarely do I edit VCF files on emacs, but I use less on them A LOT.

Thank you for this!

ADD REPLYlink written 3 months ago by Ram14k

I'll look more into Lesspipe but from reading over it, I'm not sure it would be straight-forward to add syntaxes to it. From the docs though I did learn:

You can use vim less if you want to circumvent source-highlight and don't have sudo. Just ensure you have bioSyntax installed for vim and syntax enable in your .vimrc

alias vless='/usr/share/vim/vim74/macros/less.sh "$@"'

You'd have to get a little bit creative with a vimscript to also make the vcf-vless commands work. If you figure it out post it to the repo and we can incorporate it for sure.

ADD REPLYlink written 3 months ago by ababaian20

Will do! Thank you!

ADD REPLYlink written 3 months ago by Ram14k
0
gravatar for ababaian
7 days ago by
ababaian20
ababaian20 wrote:

We (bioSyntax devs) have a very short user survey to focus future development on the file-formats and software which bioinformaticians are using. If you have a couple of minutes we'd really appreciate your input in making bioSyntax increasingly useful to our community.

ADD COMMENTlink written 7 days ago by ababaian20
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1935 users visited in the last hour