bio-aid
Package containing tools for genetic and genomic analysis in python in the Malkova Lab.
Includes a collection of functions from my other repositories for easier development of new projects
Installation
The latest release of the bio-aid package can be installed through pip (https://pypi.org/project/bio-aid/) by using the following command:
pip install --upgrade bio-aid
bio-aid currently consists of a base module and three sub modules: deepSeqInsH, MMBSearchTK, varaintTK.
To easily import and access the functions inside of the bio-aid package, include the following in your python scripts:
import BioAid as ba
Diluter
This simple program calculates volumes for serial dilutions of yeast cultures, that can subsequently be used for colony plating. To access diluter, in python type:
ba.dilute()
and follow instructions on the prompt.
PopDub
Utillity for finding population doublings for the Telomere project.
To get results you will need to adjust initial and final population densities:
-
set
initial_populationto the cell count on the beginning of your experiment used as inoculum. -
set
final_population_mlto the /ml cell count at the time you want to measure population doublings. -
set
final_culture_volumeto the volume of your final culture.
Finally, run the function:
ba.calculatePopulationDoublings(initial_population, final_population_ml, final_culture_volume)
RepeatSearch
This tool allows for search of imperfect repeats (Inverted and Direct) in a DNA sequence. Diagram explaining the parameters can be found in the stand-alone repo here
# Set RepeatSearch parameters
sequence="ACGT" # This is your nucleotide sequence to be searched for repeats
inverted=True # Sets search to Inverted (True) vs Direct (False) repeats
min_query_length=5 # Sets min length of a query sequence
max_query_length=30 # Sets max length of a query sequence
min_spacer=0 # Set min distance between query and the repeat
window_size=804 # Sets window size within which the search is confined
imperfect_homology=True # Set True/False, to search for imperfect/perfect homologies.
min_homology=0.8 # Sets minimum homology treshold (a fraction) when imperfect_homology=True,
fixed_errors=1 # Sets maximum number of errors (del/sub) when imperfect_homology=True (set to False or to an integer)
# To run the Search execute the following:
results_dictionary = ba.searchSequenceForRepeats(
sequence=sequence,
min_query_length=min_query_length,
max_query_length=max_query_length,
min_spacer=min_spacer,
window_size=window_size,
imperfect_homology=imperfect_homology,
min_homology=min_homology,
fixed_errors=fixed_errors,
inverted=inverted)
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file bio_aid-0.3.2.tar.gz.
File metadata
- Download URL: bio_aid-0.3.2.tar.gz
- Upload date:
- Size: 21.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1d6ea428b0c7ed466728602a08d15415fb1d1fff62b935b6ded610912cc4b68
|
|
| MD5 |
588e9eeda56ef20f6dc4fc28debac8b0
|
|
| BLAKE2b-256 |
519dc105cbfa83ff2fce63799d9c423c1fcba9c3ac7c3e1cecb9d1c146b3f854
|