This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
psyc_7102_statistical-genetics [2015/11/13 13:51] scott |
psyc_7102_statistical-genetics [2015/12/07 20:43] scott |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | Here are some useful server | + | |
+ | ======= Homework ======= | ||
+ | |||
+ | [[homework_6_ancestry]] | ||
+ | |||
+ | [[homework_7_functional_annotation]] | ||
+ | |||
+ | |||
+ | ======= Final Exam ======= | ||
+ | |||
+ | [[final_exam]] | ||
+ | |||
+ | |||
+ | ======= Command Line and Other Coding Resources ======= | ||
+ | |||
+ | |||
+ | ====== Command Line ====== | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | |||
+ | ====== Regular Expressions (Regex) ====== | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | |||
+ | ======= Code Samples (Please add!) ======= | ||
+ | |||
+ | |||
+ | ====== Server and file management tools ====== | ||
| | ||
- | df -h ### Show space availability in all directories | + | df -h |
- | df -h / | + | df -h / |
- | | + | |
- | | + | |
+ | |||
+ | ls -lhrt ### list the contents of a directory sorted from oldest to newest | ||
+ | |||
+ | ### Is your command taking a very long time and you can't keep your computer open for hours? | ||
+ | ### Just prepend your command with ' | ||
+ | ### This will prevent the system from killing your job when your computer disconnects from | ||
+ | ### the server. | ||
+ | ### Here are a few toy examples | ||
+ | nohup plink --vcf myvcf.vcf.gz --maf .05 & # Run plink | ||
+ | nohup zgrep -v '#' | ||
- | PBS batch queuing (used on vieques and research computing | + | |
+ | ====== Logging into vieques from home without using VPN ====== | ||
+ | |||
+ | |||
+ | ssh < | ||
+ | ### for an account if you don't already have one). | ||
+ | ssh < | ||
+ | |||
+ | |||
+ | |||
+ | ====== | ||
### PBS batch system utilities | ### PBS batch system utilities | ||
- | | + | |
watch qstat ### Refreshes " | watch qstat ### Refreshes " | ||
- | ### | + | ### |
- | qsub -I -q short -l walltime=23: | + | ### |
+ | qsub -I -q short -l walltime=23: | ||
+ | |||
+ | qdel <job number> | ||
+ | qdel all ### Kill all your PBS jobs | ||
- |