Skip to content

Instantly share code, notes, and snippets.

View kumeS's full-sized avatar

skume kumeS

View GitHub Profile
@kumeS
kumeS / hgen-473-rna-seq.R
Created April 25, 2021 16:55 — forked from jdblischak/hgen-473-rna-seq.R
RNA-seq analysis with R/Bioconductor
# HGEN 473 - Genomics
# Spring 2017
# Tuesday, May 9 & Thursday, May 11
#
# RNA-seq analysis with R/Bioconductor
#
# John Blischak
#
# Last updated: 2020-04-08
@kumeS
kumeS / gdrive_download.sh
Last active April 26, 2021 04:28 — forked from guysmoilov/gdrive_download.sh
Bash script to download large zip files from google drive while confirming the virus scan warning
#!/bin/sh
# Usage: gdrive_download 123-abc ./output.zip
function gdrive_download () {
CONFIRM=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate "https://drive.google.com/uc?export=download&id=$1" -O- | sed -En 's/.*confirm=([0-9A-Za-z_]+).*/\1/p')
wget --quiet --load-cookies /tmp/cookies.txt "https://drive.google.com/uc?export=download&confirm=$CONFIRM&id=$1" -O $2
rm -f /tmp/cookies.txt
}