Skip to content

Instantly share code, notes, and snippets.

View PoisonAlien's full-sized avatar

Anand Mayakonda PoisonAlien

View GitHub Profile
@PoisonAlien
PoisonAlien / bwview.sh
Created July 27, 2023 09:13
subset a bigWig file
#!/usr/bin/env bash
#Script to subset a bigWig file for user specific loci
#MIT License (Anand Mayakonda; [email protected])
function usage (){
echo "Subset a bigWig file for genomic loci.
Requires UCSC kentutils bigWigToBedGraph and bedGraphToBigWig to be installed
Binaries available from: https://hgdownload.soe.ucsc.edu/admin/exe/
#!/usr/bin/env python3
#A simple script to predict gnomAD ancestry using PCA loadings trained on gnomAD V3 datasets
#See here for details: https://gnomad.broadinstitute.org/news/2021-09-using-the-gnomad-ancestry-principal-components-analysis-loadings-and-random-forest-classifier-on-your-dataset/
#Author: Anand Mayakonda
import sys
import os.path
import shutil
import argparse
---
title: "Sequencing run summary"
date: "Generated on: `r Sys.Date()`"
output:
html_document:
toc: true
toc_depth: 3
toc_float: true
self_contained: yes
theme: sandstone
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
We can make this file beautiful and searchable if this error is corrected: It looks like row 8 should actually have 2 columns, instead of 1 in line 7.
category path
Intracellular_components https://raw.githubusercontent.com/duerrsimon/bioicons/refs/heads/main/static/icons/cc-0/Intracellular_components/Simon_Dürr/zincfinger.svg
Intracellular_components https://raw.githubusercontent.com/duerrsimon/bioicons/refs/heads/main/static/icons/cc-0/Intracellular_components/ASE/histone_complex.svg
Intracellular_components https://raw.githubusercontent.com/duerrsimon/bioicons/refs/heads/main/static/icons/cc-0/Intracellular_components/ASE/histone_complex_acetylated.svg
Intracellular_components https://raw.githubusercontent.com/duerrsimon/bioicons/refs/heads/main/static/icons/cc-0/Intracellular_components/jaiganesh/mitochondria.svg
Intracellular_components https://raw.githubusercontent.com/duerrsimon/bioicons/refs/heads/main/static/icons/cc-0/Intracellular_components/jaiganesh/proteasome.svg
Intracellular_components https://raw.githubusercontent.com/duerrsimon/bioicons/refs/heads/main/static/icons/cc-0/Intracellular_components/jaiganesh/Endoplasmic_Reticulum.svg
Intracell
category path
Machine_Learning https://raw.githubusercontent.com/duerrsimon/bioicons/refs/heads/main/static/icons/bsd/Machine_Learning/Facebook/PyTorch.svg
Machine_Learning https://raw.githubusercontent.com/duerrsimon/bioicons/refs/heads/main/static/icons/bsd/Machine_Learning/Google/Tensorflow.svg
Machine_Learning https://raw.githubusercontent.com/duerrsimon/bioicons/refs/heads/main/static/icons/bsd/Machine_Learning/Jupyter/Jupyter.svg
Amino-Acids https://raw.githubusercontent.com/duerrsimon/bioicons/refs/heads/main/static/icons/cc-0/Amino-Acids/B--Gideon-Bergheim/alanine_chem.svg
Amino-Acids https://raw.githubusercontent.com/duerrsimon/bioicons/refs/heads/main/static/icons/cc-0/Amino-Acids/B--Gideon-Bergheim/alanine_noH.svg
Amino-Acids https://raw.githubusercontent.com/duerrsimon/bioicons/refs/heads/main/static/icons/cc-0/Amino-Acids/B--Gideon-Bergheim/alanine.svg
Amino-Acids https://raw.githubusercontent.com/duerrsimon/bioicons/refs/heads/main/static/icons/cc-0/Amino-Acids/B--Gideon-Bergheim/amino_acid_back
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Research Paper Visualization</title>
<script src="https://d3js.org/d3.v7.min.js"></script>
<style>
body {
font-family: Arial, sans-serif;
import React, { useEffect, useRef, useState } from 'react';
import * as d3 from 'd3';
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card';
import { ChevronRight, ChevronDown } from 'lucide-react';
interface NodeData {
name: string;
type?: string;
details?: string;
children?: NodeData[];
#!/bin/bash
#A minimal shell script to split the bedgraph with H/M info into H and M bedgraghs
if [ $# -ne 1 ]; then
echo "Usage: $0 <input_file.tsv>"
exit 1
fi
#input file and two H/M files