Skip to main content

Python package for handling biological sequences and alignments

Project description

bseq

Python package for handling biological sequences and alignments

Quickstart

Install bseq

pip install bseq

Nucleotide sequence into FASTA format

from bseq.sequence import NuclSequence
seq = NuclSequence('test_seq_name', 'GATTACA', description='Test nucleotide sequence')
print(seq.fasta_format())

Import alignment from file

from bseq.reader import read_fasta_alignment
aln = read_fasta_alignment('/Users/Me/Downloads/seq.aln.fasta', 
                           seq_type='nucleotide', name='test_alignment', 
                           description='Test alignment for bseq')

Overview

bseq helps biologists import and manipulate biological sequences such as nucleotides, amino acids, and codons. Unlike other bioinformatics packages in Python, bseq solely focuses on analyzing and manipulating sequences and alignments.

Dependencies

bseq uses numpy for many alignment operations, and nose to test its source code. When using pip to install bseq, pip will automatically install numpy and nose.

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

bseq-1.0.1.tar.gz (10.1 kB view hashes)

Uploaded Source

Built Distribution

bseq-1.0.1-py3-none-any.whl (16.6 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