start new:
tmux
start new with session name:
tmux new -s myname
| wget http://www.openbioinformatics.org/annovar/download/annovar.latest.tar.gz.mirror | |
| tar xzvf annovar.tar.gz | |
| cd annovar | |
| # download databases (goes to UCSC) | |
| ./annotate_variation.pl -buildver hg19 -downdb 1000g2010nov humandb | |
| ./annotate_variation.pl -buildver hg19 -downdb avsift humandb | |
| ./annotate_variation.pl -buildver hg19 -downdb refGene humandb | |
| ./annotate_variation.pl -buildver hg19 -downdb mce46way humandb/ | |
| ./annotate_variation.pl -buildver hg19 -downdb snp131 humandb/ |
| # Make mouse useful in copy mode | |
| setw -g mode-mouse on | |
| # Allow mouse to select which pane to use | |
| set -g mouse-select-pane on | |
| # Allow mouse dragging to resize panes | |
| set -g mouse-resize-pane on | |
| # Allow mouse to select windows |
I wrote this as a guide for a financial analyst friend of mine looking to learn Python. He is already fairly well versed in doing Project Euler problems in Ruby. All italicized text is for the benefit of any other readers, such as yourself.
Each section is divided into a short resource (10 minutes or less), a long resource (days to weeks or more), and a challenge.
~
So what you're looking to do is to be able to recreate financial models in code. And other types of models. This is a noble pursuit.
In the below keyboard shortcuts, I use the capital letters for reading clarity but this does not imply shift, if shift is needed, I will say shift. So ⌘ + D does not mean hold shift. ⌘ + Shift + D does of course.
| Function | Shortcut |
|---|---|
| New Tab | ⌘ + T |
| Close Tab or Window | ⌘ + W (same as many mac apps) |
| Go to Tab | ⌘ + Number Key (ie: ⌘2 is 2nd tab) |
| Go to Split Pane by Direction | ⌘ + Option + Arrow Key |
| ### Kaggle Days SF: Hackathon submission (8th place) | |
| # I used the latest version of H2O (3.24.0.1) | |
| # Latest stable always here: http://h2o-release.s3.amazonaws.com/h2o/latest_stable.html | |
| # H2O 3.24.0.1: http://h2o-release.s3.amazonaws.com/h2o/rel-yates/1/index.html | |
| # If you are a Python user, you can use the demo Python code available on the H2O AutoML User Guide | |
| # instead: http://docs.h2o.ai/h2o/latest-stable/h2o-docs/automl.html | |
| # Unfortunately it was a private competition, so the data is not publicly available! |
| import os | |
| import sys | |
| import pandas as pd | |
| from pyliftover import LiftOver | |
| target = sys.argv[1] |