Skip to main content

Incenp.Bioutils - Incenp.org’s utilities for computational biology

Incenp.Bioutils is a set of command line utilities and helper Python modules to deal with some computational biology tasks.

Utilities

SeqTool

SeqTool is intended as a “Swiss Army knife” to perform various operations on biological sequence files.

Among other things, it provides wrappers for the blast and dotter alignment tools; the main interest of those wrappers is that they can be used with sequences in any format supported by Biopython’s SeqIO module, whereas the original tools only read files in the FASTA format.

SeqVault

SeqVault is a command-line interface to BioSQL databases.

SeqVault is intended to be used with a slightly modified version of the BioSQL database schema (provided in the biosql directory), where every biodatabase is associated with a 3-letters prefix. That prefix is then used to automatically assign accession numbers (of the form PRE_xxxxxx where PRE is the prefix) when importing sequences into the database. However SeqVault can also be used with pristine BioSQL databases.

Quickstart (example with PostgreSQL)

Create a new PostgreSQL user account and a new database::

# createuser <username>
# createdb -O owner <username> <dbname>

Initialize the newly created database by running the provided biosql/biosqldb-pg.sql script::

$ psql -h localhost -U <username> <dbname> < biosql/biosqldb-pg.sql

Next, create a plaintext file in $XDG_CONFIG_HOME/bioutils/databases.ini and fill it as follows::

[Server]
host: localhost
user: <username>
password: <PostgreSQL user password>
database: <dbname>

SeqVault is now ready to be used.

cc3d-runner

CC3d-Runner is a small wrapper around the command-line interface of CompuCell3D, to run headless simulations.

Helper modules

The main helper module is the incenp.bio.seq.usa module, which provides an implementation of the Uniform Sequence Address format .

A Uniform Sequence Address or USA is a way to refer to a biological sequence and to fetch that sequence from its source.

The following example shows how to read a sequence specified by a USA::

from incenp.bio.seq import usa

records = usa.read_usa('genbank::file.gb:acc:X65923')

The returned records object is an array of Bio.SeqRecord.SeqRecord objects.

Prerequisites

The following Python packages are necessary:

ReportLab is required to run the plasmm subcommand of the seqtool utility.

The seqvault utility requires a SQL adapter for the database server you plan to use it with, such as psycopg2 for PostgreSQL.

Copying

Incenp.Bioutils is distributed under the terms of the GNU General Public License, version 3 or higher. The full license is included in the COPYING file of the source distribution.

Homepage and repository

The project is located at https://incenp.org/dvlpt/bioutils.html. The source code is available in a Git repository at https://git.incenp.org/damien/bioutils.

Release files for incenp.bioutils 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for incenp.bioutils 0.2.0
File Size Uploaded
incenp.bioutils-0.2.0.tar.gz 84.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for incenp.bioutils 0.2.0
File Interpreter ABI Platform
incenp.bioutils-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 127.7 kB

Release files / incenp.bioutils-0.2.0.tar.gz

Download URL incenp.bioutils-0.2.0.tar.gz
Size 84.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5aaa019214d55703f2db89e915a8de8509ebf3f06273b452ea4c44040892b1b3
BLAKE2b-256 checksum
How to use checksums
ada1db58d84f3020f3ff2a312c8065596d43275c2345a8c5b7ceb490f919fa78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

Release files / incenp.bioutils-0.2.0-py3-none-any.whl

Download URL incenp.bioutils-0.2.0-py3-none-any.whl
Size 43.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
35bd352e71b3903521f9a9e53a9fc36f2c689b38c6317dfe1203c929ed256696
BLAKE2b-256 checksum
How to use checksums
73a2069e35b2e55d00e4115b7b5500166cea66b9d71aacdd75b490de36615b44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page