Skip to content

Instantly share code, notes, and snippets.

@itsvenu
itsvenu / subsetBigWig.py
Created July 31, 2019 18:13 — forked from dpryan79/subsetBigWig.py
Subset a bigwig file
#!/usr/bin/env python
import pyBigWig
import argparse
import os.path
import sys
parser = argparse.ArgumentParser(description="Subset a single chromosome from a bigWig file.")
parser.add_argument("--headerToo", action="store_true", help="Subset the header too, which can expedite some downstream programs but possibly cause problems for others.")
parser.add_argument("input", help="Input bigWig file.")
parser.add_argument("output", help="Output bigWig file.")
@itsvenu
itsvenu / global.R
Created October 31, 2016 16:29 — forked from pssguy/global.R
Upload Example in Shiny App. Takes Pupil's term marks and does some analyses
# load required libraries
library(shiny)
library(plyr)
library(ggplot2)
library(googleVis)
library(reshape2)
####creation of example data on local directory for uploading####
@itsvenu
itsvenu / stockholm2fasta.pl
Last active September 24, 2020 13:54 — forked from mkuhn/stockholm2fasta.pl
Script to convert Stockholm format sequence file to fasta format
#!/usr/bin/perl -w
my $columns = 60;
my $progname = $0;
$progname =~ s/^.*?([^\/]+)$/$1/;
my $usage = "Usage: $progname [<Stockholm file(s)>]\n";
$usage .= " [-h] print this help message\n";