Skip to content

Instantly share code, notes, and snippets.

View parashardhapola's full-sized avatar
🧣

Parashar parashardhapola

🧣
View GitHub Profile
@parashardhapola
parashardhapola / quadFinder.py
Created August 10, 2016 12:27
Class for searching G-quadruplex motifs. (Part of QuadBase2 webserver)
import re
from itertools import groupby
import os
"""
MIT License
Copyright (c) [2016] [Parashar Dhapola]
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
@parashardhapola
parashardhapola / GeneImage.py
Last active May 10, 2024 15:23
A pure python code to draw gene diagrams with introns and exons and draw markers ('lollipops') at random positions on the gene
import matplotlib.pyplot as plt
"""
MIT License
Copyright (c) [2016] [Parashar Dhapola]
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
@parashardhapola
parashardhapola / chrom_vis.py
Created July 18, 2016 06:19
A class for creating annotated chromosome maps (akin to ideograms sans bands) in pure python. Not fully tested but works for me.
import numpy as np
import matplotlib as mpl
import matplotlib.pyplot as plt
import pandas as pd # Not used here but will be required for creating dataframe
import re
import seaborn.apionly as sns
"""
MIT License