Skip to content

Instantly share code, notes, and snippets.

View nsarode's full-sized avatar

Neha Sarode nsarode

  • Harvard University
  • Cambridge, MA
View GitHub Profile
@nsarode
nsarode / gist:d4b39222f1b1f483168188babefbe225
Created March 7, 2018 19:38 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@nsarode
nsarode / DatabaseSizeSummary.py
Created April 10, 2018 18:59 — forked from pfdevmuller/DatabaseSizeSummary.py
Python script to output the number of tables, columns and rows in a SQLite database
# <author>Pieter Muller</author>
# <date>2012-11-14</date>
import sys
import sqlite3 as sqlite
tablesToIgnore = ["sqlite_sequence"]
outputFilename = None
@nsarode
nsarode / extract_fastq_bam.md
Created July 9, 2019 18:22 — forked from darencard/extract_fastq_bam.md
Extract paired FASTQ reads from a BAM mapping file

Extracting paired FASTQ read data from a BAM mapping file

Sometimes FASTQ data is aligned to a reference and stored as a BAM file, instead of the normal FASTQ read files. This is okay, because it is possible to recreate raw FASTQ files based on the BAM file. The following outlines this process. The useful software samtools and bedtools are both required.

From each bam, we need to extract:

  1. reads that mapped properly as pairs
  2. reads that didn’t map properly as pairs (both didn’t map, or one didn’t map)

For #1, the following command will work. This was taken from this webpage.

@nsarode
nsarode / graph_gist_template.adoc
Created July 16, 2019 13:54 — forked from jexp/graph_gist_template.adoc
CHANGEME: GraphGist Template. Fork to make your own, view source to see instruction comments

REPLACEME: TITLE OF YOUR GRAPHGIST

Introduction