This file contains 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
➜ ybm-vagrant git:(master) ✗ vagrant up app | |
Bringing machine 'app' up with 'virtualbox' provider... | |
[app] Importing base box 'grahammc-omnibus-precise64'... | |
[app] Matching MAC address for NAT networking... | |
[app] Setting the name of the VM... | |
[app] Clearing any previously set forwarded ports... | |
Pruning invalid NFS exports. Administrator privileges will be required... | |
Password: | |
[app] Creating shared folders metadata... | |
[app] Clearing any previously set network interfaces... |
This file contains 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
./vg construct -r /lustre/scratch113/projects/graphs/yeast/data/SGD_2010.fasta \ | |
-v /lustre/scratch113/projects/graphs/yeast/data/SGRP2-cerevisiae-freebayes-snps-Q30-GQ30.vcf.gz \ | |
-m 1000 -a > output/yeastgraph.vg\ | |
./vg mod -pl 16 -e 3 output/yeastgraph.vg \ | |
| ./vg mod -S -l 32 - \ | |
| ./vg kmers -gB -k 16 -F -H 1000000000 -T 1000000001 - \ | |
> output/yeastgraph.graph / |
This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am willgdjones on github. | |
* I am willgdjones (https://keybase.io/willgdjones) on keybase. | |
* I have a public key ASCbDvDv8s1rCDU6-1nNW9MKMAiob6syw-ERaXSLA17_XQo | |
To claim this, I am signing this object: |
This file contains 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
function (package = NULL) | |
{ | |
z <- list() | |
z$R.version <- R.Version() | |
z$platform <- z$R.version$platform | |
if (nzchar(.Platform$r_arch)) | |
z$platform <- paste(z$platform, .Platform$r_arch, sep = "/") | |
z$platform <- paste0(z$platform, " (", 8 * .Machine$sizeof.pointer, | |
"-bit)") | |
z$locale <- Sys.getlocale() |
This file contains 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
whatR version 3.4.1 (2017-06-30) | |
Platform: x86_64-pc-linux-gnu (64-bit) | |
Running under: Ubuntu precise (12.04.5 LTS) | |
Matrix products: default | |
BLAS: /usr/lib/atlas-base/libf77blas.so.3gf.0 | |
LAPACK: /usr/lib/atlas-base/atlas/liblapack.so.3gf.0 | |
locale: | |
[1] LC_CTYPE=en_GB.UTF-8 LC_NUMERIC=C |
This file contains 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
"""Socket test""" |
This file contains 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 numpy as np | |
import pandas as pd | |
from datetime import datetime as dt | |
import pytz | |
import dash | |
import dash_core_components as dcc | |
import dash_html_components as html | |
import plotly.graph_objs as go | |
from plotly import tools |
This file contains 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 numpy as np | |
import pandas as pd | |
from datetime import datetime as dt | |
import pytz | |
import dash | |
import dash_core_components as dcc | |
import dash_html_components as html | |
import plotly.graph_objs as go | |
from plotly import tools |
This file contains 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
@app.route('/geneplaza/login', methods=['GET', 'POST']) | |
@login_required | |
def geneplaza_login(): | |
scopes = app.config['DEFAULT_SCOPES'] | |
redirect_uri = app.BASE_CLIENT_URL + 'geneplaza/auth' | |
client_id = app.config['GENEPLAZA_CLIENT_ID'] | |
submit_url = f"https://www.geneplaza.com/api/auth?response_type=code&client_id={client_id}&redirect_uri={redirect_uri}&scope=dataset" | |
return redirect(submit_url) | |