raikens1 / mutation_rate

Code and raw data files for my work on private polymorphism differences between populations.
2 stars 2 forks source link

Make a really cool script that everyone loves #9

Open raikens1 opened 7 years ago

raikens1 commented 7 years ago

Want to write a simple script that I can circulate that is user-friendly and well-documented so that anyone can do sequence context analysis.

\Throwing flowers

raikens1 commented 7 years ago

The python function in helper_code/get_context.py is not bad. Given a chromosome and position, it can look the context and return it as a string. It's cleaner than Varun's original and runs at about 4 times the speed when I tested it last. Some improvements could be made, always: