conda create -n pysam python=3.6.5 pip
sudo yum install -y openssl-devel
wget https://github.com/pysam-developers/pysam/archive/v0.15.3.tar.gz
tar xvzf v0.15.3.tar.gz
cd pysam-0.15.3
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
docker rm $(docker ps -q -f 'status=exited') | |
docker rmi $(docker images -q -f "dangling=true") | |
docker volume rm $(docker volume ls -qf dangling=true) |
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/bash -e | |
# http://mama.indstate.edu/users/ice/tree/ | |
wget http://mama.indstate.edu/users/ice/tree/src/tree-1.8.0.tgz | |
tar xvzf tree-1.8.0.tgz | |
cd tree-1.8.0 | |
make | |
make install prefix=$HOME |
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/bash -e | |
# http://hisham.hm/htop/ | |
yum groupinstall "Development Tools" | |
yum install ncurses ncurses-devel | |
wget http://hisham.hm/htop/releases/2.0.2/htop-2.0.2.tar.gz | |
tar xvfvz htop-2.0.2.tar.gz | |
cd htop-2.0.2 |
https://rest.ensembl.org/documentation/info/lookup
curl -H 'Content-type:application/json' -sS 'https://rest.ensembl.org/lookup/id/ENSG00000237989?' | jq
HGNC: Hugo Gene Nomenclature Committee
https://www.genenames.org/help/rest/
fetch
: returns all the fields, does not accept wild cards or multiple queries)search
: returns all possible entries with only the fieldshgnc_id
,symbol
andscore
.
conda install -c bioconda samtools=1.9=h8ee4bcc_1 openssl=1.0
from IPython.core.display import display, HTML
display(HTML("<style>.container { width:95% !important; }</style>"))
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 kafka import KafkaConsumer | |
# To consume messages | |
consumer = KafkaConsumer('my-topic', | |
group_id='my_group', | |
bootstrap_servers=['localhost:9092']) | |
for message in consumer: | |
# message value is raw byte string -- decode if necessary! | |
# e.g., for unicode: `message.value.decode('utf-8')` |