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
seqalign-0.1.11.tar.gz
(11.6 kB
view hashes)
Built Distribution
seqalign-0.1.11-py3-none-any.whl
(14.2 kB
view hashes)
Close
Hashes for seqalign-0.1.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78cdf785ab1b0e8b3386e68c87f3bebe67dcadb380d70e873747b8d52a40d7cf |
|
MD5 | a14f58d09441d17d45ce7abeccb1559b |
|
BLAKE2b-256 | b0fae23d8de6466541ceae41521300086f52fe0168a66a16143e3f7f3b1dc575 |