Manage sequence alignments
Project description
seqalign
Manage sequence alignments
Installation
pip install seqalign
or
pip install --user seqalign
If you have not already installed picardtools, you will also need to run:
picardtools-download
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.
Command line usage
seqalign
includes a couple of pre-built pipelines for aligning ChIP-seq and ATAC-seq data.
They rely on certain environment variables being set, as described here
To see the basic command line documentation, simply enter seqalign
at the terminal:
seqalign
There are two commands for aligning sequencing data:
`seqalign-chip-seq` and `seqalign-atac-seq`. See their
respective documentation by running:
seqalign-chip-seq --help
seqalign-atac-seq --help
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
File details
Details for the file seqalign-0.1.15.tar.gz
.
File metadata
- Download URL: seqalign-0.1.15.tar.gz
- Upload date:
- Size: 12.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aeb529457b3b71c8feda5a9a29708ad093951e6d48005f16d87852cf8dacb9ce |
|
MD5 | 974e727c86fa00087b8cb08067ed9503 |
|
BLAKE2b-256 | bb67a75b01148df1f35204c4b4ae5d7893041f9d17717e12dfaf054178a3ab72 |
File details
Details for the file seqalign-0.1.15-py3-none-any.whl
.
File metadata
- Download URL: seqalign-0.1.15-py3-none-any.whl
- Upload date:
- Size: 14.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fcbaa5d26d92a23728f11dc9fe05a987913740bc17d0908929826a317d34dce |
|
MD5 | d30c23ecaca7ead440044fba5d107373 |
|
BLAKE2b-256 | 2f5061490c3905f4fd2a11cc58171565ae1bfaec5dd662ead296090ce76e9982 |