View 230306-symmetrize-stack.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View hela-pairing.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View bottle-brush-scaling-theory.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View my_savez.py
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
# from https://stackoverflow.com/questions/22712292/how-to-use-numpy-savez-in-a-loop-for-save-more-than-one-array/22716159#22716159 | |
import numpy as np | |
import tempfile | |
class my_savez(object): | |
def __init__(self, file, compression=None, compresslevel=None): | |
# Import is postponed to here since zipfile depends on gzip, an optional | |
# component of the so-called standard library. | |
import zipfile |
View yeast_cohesin_project_fig6.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View w303.centromeres.tsv
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
chrom | start | end | |
---|---|---|---|
chrVII | 496916 | 497034 | |
chrVI | 148509 | 148626 | |
chrV | 151987 | 152104 | |
chrIV | 449712 | 449822 | |
chrIII | 114385 | 114501 | |
chrII | 238206 | 238322 | |
chrI | 151465 | 151582 | |
chrIX | 355629 | 355745 | |
chrVIII | 105591 | 105708 |
View sra_downloader.py
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 subprocess | |
import shutil | |
import argparse | |
import pathlib | |
parser = argparse.ArgumentParser(description='Download all SRAs from a GSM.') | |
parser.add_argument('GSMs', metavar='GSMs', type=str, nargs='+', | |
help='GSMs to download, can be more than one') | |
parser.add_argument('-g', '--guess-title', | |
help='If specified, guess the title of each GSMs and use it to store SRRs', |
View gist:fea8b74fce5e1b8119e6c8dc96671f07
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
#!/bin/sh | |
if ! type "efetch" > /dev/null; then | |
print "Please install E-utilitie." | |
fi | |
GSM_LIST=$1 | |
GSMs=`cat $GSM_LIST|cut -f1` | |
#echo $SRRs | |
! type "foo" > /dev/null 2>&1; | |
for GSM in $GSMs; do |
View centromere_downloader.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder