Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
how_to [2018/12/26 14:01] – [Install R locally (e.g. on a cluster)?] admin | how_to [2019/02/21 15:07] – [Install R locally (e.g. on a cluster)?] admin |
---|
| |
---- | ---- |
| |
| |
==== Set local mirror for Rscript ==== | ==== Set local mirror for Rscript ==== |
| |
**Enable spell check in Emacs on OS X?** \\ | **Enable spell check in Emacs on OS X?** \\ |
The default Aquamacs spell checker has some issues. To replace it, first [[http://stackoverflow.com/questions/19022015/emacs-on-mac-os-x-how-to-get-spell-check-to-work|install]] Aspell: | The default Aquamacs spell checker has some issues. To replace it, first [[http://stackoverflow.com/questions/19022015/emacs-on-mac-os-x-how-to-get-spell-check-to-work|install]] Aspell, which is a [[https://en.wikipedia.org/wiki/GNU_Aspell|replacement]] for Ispell: |
| |
<code> | <code> |
</code> | </code> |
| |
And then add the following line to your emacs [[http://www.emacswiki.org/emacs/InitFile|initialization]] file, ~/Library/Preferences/Aquamacs Emacs/Preferences.el | And then add the following line to your emacs [[http://www.emacswiki.org/emacs/InitFile|initialization]] file, e.g., ~/Library/Preferences/Aquamacs Emacs/Preferences.el, or ~/.emacs |
| |
<code> | <code> |
| |
**Begin learning bioinformatics?** \\ | **Begin learning bioinformatics?** \\ |
Take a course from the [[http://research.omicsgroup.org/index.php/List_of_free_online_bioinformatics_courses|list]] of free online bioinformatics courses e.g., the Computational Molecular Biology [[http://cmgm.stanford.edu/biochem218/index.html|Course]] at Stanford is broad and covers the classic topics but it is not updated, and may become outdated. The same is true for PLOS Translational Bioinformatics [[http://collections.plos.org/translational-bioinformatics|Collection]] of articles, which are more advanced. Most central topics are covered in some course from the European Bioinformatics Institute ([[https://www.ebi.ac.uk/training/online/course-list|EBI]]). Very useful training materials are available from [[https://www.mygoblet.org/|GOBLET]].\\ | Take a course from the [[http://research.omicsgroup.org/index.php/List_of_free_online_bioinformatics_courses|list]] of free online bioinformatics courses e.g., the Computational Molecular Biology [[http://cmgm.stanford.edu/biochem218/index.html|Course]] at Stanford is broad and covers the classic topics but it is not updated, and may become outdated. The same is true for PLOS Translational Bioinformatics [[http://collections.plos.org/translational-bioinformatics|Collection]] of articles, which are more advanced. Most central topics are covered in some course from the European Bioinformatics Institute ([[https://www.ebi.ac.uk/training/online/course-list|EBI]]). Very useful training materials are available from [[https://www.mygoblet.org/|GOBLET]]. Videos from the Models, Inference & Algorithms Initiative ([[https://www.broadinstitute.org/scientific-community/science/mia/models-inference-algorithms|MIA]]) at Broad are relatively advanced.\\ |
\\ | \\ |
[[http://bioconductor.org/help/course-materials/|Bioconductor]] course material provides a walkthrough in specific areas. Also, you can find valuable resources from the [[http://stephenturner.us/edu.html|list]] of bioinformatics workshops and [[http://www.engr.uconn.edu/~mukul/cbc.htm|conferences]]. Following the "Bioinformatics for biologists [[:bioinformatics_for_biologist_workshop|workshop]]" does not require expertise in computer programing. Bio-Linux team prepared a good [[http://nebc.nerc.ac.uk/downloads/courses/Bio-Linux/bl8_latest.pdf|introduction]], which can be used as a reference too. If machine learning is new to you, [[http://www.nature.com/nrg/journal/v16/n6/full/nrg3920.html|read]] about its applications in genetics and genomics. You need to have some basic knowledge in [[https://www.coursera.org/learn/biostatistics?recoOrder=9&utm_medium=email&utm_source=recommendations&utm_campaign=recommendationsEmail~recs_email_2016_06_26_17%3A57|mathematics]] and statistics too. | [[http://bioconductor.org/help/course-materials/|Bioconductor]] course material provides a walkthrough in specific areas. Also, you can find valuable resources from the [[http://stephenturner.us/edu.html|list]] of bioinformatics workshops and [[http://www.engr.uconn.edu/~mukul/cbc.htm|conferences]]. Following the "Bioinformatics for biologists [[:bioinformatics_for_biologist_workshop|workshop]]" does not require expertise in computer programing. Bio-Linux team prepared a good [[http://nebc.nerc.ac.uk/downloads/courses/Bio-Linux/bl8_latest.pdf|introduction]], which can be used as a reference too. If machine learning is new to you, [[http://www.nature.com/nrg/journal/v16/n6/full/nrg3920.html|read]] about its applications in genetics and genomics. You need to have some basic knowledge in [[https://www.coursera.org/learn/biostatistics?recoOrder=9&utm_medium=email&utm_source=recommendations&utm_campaign=recommendationsEmail~recs_email_2016_06_26_17%3A57|mathematics]] and statistics too. |
| |
**Set the default width of fill mode (line length) in emacs?** \\ | **Set the default width of fill mode (line length) in emacs?** \\ |
[[http://stackoverflow.com/questions/3566727/how-to-set-the-default-width-of-fill-mode-to-80-with-emacs|Use]] 'M-x customize-variable' on 'fill-column'. DejaVu Sans Mono size 18 is an [[http://ergoemacs.org/emacs/emacs_unicode_fonts.html|appropriate]] font for programming in Emacs. | [[http://stackoverflow.com/questions/3566727/how-to-set-the-default-width-of-fill-mode-to-80-with-emacs|Use]] 'M-x customize-variable' to set 'fill-column' (100 in Oncinfo). Use DejaVu Sans Mono (~[[http://www.leancrew.com/all-this/2009/10/the-compleat-menlovera-sans-comparison/|Menlo]] on MacOS) size 18-20 is an [[http://ergoemacs.org/emacs/emacs_unicode_fonts.html|appropriate]] font for programming in Emacs. To do so, you may need to manually edit your .emacs in [[https://stackoverflow.com/questions/4821984/emacs-osx-default-font-setting-does-not-persist|macOS]]. |
| |
---- | ---- |
| |
**Enable autocomplete and the tab bar in Emacs?** \\ | **Enable autocomplete and the tab bar in Emacs?** \\ |
[[https://www.emacswiki.org/emacs/InstallingPackages#toc2|Install]] the auto-complete and tabbar packages from [[https://www.emacswiki.org/emacs/MELPA|MELPA]]. In OS X, you may need to edit your init file (usually it is .emacs but you can use C-H v user-init-file RET to check) file to remove auto-complete from the package-selected-packages list and instead add the following lines: | [[https://www.emacswiki.org/emacs/InstallingPackages#toc2|Install]] the auto-complete and tabbar packages from [[https://www.emacswiki.org/emacs/MELPA|MELPA]]. In OS X, you may need to edit your init file (usually it is .emacs but you can use C-H v user-init-file RET to [[https://stackoverflow.com/questions/189490/where-can-i-find-my-emacs-file-for-emacs-running-on-windows|check]]) file to remove auto-complete from the package-selected-packages list and instead add the following lines: |
| |
<code> | <code> |
(global-auto-complete-mode t) | (global-auto-complete-mode t) |
</code> | </code> |
| |
| Also, read the packages instructions to learn how to [[https://www.emacswiki.org/emacs/InstallingPackages#toc4|configure]] and use them. |
| |
---- | ---- |
| |
---- | ---- |
| |
| **Adjust the acceleration and speed of a Logitec mouse?** \\ \\ Install and [[https://apple.stackexchange.com/questions/253111/how-to-disable-scroll-acceleration-in-macos-sierra|use]] the Logitech Control Center. |
| |
| ---- |
| |
| |
| ==== Encrypt a folder? ==== |
| |
| Compress the folder in 7z format using the AES-256 encrypting algorithm. [[https://www.dzhang.com/blog/2018/03/11/using-7-zip-create-aes-256-encrypted-zip-files-command-line|E.g]], |
| |
| <code> |
| 7z a -tzip -mem=AES256 -p super-secret.7z super-secret_folder |
| |
| 7z x super-secret.7z ## Decrypt and uncomperess |
| </code> |
| |
| ---- |
| |
| ==== Upload a file to Oncinfo and link to it? ==== |
| |
| {{:screen_shot_2019-02-12_at_12.38.39_pm.png?linkonly|Set}} the link type to "internal media", click on "Browse Server", and then on "Choose File" and "Update". |
| |
| |