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 details)

Uploaded Source

Built Distribution

bseq-1.0.1-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file bseq-1.0.1.tar.gz.

File metadata

  • Download URL: bseq-1.0.1.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for bseq-1.0.1.tar.gz
Algorithm Hash digest
SHA256 54d96bccb05aa0190ab2a21129e7cacb60b52a0c9be54da264d2529486c004a0
MD5 18a342eecf7275bcdc2d5d6683c08fd9
BLAKE2b-256 2d948c86223038f2c857e32656701fab59dc3ffecced6cfb41cdf520daacbfe6

See more details on using hashes here.

File details

Details for the file bseq-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: bseq-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 16.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for bseq-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8f71631fd6f6541b87f7e5c1361b66a3049f582ac672351cf19e9a1f9fd414f2
MD5 ab214d70fe9fcd4247ef5ac2482fde01
BLAKE2b-256 5f525a9a6de9feba51be9049ccf174d835621cb651b1b7a947cbc90bbc84027d

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