A Python ABIF reader
Project description
A Python ABIF (Applied Biosystems Genetic Analysis Data File Format) reader, based on 07/2006 specification.
ABIF is a directory of items, where every item is identified by unique tag and number.
Interface
ABIF is a class with attributes corresponding to name/number items:
>>> from pyabif import ABIF >>> abif = ABIF('abif.fsa') >>> abif.User1 joe >>> abif.DATA1 ...
…, or for 1 numbered items this also works:
>>> abif.DATA ...
For items described in 07/2006 specification, there is available description:
>>> help(ABIF.DATA) Help on property: Channel 1 raw data
…, or:
>>> abif.describe('DATA') 'Channel 1 raw data'
Console script
pyABIF can be used as a console script:
$ pyabif abif.fsa
Converted to txt
$ ls abif
abif.fsa
abif.fsa.csv.zip
For usage help:
$ pyabif --help
Usage: pyabif [OPTIONS] [PATTERNS]...
Converts PATTERNS from ABIF to txt format
PATTERNS are glob filenames of ABIF files to convert.
Options:
-f, --force Force conversion even if resulting file
already exists [default: False]
-b, --batch Combine data files in batches [default:
False]
-d, --digits INTEGER Number of digits for migration times
[default: 3]
-u, --migration-units [seconds|minutes]
Migration units [default: minutes]
--help Show this message and exit.
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
pyabif-0.3.0.tar.gz
(571.4 kB
view details)
File details
Details for the file pyabif-0.3.0.tar.gz
.
File metadata
- Download URL: pyabif-0.3.0.tar.gz
- Upload date:
- Size: 571.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d24cb1c624cfde9cc808b895feb5f6adaa1c9b094d13b9099f0724e37ec21703 |
|
MD5 | 76cd4a33cbe9eb3610945b7da9708134 |
|
BLAKE2b-256 | d5b9ac350048024a10ca4b61f38c69d0df29662bc3c2854524e388ac2a5444c0 |