biolabcalc 0.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- biolabcalc/__init__.py +285 -0
- biolabcalc/buffers.py +912 -0
- biolabcalc/cli.py +1161 -0
- biolabcalc/cloning.py +461 -0
- biolabcalc/easy.py +334 -0
- biolabcalc/ecoli_growth.py +228 -0
- biolabcalc/excel_extension.py +1048 -0
- biolabcalc/fluorescence.py +175 -0
- biolabcalc/gel_annotator.py +361 -0
- biolabcalc/gels.py +144 -0
- biolabcalc/interactive_gel.py +832 -0
- biolabcalc/lab_report.py +526 -0
- biolabcalc/molecular_weight.py +378 -0
- biolabcalc/pcr.py +310 -0
- biolabcalc/precipitation.py +214 -0
- biolabcalc/primers.py +343 -0
- biolabcalc/protein.py +266 -0
- biolabcalc/protocols.py +1311 -0
- biolabcalc/seq_utils.py +111 -0
- biolabcalc/spectroscopy.py +378 -0
- biolabcalc/transcription.py +602 -0
- biolabcalc/units.py +178 -0
- biolabcalc/western_blot.py +597 -0
- biolabcalc-0.2.0.dist-info/METADATA +610 -0
- biolabcalc-0.2.0.dist-info/RECORD +29 -0
- biolabcalc-0.2.0.dist-info/WHEEL +5 -0
- biolabcalc-0.2.0.dist-info/entry_points.txt +2 -0
- biolabcalc-0.2.0.dist-info/licenses/LICENSE +21 -0
- biolabcalc-0.2.0.dist-info/top_level.txt +1 -0
biolabcalc/__init__.py
ADDED
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
"""BioLabCalc: A multifaceted Python library and Excel extension for daily molecular biology research."""
|
|
2
|
+
|
|
3
|
+
__version__ = "0.2.0"
|
|
4
|
+
|
|
5
|
+
from .seq_utils import (
|
|
6
|
+
clean_sequence,
|
|
7
|
+
validate_sequence,
|
|
8
|
+
reverse_complement,
|
|
9
|
+
calculate_gc_content,
|
|
10
|
+
count_bases,
|
|
11
|
+
translate_dna,
|
|
12
|
+
)
|
|
13
|
+
|
|
14
|
+
from .molecular_weight import (
|
|
15
|
+
calculate_dna_mw,
|
|
16
|
+
calculate_rna_mw,
|
|
17
|
+
calculate_protein_mw,
|
|
18
|
+
mass_to_moles,
|
|
19
|
+
moles_to_mass,
|
|
20
|
+
mass_to_copy_number,
|
|
21
|
+
copy_number_to_mass,
|
|
22
|
+
concentration_to_molarity,
|
|
23
|
+
MolecularWeightResult,
|
|
24
|
+
)
|
|
25
|
+
|
|
26
|
+
from .transcription import (
|
|
27
|
+
calculate_ivt_yield,
|
|
28
|
+
optimize_transcription_time,
|
|
29
|
+
detect_and_trim_promoter,
|
|
30
|
+
evaluate_initiation_efficiency,
|
|
31
|
+
PROMOTER_SEQUENCES,
|
|
32
|
+
InitiationAnalysis,
|
|
33
|
+
IVTResult,
|
|
34
|
+
TranscriptionTimeOptimizationResult,
|
|
35
|
+
)
|
|
36
|
+
|
|
37
|
+
from .pcr import (
|
|
38
|
+
calculate_pcr_kinetics,
|
|
39
|
+
calculate_qpcr_efficiency,
|
|
40
|
+
build_master_mix,
|
|
41
|
+
optimize_pcr_protocol,
|
|
42
|
+
PCRResult,
|
|
43
|
+
MasterMixItem,
|
|
44
|
+
PCROptimizationResult,
|
|
45
|
+
)
|
|
46
|
+
|
|
47
|
+
from .protein import (
|
|
48
|
+
calculate_extinction_coefficient,
|
|
49
|
+
quantify_protein_a280,
|
|
50
|
+
fit_standard_curve,
|
|
51
|
+
ExtinctionCoefficientResult,
|
|
52
|
+
ProteinYieldResult,
|
|
53
|
+
StandardCurveResult,
|
|
54
|
+
)
|
|
55
|
+
|
|
56
|
+
from .primers import (
|
|
57
|
+
calculate_tm_santaluicia,
|
|
58
|
+
analyze_primer,
|
|
59
|
+
design_primers,
|
|
60
|
+
check_heterodimer,
|
|
61
|
+
PrimerAnalysis,
|
|
62
|
+
PrimerPair,
|
|
63
|
+
)
|
|
64
|
+
|
|
65
|
+
from .fluorescence import (
|
|
66
|
+
get_fluorophore,
|
|
67
|
+
apply_fluorophore_modification,
|
|
68
|
+
calculate_degree_of_labeling,
|
|
69
|
+
Fluorophore,
|
|
70
|
+
LabeledMoleculeResult,
|
|
71
|
+
DegreeOfLabelingResult,
|
|
72
|
+
FLUOROPHORE_DATABASE,
|
|
73
|
+
)
|
|
74
|
+
|
|
75
|
+
from .spectroscopy import (
|
|
76
|
+
prepare_standard_solution,
|
|
77
|
+
assess_nanodrop_purity,
|
|
78
|
+
SolutionRecipeResult,
|
|
79
|
+
NanoDropPurityResult,
|
|
80
|
+
)
|
|
81
|
+
|
|
82
|
+
from .gels import (
|
|
83
|
+
simulate_gel,
|
|
84
|
+
calculate_rf,
|
|
85
|
+
GelLaneSimulation,
|
|
86
|
+
GelBand,
|
|
87
|
+
LADDER_CATALOG,
|
|
88
|
+
)
|
|
89
|
+
|
|
90
|
+
from .ecoli_growth import (
|
|
91
|
+
calculate_ecoli_growth,
|
|
92
|
+
calculate_inoculation_volume,
|
|
93
|
+
estimate_plasmid_yield,
|
|
94
|
+
optimize_protein_induction,
|
|
95
|
+
EcoliGrowthResult,
|
|
96
|
+
PlasmidYieldResult,
|
|
97
|
+
ProteinInductionResult,
|
|
98
|
+
)
|
|
99
|
+
|
|
100
|
+
from .cloning import (
|
|
101
|
+
get_restriction_enzyme,
|
|
102
|
+
plan_restriction_digest,
|
|
103
|
+
calculate_ligation,
|
|
104
|
+
calculate_gibson_assembly,
|
|
105
|
+
calculate_golden_gate_assembly,
|
|
106
|
+
are_overhangs_compatible,
|
|
107
|
+
register_custom_enzyme,
|
|
108
|
+
ENZYME_DATABASE,
|
|
109
|
+
DigestSetupResult,
|
|
110
|
+
LigationSetupResult,
|
|
111
|
+
GibsonAssemblyResult,
|
|
112
|
+
GoldenGateResult,
|
|
113
|
+
)
|
|
114
|
+
|
|
115
|
+
from .buffers import (
|
|
116
|
+
calculate_buffer_recipe,
|
|
117
|
+
calculate_hepes_ivt_buffer,
|
|
118
|
+
calculate_tris_temperature_shift,
|
|
119
|
+
register_custom_buffer,
|
|
120
|
+
create_custom_buffer,
|
|
121
|
+
save_custom_buffer_to_disk,
|
|
122
|
+
load_custom_buffers_from_disk,
|
|
123
|
+
list_custom_buffers,
|
|
124
|
+
delete_custom_buffer,
|
|
125
|
+
CustomBufferBuilder,
|
|
126
|
+
CustomBufferComponent,
|
|
127
|
+
BUFFER_CATALOG,
|
|
128
|
+
BufferRecipeResult,
|
|
129
|
+
BufferComponent,
|
|
130
|
+
calculate_ntp_ph_adjustment,
|
|
131
|
+
NTPNeutralizationResult,
|
|
132
|
+
HepesIVTBufferResult,
|
|
133
|
+
)
|
|
134
|
+
|
|
135
|
+
from .lab_report import (
|
|
136
|
+
LabReport,
|
|
137
|
+
MeasurementRecord,
|
|
138
|
+
ParameterStatistics,
|
|
139
|
+
new_lab_report,
|
|
140
|
+
get_active_report,
|
|
141
|
+
record_measurement,
|
|
142
|
+
)
|
|
143
|
+
|
|
144
|
+
from .western_blot import (
|
|
145
|
+
plan_western_blot,
|
|
146
|
+
calculate_transfer_conditions,
|
|
147
|
+
calculate_lysate_loading,
|
|
148
|
+
calculate_antibody_dilution,
|
|
149
|
+
troubleshoot_western_blot,
|
|
150
|
+
WesternBlotPlanResult,
|
|
151
|
+
TransferConditionsResult,
|
|
152
|
+
LysateLoadingResult,
|
|
153
|
+
AntibodyDilutionResult,
|
|
154
|
+
WesternTroubleshootingResult,
|
|
155
|
+
TROUBLESHOOTING_DATABASE,
|
|
156
|
+
)
|
|
157
|
+
|
|
158
|
+
from .protocols import (
|
|
159
|
+
PROTOCOL_CATALOG,
|
|
160
|
+
LabProtocol,
|
|
161
|
+
ProtocolStep,
|
|
162
|
+
ProtocolReagent,
|
|
163
|
+
TroubleshootingItem,
|
|
164
|
+
get_protocol,
|
|
165
|
+
list_protocols,
|
|
166
|
+
format_protocol_markdown,
|
|
167
|
+
export_all_protocols_markdown,
|
|
168
|
+
)
|
|
169
|
+
|
|
170
|
+
from .precipitation import (
|
|
171
|
+
calculate_precipitation,
|
|
172
|
+
calculate_phenol_chloroform_extraction,
|
|
173
|
+
PrecipitationProtocol,
|
|
174
|
+
PhenolChloroformProtocol,
|
|
175
|
+
)
|
|
176
|
+
|
|
177
|
+
from .interactive_gel import (
|
|
178
|
+
get_interactive_html,
|
|
179
|
+
save_interactive_app,
|
|
180
|
+
calculate_ladder_standard_curve,
|
|
181
|
+
estimate_band_mw,
|
|
182
|
+
launch_interactive_annotator,
|
|
183
|
+
)
|
|
184
|
+
|
|
185
|
+
from .gel_annotator import (
|
|
186
|
+
GelAnnotator,
|
|
187
|
+
)
|
|
188
|
+
|
|
189
|
+
from .excel_extension import (
|
|
190
|
+
batch_process_excel,
|
|
191
|
+
generate_lab_notebook_template,
|
|
192
|
+
export_analysis_to_excel,
|
|
193
|
+
)
|
|
194
|
+
|
|
195
|
+
__all__ = [
|
|
196
|
+
"clean_sequence",
|
|
197
|
+
"validate_sequence",
|
|
198
|
+
"reverse_complement",
|
|
199
|
+
"calculate_gc_content",
|
|
200
|
+
"count_bases",
|
|
201
|
+
"translate_dna",
|
|
202
|
+
"calculate_dna_mw",
|
|
203
|
+
"calculate_rna_mw",
|
|
204
|
+
"calculate_protein_mw",
|
|
205
|
+
"mass_to_moles",
|
|
206
|
+
"moles_to_mass",
|
|
207
|
+
"mass_to_copy_number",
|
|
208
|
+
"copy_number_to_mass",
|
|
209
|
+
"concentration_to_molarity",
|
|
210
|
+
"MolecularWeightResult",
|
|
211
|
+
"calculate_ivt_yield",
|
|
212
|
+
"IVTResult",
|
|
213
|
+
"calculate_pcr_kinetics",
|
|
214
|
+
"calculate_qpcr_efficiency",
|
|
215
|
+
"build_master_mix",
|
|
216
|
+
"optimize_pcr_protocol",
|
|
217
|
+
"PCRResult",
|
|
218
|
+
"MasterMixItem",
|
|
219
|
+
"PCROptimizationResult",
|
|
220
|
+
"calculate_extinction_coefficient",
|
|
221
|
+
"quantify_protein_a280",
|
|
222
|
+
"fit_standard_curve",
|
|
223
|
+
"ExtinctionCoefficientResult",
|
|
224
|
+
"ProteinYieldResult",
|
|
225
|
+
"StandardCurveResult",
|
|
226
|
+
"calculate_tm_santaluicia",
|
|
227
|
+
"analyze_primer",
|
|
228
|
+
"design_primers",
|
|
229
|
+
"PrimerAnalysis",
|
|
230
|
+
"PrimerPair",
|
|
231
|
+
"get_fluorophore",
|
|
232
|
+
"apply_fluorophore_modification",
|
|
233
|
+
"calculate_degree_of_labeling",
|
|
234
|
+
"Fluorophore",
|
|
235
|
+
"LabeledMoleculeResult",
|
|
236
|
+
"DegreeOfLabelingResult",
|
|
237
|
+
"FLUOROPHORE_DATABASE",
|
|
238
|
+
"prepare_standard_solution",
|
|
239
|
+
"SolutionRecipeResult",
|
|
240
|
+
"simulate_gel",
|
|
241
|
+
"calculate_rf",
|
|
242
|
+
"GelLaneSimulation",
|
|
243
|
+
"GelBand",
|
|
244
|
+
"LADDER_CATALOG",
|
|
245
|
+
"calculate_ecoli_growth",
|
|
246
|
+
"estimate_plasmid_yield",
|
|
247
|
+
"optimize_protein_induction",
|
|
248
|
+
"EcoliGrowthResult",
|
|
249
|
+
"PlasmidYieldResult",
|
|
250
|
+
"ProteinInductionResult",
|
|
251
|
+
"generate_lab_notebook_template",
|
|
252
|
+
"batch_process_excel",
|
|
253
|
+
"get_restriction_enzyme",
|
|
254
|
+
"plan_restriction_digest",
|
|
255
|
+
"calculate_ligation",
|
|
256
|
+
"calculate_gibson_assembly",
|
|
257
|
+
"ENZYME_DATABASE",
|
|
258
|
+
"DigestSetupResult",
|
|
259
|
+
"LigationSetupResult",
|
|
260
|
+
"GibsonAssemblyResult",
|
|
261
|
+
"calculate_buffer_recipe",
|
|
262
|
+
"calculate_ntp_ph_adjustment",
|
|
263
|
+
"NTPNeutralizationResult",
|
|
264
|
+
"BUFFER_CATALOG",
|
|
265
|
+
"PROTOCOL_CATALOG",
|
|
266
|
+
"LabProtocol",
|
|
267
|
+
"ProtocolStep",
|
|
268
|
+
"ProtocolReagent",
|
|
269
|
+
"TroubleshootingItem",
|
|
270
|
+
"get_protocol",
|
|
271
|
+
"list_protocols",
|
|
272
|
+
"format_protocol_markdown",
|
|
273
|
+
"export_all_protocols_markdown",
|
|
274
|
+
"BufferRecipeResult",
|
|
275
|
+
"BufferComponent",
|
|
276
|
+
"calculate_precipitation",
|
|
277
|
+
"PrecipitationProtocol",
|
|
278
|
+
"export_analysis_to_excel",
|
|
279
|
+
"GelAnnotator",
|
|
280
|
+
"get_interactive_html",
|
|
281
|
+
"save_interactive_app",
|
|
282
|
+
"calculate_ladder_standard_curve",
|
|
283
|
+
"estimate_band_mw",
|
|
284
|
+
"launch_interactive_annotator",
|
|
285
|
+
]
|