Skip to main content

normalize, verify, and select genomic data

Project description

bionorm normalizes and validates genomic data files prior to further processing or inclusion in a data store such as that of the Legume Federation.

Prerequisites

Python 3.6 or greater is required. This package is tested under Linux and MacOS using Python 3.7.

Installation for Users

Install via pip or (better yet) pipx:

pipx install bionorm

bionorm contains some long commands and many options. To enable command-line completion for bionorm commands, execute the following command if you are using bash as your shell:

eval "$(_BIONORM_COMPLETE=source_bash bionorm)"

For Developers

If you plan to develop bionorm, you’ll need to install the poetry dependency manager. If you haven’t previously installed poetry, execute the command:

curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python

Next, get the master branch from GitHub

git clone https://github.com/legumeinfo/bionorm.git

Change to the bionorm/ directory and install with poetry:

poetry install -v

Run bionorm with poetry:

poetry run bionorm

Usage

Installation puts a single script called bionorm in your path. The usage format is:

bionorm [GLOBALOPTIONS] COMMAND [COMMANDOPTIONS][ARGS]

Global Options

The following options are global in scope and, if used, must be placed before COMMAND. Not all commands support every global option:

-v, –verbose

Log debugging info to stderr.

-q, –quiet

Suppress logging to stderr.

–no-logfile

Suppress logging to file.

-e, –warnings_as_errors

Treat warnings as fatal (for testing).

Commands

A listing of commands is available via bionorm --help. The currently implemented commands are:

prefix_fasta

Prefix FASTA files for data store standard.

prefix_gff

Prefix and sort GFF3 file for data store standard.

busco

Perform BUSCO checks.

detector

Detect/correct incongruencies among files.

fasta

Check for GFF/FASTA consistency.

generate_readme

Generates a README file with details of genome.

index

Indexes FASTA file.

Each command has its COMMANDOPTIONS, which may be listed with:

bionorm COMMAND --help

Project Status

Latest Release

Python package

Make me NORMAL, please!

GitHub

GitHub repository

License

License terms

Travis Build

Travis CI

Coverage

Codecov.io test coverage

Code Grade

Codacy.io grade

Dependencies

dependabot dependencies

Pre-commit

pre-commit

Issues

Issues reported

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

bionorm-0.7.11.tar.gz (33.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bionorm-0.7.11-py3-none-any.whl (37.4 kB view details)

Uploaded Python 3

File details

Details for the file bionorm-0.7.11.tar.gz.

File metadata

  • Download URL: bionorm-0.7.11.tar.gz
  • Upload date:
  • Size: 33.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.7.0 FreeBSD/11.4-RELEASE

File hashes

Hashes for bionorm-0.7.11.tar.gz
Algorithm Hash digest
SHA256 22976c0e0548f9d6e34ef17c4a7099222549c162b76ce5bcec9c36a4d922f80a
MD5 0fb13e10e66fd277ccaddef6048a926b
BLAKE2b-256 77fecba92c5739e8659b7777ef06bafc267afbb693a07b2ad4e8c785721bb82f

See more details on using hashes here.

File details

Details for the file bionorm-0.7.11-py3-none-any.whl.

File metadata

  • Download URL: bionorm-0.7.11-py3-none-any.whl
  • Upload date:
  • Size: 37.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.7.0 FreeBSD/11.4-RELEASE

File hashes

Hashes for bionorm-0.7.11-py3-none-any.whl
Algorithm Hash digest
SHA256 f3f051b864f8ac2ca4ea5a6141ddaf5539a49096f41816070e8565757222c700
MD5 d14ce6e9462d8f5053b67af162034603
BLAKE2b-256 5246c9923a60a37f6dfcbf5d72d7307ad9d74d1343059d60236bd67a82a18b9d

See more details on using hashes here.

Supported by

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