Skip to content Skip to sidebar Skip to footer
Showing posts with the label Bioinformatics

What Causes Python Error 'bad Escape \c'?

I just wrote a function that will look at a text file and count all of the instances of True and Fa… Read more What Causes Python Error 'bad Escape \c'?

Sort Fasta By Sequence Size

I currently want to sort a hudge fasta file (+10**8 lines and sequences) by sequence size. fasta is… Read more Sort Fasta By Sequence Size

Finding Matching Keys In Two Large Dictionaries And Doing It Fast

I am trying to find corresponding keys in two different dictionaries. Each has about 600k entries.… Read more Finding Matching Keys In Two Large Dictionaries And Doing It Fast

Using Regex To Search Until Desired Pattern

I am using the following regex: orfre = '^(?:...)*?((ATG)(...){%d,}?(?=(TAG|TAA|TGA)))' % (… Read more Using Regex To Search Until Desired Pattern

Using The Reserved Word "class" As Field Name In Django And Django Rest Framework

Description of the problem Taxonomy is the science of defining and naming groups of biological orga… Read more Using The Reserved Word "class" As Field Name In Django And Django Rest Framework