Bioinformatics Biopython Python Sequence Search For Motifs With Degenerate Positions February 25, 2024 Post a Comment I have a 15-mer nucleotide motif that uses degenerate nucleotide sequences. Example: ATNTTRTCNGGHGC… Read more Search For Motifs With Degenerate Positions
Python Sequence Set Timing Unpack Why Is `{*l}` Faster Than `set(l)` - Python Sets (not Really Only For Sets, For All Sequences) July 30, 2023 Post a Comment So here is my timings: >>> import timeit >>> timeit.timeit(lambda: set(l)) 0.7210… Read more Why Is `{*l}` Faster Than `set(l)` - Python Sets (not Really Only For Sets, For All Sequences)