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.0.3.tar.gz (9.2 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.0.3-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: seqalign-0.0.3.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

File hashes

Hashes for seqalign-0.0.3.tar.gz
Algorithm Hash digest
SHA256 61093a38adf18e014e5704775c52e03454a455f64318046a9f879a75db1ecbee
MD5 c645d085898f70a4087cc537a605477c
BLAKE2b-256 10d0025cb6132c505fd7a99cbd7bef0b0d40ac07bce8ba59b7faff03846210dd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: seqalign-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

File hashes

Hashes for seqalign-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 bb0a85a79ca6f422d66cfee027f0e4af394e0c3bb596341e99cb794b282ac9cf
MD5 062335738e15c00472bbb335f1ec1d99
BLAKE2b-256 47a49d43646ade28fed1cc84eaf6c1206472fdda2d71b16e2caa03fc0e12ce7a

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