Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Manage sequence alignments

Project description

seqalign

Manage sequence alignments

Installation

pip3 install seqalign

or

pip3 install --user seqalign

Examples

with SequenceAlignment(<path to input BAM or FASTQ file>) as sa:
    sa.cleans_up_bam = False
    sa.remove_supplementary_alignments()
    sa.samtools_sort(memory_limit=10)
    sa.samtools_index()
    sa.write(<path to output BAM file>)

Notes

The input_file argument to SequenceAlignment() should be a string for single-end reads or for data that is already aligned. For raw paired-end reads, it should be a tuple containing two strings giving the paths to the two FASTA / FASTQ files.

Project details


Release history Release notifications

This version

0.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for seqalign, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size seqalign-0.0.1-py3-none-any.whl (10.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size seqalign-0.0.1.tar.gz (9.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page