Skip to main content

Implementation of ISA-tools data model and ISA-TAB

Project description

PyPI version codecov Install with Bioconda Continuous Integration Status Documentation Status DOI MIT License

AltamISA

AltamISA is an alternative implementation of ISA-tools data model and ISA-Tab file format.

also:

Ambrosia peruviana is a species of plant in the family Asteraceae. It occurs from Mexico south to Argentina, being common in the Antilles and the Andes.

In its native range, A. peruviana is used as a medicinal plant with analgesic, antiinflammatory, anthelmintic and antiseptic properties.

-- Ambrosia peruviana, Wikipedia

For the Impatient

$ pip install altamisa
## OR
$ conda install altamisa

What is ISA and ISA-Tab?

The ISA (Investigation-Study-Assay) defines a data model for describing life science experiments (specification). ISA-Tab defines a file format based on TSV (tab-separated values) for storing of ISA data in files. Shortly, experiments are encoded by DAGs (directed acyclic graphs) of samples being taken from sources (e.g., donor individuals) and then subjected to "operations" (e.g., extraction, assays, transformations) leading to different downstream "materials".

Why AltamISA?

Attempting to use the official isa-api Python package in early 2018 led to quite some frustration. Even the official ISA-tab examples parsed into non-expected graph structures. Attempting bug fixes to isa-api proofed difficult because of not having complete automated tests. Further, the scope of isa-api was much broader (including between ISA-Tab and other formats) such that we expected high maintenance costs (development had apparently stalled).

Quick Facts

  • Programming Language: Python 3 (with full type annotations)
  • License: MIT
  • Test Coverage: >90%
  • Documentation: see here
  • Code Style: black, 100 characters/line

History

v0.2.8

  • Mostly meta adjustments.

v0.2.7

  • Adding exception for duplicate node annotations

v0.2.6

  • Minor fixes regarding investigation file names and comments.

v0.2.5

  • Minor fixes of validation and warnings.
  • Fixes optional parameter filename of AssayReader.

v0.2.4

  • Ensuring that input order is output order. This is true except for the corner case where materials are not located in "blocks". Such corner cases would require storing the tabular representation (and keeping it in sync) at all times and does not yield to a robustly usable implementation. NB: the input is also not sorted the test adjusted with this patch shows.
  • Adding optional parameter filename to the various readers.
  • Exposing RefTableBuilder class with slightly changed interface.

v0.2.3

  • Minor fixes and additions with focus on improving the export.

v0.2.2

  • Updating documentation for JOSS.

v0.2.1

  • Adding JOSS paper draft.
  • Fixing problem with writing empty lines on Windows (#52).
  • Update documentation with examples for manual model creation.
  • Fixing authorship documentation.
  • Fixing package (#58).

v0.2.0

  • Switching to attrs instead of using Namedtuple. This gets rid of some warts regarding constructor overriding but should offer the same functionality otherwise.
  • Various updates to the documentation.

v0.1.0

First public release.

  • Started out with ISA-TAB parser and NamedTuple-based data model.

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

altamisa-0.3.0.tar.gz (574.4 kB view details)

Uploaded Source

File details

Details for the file altamisa-0.3.0.tar.gz.

File metadata

  • Download URL: altamisa-0.3.0.tar.gz
  • Upload date:
  • Size: 574.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for altamisa-0.3.0.tar.gz
Algorithm Hash digest
SHA256 d92eb1017b26b6feb4c376456a789e584a53d569010d6a71dbb4aa8dde62c7d9
MD5 73d3a25a731c86ecbdd112794de1de0c
BLAKE2b-256 f11126c1f34b49bf06605a0570157e704b947fd0fbda0a151e055b42e75ab316

See more details on using hashes here.

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