Skip to content

Instantly share code, notes, and snippets.

View timeu's full-sized avatar

Ümit Seren timeu

View GitHub Profile
import requests, csv
req = requests.get('https://arapheno.1001genomes.org/rest/phenotype/list.json')
for phen in req.json():
id = phen['phenotype_id']
filename = '/tmp/DATA/%s_%s.csv' % (id,phen['name'])
with open(filename, 'w') as fh:
data = requests.get('https://arapheno.1001genomes.org/rest/phenotype/%s/values.csv' % id)
for chunk in data.iter_content(chunk_size=128):
fh.write(chunk)
@timeu
timeu / config.cfg
Last active February 9, 2018 09:14
// This file is overwritten whenever you change your user settings in the game.
// Add custom configurations to the file "userconfig.cfg".
unbindall
bind "TAB" "+showscores"
bind "ENTER" "+attack"
bind "ESCAPE" "cancelselect"
bind "SPACE" "+jump"
bind "'" "+moveup"
bind "+" "sizeup"
@timeu
timeu / gwasheatmap.json
Last active July 26, 2017 12:25
json data file for gwas heatmap
{
"type": "top",
"scoreRange": [0, 15],
"studies": [{
"id": 0,
"name": "Phen0"
}, {
"id": 1,
"name": "Phen1"
}, {
@timeu
timeu / embed.html
Created October 24, 2016 20:22
embedding fusballosterreich
<iframe src="http://www.fussballoesterreich.at/foes/Datenservice/WFV-DioezesanSportGemeinschaft-DSGUnterligaB/Tabelle" frameborder="0" height="100%" width="100%"></iframge>
@timeu
timeu / test.txt
Created August 30, 2016 11:05
test123
This is just a test
@timeu
timeu / test.txt
Created August 30, 2016 08:33
test123
This is just a test
@timeu
timeu / test.txt
Created August 30, 2016 08:15
test123
This is just a test
@timeu
timeu / test.txt
Created August 30, 2016 08:14
test123
This is just a test
@timeu
timeu / test.txt
Created August 30, 2016 08:13
test123
This is just a test
@timeu
timeu / test.txt
Created August 30, 2016 08:11
test123
This is just a test