Skip to main content

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: Python application

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


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 hashes)

Uploaded Source

Built Distribution

tbwk_opener-0.1.1-py3-none-any.whl (9.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page