Skip to main content

Analyze deep sequencing of complex libraries

Project description

ngs-analysis

Intended for analysis of sequencing reads that span multiple DNA or protein parts. For instance, given a library of protein variants linked to DNA barcodes, it can answer questions like:

  • How accurate are the variant sequences, at the DNA or protein level?
  • How frequently is the same barcode linked to two different variants?
  • Which reads contain parts required for function (e.g., a kozak start sequence, or a fused protein tag)?

This kind of analysis often involves parsing raw sequencing reads for DNA and/or protein sub-sequences (parts), then mapping the parts to a reference of anticipated part combinations. This package offers a simple workflow:

  1. Define how to parse reads into parts using plain text expressions (no code)
  2. Test the parser on simulated DNA sequences (e.g., your vector map)
  3. Parse a batch of sequencing samples
  4. Map the (combination of) parts found in each read to your reference

It’s been tested with Illumina paired-end reads and Oxford Nanopore long reads. Under the hood it uses NGmerge to merge paired reads and MMseqs2 for sequencing mapping. It is moderately performant: 1 million paired-end reads can be mapped to a reference of 100,000 variant-barcode pairs in ~1 minute.

Installation

pip install ngs-analysis

Tested on Linux and MacOS (Apple Silicon).

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

ngs-analysis-0.0.3.tar.gz (22.8 kB view hashes)

Uploaded Source

Built Distribution

ngs_analysis-0.0.3-py3-none-any.whl (23.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page