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.0.tar.gz (10.7 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.0-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: seqalign-0.1.0.tar.gz
  • Upload date:
  • Size: 10.7 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.0.tar.gz
Algorithm Hash digest
SHA256 3f8897aa3f7056c3de8d67b3d7ac9110a07f4b79ab0fa65d4c7cccc4e1f1f0dd
MD5 90539c16fe7d6993b10ea868d613b9ef
BLAKE2b-256 3672299e687e302bcaaf289efb59602b99f798c917232ce42c27c34a1288a6bb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: seqalign-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.0 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cc729c2e7f0c439304df414dd3aa70b2ccaf5307fca3b68e0a92d3dea40309ae
MD5 833d3f689cead66d3ecd93aaa3add8cf
BLAKE2b-256 a32dc0a75326375745d4ee7626707f92f260cfc5f42c9aefeb7ab8ce312111a2

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