Skip to main content

Python library and utility scripts for working with genetic sequence data.

Project description

PyPI Python Version Downloads License: MIT Build Status

Dark matter

A collection of Python tools for filtering and visualizing Next Generation Sequencing reads.

Installation

On Linux (at least) you will need to first:

sudo apt install zlib1g-dev libbz2-dev liblzma-dev

Then you should be able to install via

$ pip install dark-matter

Some additional information is available for Linux, OS X, and Windows.

Optional dependencies

Not all of the following are mandatory. It depends which part of the dark-matter code you try to use.

Picard

run-bowtie2.py can use Picard to mark duplicates.

GATK

run-bowtie2.py uses gatk if you call it with --markDuplicatesGATK or --callHaplotypesGATK. If you want to do this you'll need to download the gatk zip file, unzip it, and either put the directory where you unzip it into your shell's path or else move the contents of the zip file into a directory already in your path.

bcftools

You'll need bcftools if you want to make consensuses using the make-consensus.py script. Either follow the installation instructions or, if you use brew (or Linux brew), brew install bcftools.

samtools

The run-bowtie2.py and run-bwa.py scripts both make use of samtools.

EMBOSS

The compare-sequences.py script (if called with --align) requires the needle and (possibly) stretcher from EMBOSS.

iPython Notebook

If you are using dark matter in an iPython Notebook, you should install the requirements in requirements-ipynb.txt.

Development

If you are using dark matter as a developer, you should install the requirements in requirements-dev.txt.

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

dark_matter-7.1.12.tar.gz (464.6 kB view details)

Uploaded Source

File details

Details for the file dark_matter-7.1.12.tar.gz.

File metadata

  • Download URL: dark_matter-7.1.12.tar.gz
  • Upload date:
  • Size: 464.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.6

File hashes

Hashes for dark_matter-7.1.12.tar.gz
Algorithm Hash digest
SHA256 82b4c5b81193b57adae02d463721155adb31796268fe8c75c20f821e50fc1fe7
MD5 f6a8c4f00dbcbfe5540c5a1bc15c1695
BLAKE2b-256 b0fd85d2dc06e6f3c9c9dc29d1ae8e20a399b97687f4ce628a2333ddd6c94215

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