Python
Animate a rotating protein from the Protein Data Bank
·870 words·5 mins
Let’s make an animated gif of a rotating protein from PDB. This animation shows a human HLA-TCR complex (6py2).
You’re looking at two human proteins:
The HLA protein …
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 …