Skip to content

Random scripts that do useful things that took me way too long to make

Notifications You must be signed in to change notification settings

gprezza/useful_stuff

Repository files navigation

useful_stuff

Random scripts/config files that do useful things and that took me way too long to make/find on the internet.

R script to do interactive volcano plots with plotly, saved as an html file in the current directory. The input data_tab table must contain a locus_tab column with gene names, a FDR one with FDR values and a logFC with the log2FC. Vertical lines at logFCtresh and -logFCtresh are drawn. title is the title given to the plot and the saved file.

  • Clicking on a point opens a new tab to a pre-defined link to which the gene locus tag is attached. E.g. if url is https://www.ncbi.nlm.nih.gov/protein/?term=, the page opens on the NCBI database page of the searched locus tag.
  • Genes can be searched in a search field at the bottom left. Matched genes are colored and added to the legend. A custom name for the legend can be put before a colon in the search field (e.g. groEL:BT_1829). Multiple genes can be searched when separated by a comma (e.g. operon:BT_0074,BT_0073,BT_0072). If no custom name is given, the legend entry name is the search term.

Config file for tmux.

javascript macro for CorelDraw to resize all objects in the current selection by a factor, while maintaining their relative position. The scaling factor is set in the first line.

javascript macro for CorelDraw to resize all objects in the current selection to specified height and width values, while maintaining their relative position. The values are set in the first line.

About

Random scripts that do useful things that took me way too long to make

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published