Skip to main content

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


Download files

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

Source Distribution

seqalign-0.1.4.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

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

seqalign-0.1.4-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

Details for the file seqalign-0.1.4.tar.gz.

File metadata

  • Download URL: seqalign-0.1.4.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for seqalign-0.1.4.tar.gz
Algorithm Hash digest
SHA256 868293fa4e3b9bf03876f2c66a4af64e0198989a71b05e9d8605e3220532eeb5
MD5 721a23b9e812912ca6caa0d1f443f8ff
BLAKE2b-256 0f0cdfd19a4ad1a7eb964010086e6d38ad81bd4eb8f32e7fe427621aae63d177

See more details on using hashes here.

File details

Details for the file seqalign-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: seqalign-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 13.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for seqalign-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b05a174d758579e73700d171095f2c468ef76c66b01dfe5ac8a913c8fcea7fbb
MD5 ecd6216b9f66cda31d3b511ec125e305
BLAKE2b-256 912f91d40d2976b9c29b5dad2d50c4ca9bfa1cf72bb795a7abd03f030bdc7195

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