This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import requests | |
| from bs4 import BeautifulSoup | |
| import time | |
| # We've now imported the two packages that will do the heavy lifting | |
| # for us, reqeusts and BeautifulSoup | |
| # This is the URL that lists the current inmates | |
| # Should this URL go away, and archive is available at | |
| # http://perma.cc/2HZR-N38X |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # run with a custom --n | |
| # python run_luigi.py SquaredNumbers --local-scheduler --n 20 | |
| import luigi | |
| class PrintNumbers(luigi.Task): | |
| n = luigi.IntParameter(default=10) | |
| def requires(self): | |
| return [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import luigi | |
| from luigis_monkey_wrench import * | |
| REF='human_17_v37.fasta' | |
| INDIVIDUALS=['NA06984','NA07000'] | |
| SAMPLES=['1','2'] | |
| BASENAME='.ILLUMINA.low_coverage.17q_' | |
| PICARDDIR='/sw/apps/bioinfo/picard/1.69/kalkyl/' | |
| KNOWNSITES='/proj/g2014207/labs/gatk/ALL.chr17.phase1_integrated_calls.20101123.snps_indels_svs.genotypes.vcf' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### INSTALLATION NOTES ### | |
| # 1. Install Homebrew (https://github.com/mxcl/homebrew) | |
| # 2. brew install zsh | |
| # 3. Install OhMyZsh (https://github.com/robbyrussell/oh-my-zsh) | |
| # 4. brew install reattach-to-user-namespace --wrap-pbcopy-pbpaste && brew link reattach-to-user-namespace | |
| # 5. Install iTerm2 | |
| # 6. In iTerm2 preferences for your profile set: | |
| # Character Encoding: Unicode (UTF-8) | |
| # Report Terminal Type: xterm-256color | |
| # 7. Put itunesartist and itunestrack into PATH |