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
travis@debug-hs-11922-jni-python-1420819368:~/jni/cellom2tif$ py.test | |
============================= test session starts ============================== | |
platform linux2 -- Python 2.7.3 -- py-1.4.26 -- pytest-2.6.4 | |
plugins: cov | |
collected 10 items | |
verify.py . | |
cellom2tif/cellom2tif.py .. | |
tests/test_cellom2tif.py . | |
tests/test_package.py .. |
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
times2 start | |
range start | |
yielding 0 | |
multiplying 0 by 2 | |
yielding 1 | |
multiplying 1 by 2 | |
yielding 2 | |
multiplying 2 by 2 | |
yielding 3 | |
multiplying 3 by 2 |
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
### Keybase proof | |
I hereby claim: | |
* I am jni on github. | |
* I am jni (https://keybase.io/jni) on keybase. | |
* I have a public key whose fingerprint is 9917 C047 FE5D 7675 689F 03C1 E6C7 550F 653B E587 | |
To claim this, I am signing this object: |
This file has been truncated, but you can view the full file.
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
>chr2L | |
Cgacaatgcacgacagaggaagcagaacagatatttagattgcctctcat | |
tttctctcccatattatagggagaaatatgatcgcgtatgcgagagtagt | |
gccaacatattgtgctctttgattttttggcaacccaaaatggtggcgga | |
tgaaCGAGATGATAATATATTCAAGTTGCCGCTAATCAGAAATAAATTCA | |
TTGCAACGTTAAATACAGCACAATATATGATCGCGTATGCGAGAGTAGTG | |
CCAACATATTGTGCTAATGAGTGCCTCTCGTTCTCTGTCTTATATTACCG | |
CAAACCCAAAAAgacaatacacgacagagagagagagcagcggagatatt | |
tagattgcctattaaatatgatcgcgtatgcgagagtagtgccaacatat | |
tgtgctctCTATATAATGACTGCCTCTCATTCTGTCTTATTTTACCGCAA |
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
from IPython import get_ipython | |
import toolz as tz | |
from toolz import curried as c | |
fn = 'data/mb1_dm6.fa' | |
t = get_ipython().magic('timeit -o -q tz.pipe(fn, open, tz.last)') | |
print('Raw throughput (lines): %.2fMB/s' % (1 / t.best)) | |
t = get_ipython().magic('timeit -o -q tz.pipe(fn, open, tz.concat, tz.last)') | |
print('Single character throughput: %.2fMB/s' % (1 / t.best)) | |
def is_sequence(line): | |
return len(line) > 1 and not line.startswith('>') |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
{ | |
"global": { | |
"check_for_updates_on_startup": true, | |
"show_in_menu_bar": true, | |
"show_profile_name_in_menu_bar": false | |
}, | |
"profiles": [ | |
{ | |
"complex_modifications": { | |
"parameters": { |
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 asyncio | |
import matplotlib | |
matplotlib.use('TkAgg') | |
import tkinter as tk | |
from tkinter import ttk | |
from skimage._shared._tempfile import temporary_file | |
import numpy as np | |
@asyncio.coroutine |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.