Skip to content

Latest commit

 

History

History
39 lines (21 loc) · 519 Bytes

File metadata and controls

39 lines (21 loc) · 519 Bytes

python_common

python_common contains a single script, common.py, with a number of python functions I find useful.
There are no dependencies outside the python3.6 or greater standard lib.

Functions by category are as follows, see the source for documentation:

-Stats and Math

weighted_sampler

choose

sampler

rank

order

-Bioinformatics

revcom

get_fasta

print_fasta

get_fasta_buffer

-Misc

get_file

count_all

pairwise

sort_dict_by_val

rank_list