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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file seqalign-0.0.2.tar.gz.
File metadata
- Download URL: seqalign-0.0.2.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d53667b835ac66602c00d7717160efeef5504331a0f99eb7999b51271a42d764
|
|
| MD5 |
fcf71f1e845c4c5ee5106f1f84ba211d
|
|
| BLAKE2b-256 |
cc0a3049bf35dcbe9899fbd9d44a91dfc89b12903525b950c95ff29b4bc58e7b
|
File details
Details for the file seqalign-0.0.2-py3-none-any.whl.
File metadata
- Download URL: seqalign-0.0.2-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c5ab63d68ef427b76ba1fa430d9c4d344a2eeb297adc93a96fc95458e935b50
|
|
| MD5 |
c51815b00b065e41904f763b495d58fb
|
|
| BLAKE2b-256 |
1d4be110c3ee35de20e37c8f36f2ead1321e6c0c5287b53dd0295072a7dbd6d8
|