Skip to content

Instantly share code, notes, and snippets.

View patidarr's full-sized avatar

Rajesh Patidar patidarr

View GitHub Profile
zcat ${sample}_R1.fastq.gz |sed -e '4~4y/KLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~/""""""""""""""""""""""""""""""""""""""""""""""""""""/' |gzip >${sample}_R1.fixed.fastq.gz &
zcat ${sample}_R2.fastq.gz |sed -e '4~4y/KLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~/""""""""""""""""""""""""""""""""""""""""""""""""""""/' |gzip >${sample}_R2.fixed.fastq.gz &
wait
sample_size <-(900)
favour_candidate <-(577)
Stdev <-(0.47)
error<-(Stdev/sqrt(sample_size))
margin_of_error<-(error*2)
confid_level <-(95)
UCL<-(favour_candidate+margin_of_error)
LCL<-(favour_candidate-margin_of_error)
UCL
LCL
@patidarr
patidarr / .vimrc
Created September 29, 2015 13:52 — forked from shiftycow/.vimrc
My standard .vimrc file
set nocompatible "run in vim mode
set expandtab "expand tabs into spaces
set autoindent "auto-indent new lines
set smartindent "return ending brackets to proper locations
set softtabstop=4 "indentation level of soft-tabs
set tabstop=4 "indentation leves of normal tabs
set shiftwidth=4 "how many columns to re-indent with << and >>
set showmatch "show matching brackets
set ruler "show cursor position at all times
set nohls "don't highlight the previous search term
@patidarr
patidarr / README.md
Last active September 17, 2015 12:35 — forked from hofmannsven/README.md
My simply MySQL Command Line Cheatsheet
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases.
# Much of this was originally copied from:
# http://natelandau.com/my-mac-osx-bash_profile/
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management