I hereby claim:
- I am konrad on github.
- I am konradfoerstner (https://keybase.io/konradfoerstner) on keybase.
- I have a public key whose fingerprint is 5801 2301 E981 C65D E0DB C0A1 41E6 AF4E DF9D B3D3
To claim this, I am signing this object:
/* | |
Use this as a bookmarklet by saving it as a web browser bookmark. Then mark a piece of text in a page and click the bookmark. The marked text will be searched in Pubmed. | |
*/ | |
javascript:(function(){ | |
var selected_text = ''; | |
if (window.getSelection){ | |
selected_text = window.getSelection(); | |
} | |
else if (document.getSelection){ |
SPEED=1.5 | |
for FILE in $@ | |
do | |
WAV_FILE=$(basename $FILE .mp4).wav | |
WAV_FILE_SPED_UP=$(basename $FILE .mp4)_spedup.wav | |
MP3_FILE=$(basename $FILE .mp4)_spedup.mp3 | |
ffmpeg -i $FILE -vn $WAV_FILE | |
sox $WAV_FILE $WAV_FILE_SPED_UP tempo $SPEED | |
lame $WAV_FILE_SPED_UP $MP3_FILE |
# Problem: You have a NCBI GEO accession and would like to get the URL of the SRA file that contains the sequencing data. | |
# The sed command that removes the last characer of the string is essential as there is a invisible character that messes up the | |
# downstream steps otherwise. | |
GEO_ACCESSION="GSM1655353" # set you GEO accession here | |
SRA_FTP_URL=$(curl "http://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=${GEO_ACCESSION}&targ=self&form=text&view=brief" 2>/dev/null | grep ftp-trace.ncbi.nlm.nih.gov | cut -c 32-| sed 's/.$//') | |
FTP_SUB_FOLDER=$(ncftpls ${SRA_FTP_URL}/) | |
SRA_FILE=$(ncftpls ${SRA_FTP_URL}/${FTP_SUB_FOLDER}/) | |
echo $GEO_ACCESSION ${SRA_FTP_URL}/${FTP_SUB_FOLDER}/${SRA_FILE} |
from TwitterSearch import * | |
import json | |
try: | |
tso = TwitterSearchOrder() | |
tso.set_keywords(['#BOSC2015']) | |
# Please replace with your credentials | |
ts = TwitterSearch( | |
consumer_key='REPLACE_ME', | |
consumer_secret='REPLACE_ME', |
27203499 | |
27203498 | |
27187993 | |
27147017 | |
27115821 | |
27111981 | |
27111968 | |
27082204 | |
27078543 | |
27048000 |
FROM ubuntu:16.04 | |
RUN apt-get update && apt-get dist-upgrade -y | |
RUN apt-get install -y curl wget git ruby python3 sra-toolkit snakemake libssl-dev libcurl4-openssl-dev libxml2-dev | |
WORKDIR /root | |
RUN wget https://github.com/pachterlab/kallisto/releases/download/v0.43.0/kallisto_linux-v0.43.0.tar.gz && \ | |
tar xzf kallisto_linux-v0.43.0.tar.gz && \ | |
mv kallisto_linux-v0.43.0/kallisto /usr/bin/ && \ | |
rm -rf kallisto_linux-v0.43.0 kallisto_linux-v0.43.0.tar.gz |
import argparse | |
from Bio import SeqIO | |
parser = argparse.ArgumentParser( | |
description="Split a multi entry fasta file into several files " | |
"with one entry") | |
parser.add_argument("input_file") | |
parser.add_argument("output_prefix") | |
args = parser.parse_args() |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env bash | |
# Returns a BibTeX (www.bibtex.org) entry for one or more given DOIs | |
# (https://www.doi.org/). | |
# | |
# Call it like this: | |
# | |
# $ doi2bibtex.sh 10.1093/bioinformatics/btu533 | |
# | |
# Can also be used for several DOIs at once: |
#!/bin/bash | |
# Small script to combine some photos, cut a mp3 file into two pieces, | |
# fade in and out and merge everything. Rather specific so needs to be |