Honeybees and missing data part 3: Ant search optimisation

Earlier in the year I had to reset the observation hive and sadly that process resulted in the death of a fair few bees who ended up on the ground. Now, I knew that there were large carnivorous bull ants in the area and I completely expected them to clear away the bodies within a …

Read More
Find sequence descriptions with BioPython

Image you have a lot of nucleotide sequence identifiers and want to find out what organism the DNA is from. You could go to the NCBI website and spend a long time finding out, or you could write a short Python script using BioPython to find out the headers from each fasta file the identifier …

Read More
Python Regular Expressions

Before today, the only real use I’d had for regular expressions in Python was to just find the first instance of a pattern. For example, if I want to find the contents of the text between the first set of single quotation marks (in this case ‘26245730’), I would proceed like so: The arguments passed …

Read More