Python
Animate a rotating protein from the Protein Data Bank
·870 words·5 mins
Make an animated gif of a rotating protein structure from the Protein Data Bank, here a human HLA-TCR complex (6py2).
Join multiple PLINK dosage files into one file
·179 words·1 min
If you have multiple PLINK dosage files and would like to merge them into one file, this script might save you some time.
Count the number of coding base pairs in each Gencode gene
·226 words·2 mins
We can use Python to count the coding base pairs in each Gencode gene. Here, we report the base pair count by gene rather than by transcript. When we encounter different …