Skip to content

Instantly share code, notes, and snippets.

View genomicsITER's full-sized avatar

Genomics Division, ITER genomicsITER

View GitHub Profile
@genomicsITER
genomicsITER / README.md
Created August 14, 2018 09:23 — forked from hofmannsven/README.md
My simply Git Cheatsheet
@genomicsITER
genomicsITER / subsample.sh
Created August 9, 2017 17:11 — forked from mojaveazure/subsample.sh
A script to subsample Fasta/FastQ files using Seqtk
#!/bin/bash
set -e
set -u
set -o pipefail
# A script to subsample Fasta/FastQ files using Seqtk
if ! `command -v seqtk > /dev/null 2> /dev/null`
then
echo "Failed to find seqtk!"
@genomicsITER
genomicsITER / plotCoverageProportions.R
Created July 7, 2017 10:59 — forked from johandahlberg/plotCoverageProportions.R
A R script to plot cumulative coverage based on GATK DepthOfCoverage output files. Not very pretty, but perhaps helpful to somebody.
library(ggplot2)
setwd("<my working directory>")
removeExtraLine <- function(x) {
x[,2:length(x)]
}
createInitialDataset <- function(x, sampleName) {
extraLineRemoved <- t(removeExtraLine(x))
#!/bin/bash
#$ -V
#$ -S /bin/bash
#Embrrassingly Parallel Computations Using the Sun Grid Engine
#Array Job
#qsub -pe make 3 -cwd -j y -N hong -t 1-3 test.sh
#MANIFEST=sample1.txt
#SAMPLE=`awk "NR==${SGE_TASK_ID}" ${MANIFEST}`
#echo $SAMPLE
@genomicsITER
genomicsITER / TDA_resources.md
Created June 13, 2017 10:44 — forked from calstad/TDA_resources.md
List of resources for TDA

Quick List of Resources for Topological Data Analysis with Emphasis on Machine Learning

This is just a quick list of resourses on TDA that I put together for @rickasaurus after he was asking for links to papers, books, etc on Twitter and is by no means an exhaustive list.

Survey Papers

Both Carlsson's and Ghrist's survey papers offer a very good introduction to the subject

Other Papers and Web Resources