An tool to open tbwk files generated by NanoDrop 2000
Project description
tbwk-opener
A python package to open and read tbwk files generated from the NanoDrop 2000 software.
Testing:
Features
This library has so far only been tested with Nucleic Acid worksheets.
- Can import tbwk files to read measurements contained within the file
- Successfully reads y- and x-values of a recorded spectrum
- Also reports on tabled data contained in the worksheet (such as A260 for nucleic acids, or direct nucleic concentration as chosen by the method)
A protein worksheet (no example provided) showed similar behaviour and should work without any issues.
Installation
Make sure you've installed numpy and scipy before attempting to install tbwk-opener from pip, then use:
pip install tbwk-opener
Usage
Get all measurements from a worksheet and report on concentration using the absorption at 260 nm:
from tbwk import Worksheet
worksheet = Worksheet.import_worksheet("examples/nanodrop-dna-measurements-01.twbk")
factor = (2.05 + 2.30)/2 # μM per absorption unit
for measurement in worksheet:
print(f"{measurement.title:20}{measurement.get_absorption_at(260)*factor:.2f} μM")
wash 0.18 μM
blank 0.02 μM
BSD01 61.47 μM
BSD01 61.11 μM
BSD01 cntl A1 37.87 μM
wash 0.57 μM
BSD01 cntl A2 33.94 μM
wash 0.27 μM
BSD01 cntl A3 44.39 μM
BSD01 cntl A3 0.35 μM
BSD01 cntl A4 40.00 μM
wash 0.05 μM
wash 0.02 μM
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tbwk-opener-0.1.1.tar.gz
(10.2 kB
view details)
Built Distribution
File details
Details for the file tbwk-opener-0.1.1.tar.gz
.
File metadata
- Download URL: tbwk-opener-0.1.1.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8643c420a68492281ea6e5751e4dc4301a68f11aba9f41696f6b5960c11608c8 |
|
MD5 | 3c74490abcea515e25708e2e3b23cf7f |
|
BLAKE2b-256 | 154c76c377d2987c3cf694d3adf633be2894756cf8d98ec9a1872075774475f8 |
File details
Details for the file tbwk_opener-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: tbwk_opener-0.1.1-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6813483a318b7983f103c41089413b772d3652203be2b8edf8645b308ded61d |
|
MD5 | 248663489ef085ac77fcedd34632b2f9 |
|
BLAKE2b-256 | e5b1bf98086ba2fa593d53cf2cbfe700dee09aa76e6a40015c5ce3fa7d09dcac |