Skip to main content

UMI error correct

Project description

# umierrorcorrect

Pipeline for analyzing barcoded amplicon sequencing data with Unique molecular identifiers (UMI)

Installation

To run Umierrorcorrect via Docker, see the [Docker documentation](doc/docker.md).

To install the UMI-errorcorrect pipeline from source, open a terminal and type the following:

` pip install umierrorcorrect `

After installation, try to run the pipeline:

` run_umierrorcorrect.py -h `

Dependencies

Umi-errorcorrect runs using Python 3 and requires the following programs/libraries to be installed (if you run through docker all dependencies are already handled):

Python-libraries (should be installed automatically):

pysam (v 0.8.4 or greater)

External programs:

bwa (bwa mem command is used) Either of gzip or pigz (parallel gzip)

Install the external programs and add them to the path.

Since the umierrorcorrect pipeline is using bwa for mapping of reads, a bwa-indexed reference genome is needed. Index the reference genome with the command bwa index -a bwtsw reference.fa.

Usage

Example syntax for running the whole pipeline:

run_umierrorcorrect.py -r1 read1.fastq.gz -r2 read2.fastq.gz -ul umi_length -sl spacer_length -r reference_fasta_file.fasta -o output_directory

The run_umierrorcorrect.py pipeline performs the following steps:

  • Preprocessing of fastq files (remove the UMI and spacer and puts the UMI in the header)

  • Mapping of preprocessed fastq reads to the reference genome

  • Perform UMI clustering, then error correcion of each UMI cluster

  • Create consensus reads (one representative read per UMI cluster written to a BAM file)

  • Create a consensus output file (collapsed counts per position)

It is also to possible to run the pipeline step-by-step.

To see the options for each step, type the following:

` preprocess.py -h run_mapping.py -h umi_error_correct.py -h get_consensus_statistics.py -h filter_bam.py -h filter_cons.py -h ` Tutorial ——–

[Link to the Umierrorcorrect tutorial](https://github.com/stahlberggroup/umierrorcorrect/wiki/Tutorial)

Example of UMI definition options

[UMI definition options](https://github.com/stahlberggroup/umierrorcorrect/wiki/UMI-definition-options)

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

umierrorcorrect-0.22.tar.gz (30.9 kB view details)

Uploaded Source

Built Distribution

umierrorcorrect-0.22-py3-none-any.whl (75.6 kB view details)

Uploaded Python 3

File details

Details for the file umierrorcorrect-0.22.tar.gz.

File metadata

  • Download URL: umierrorcorrect-0.22.tar.gz
  • Upload date:
  • Size: 30.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.9

File hashes

Hashes for umierrorcorrect-0.22.tar.gz
Algorithm Hash digest
SHA256 a5a201c6746ede17f836fe3dd83b411d0381e4b8345d370b7f7659afe9f6e36d
MD5 cd7a12f1f2ed4ae8e2d25340d1ced0e7
BLAKE2b-256 c6352e6ba81730ad7f5bddc556cfbb6779dfca8e0d3605dff57b7b9099e73c08

See more details on using hashes here.

File details

Details for the file umierrorcorrect-0.22-py3-none-any.whl.

File metadata

  • Download URL: umierrorcorrect-0.22-py3-none-any.whl
  • Upload date:
  • Size: 75.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.9

File hashes

Hashes for umierrorcorrect-0.22-py3-none-any.whl
Algorithm Hash digest
SHA256 077900f42b48f76545ec29bdbe8fcd65633646e6c8bc14aed668b7267a509df6
MD5 780ad0dc6ecf59cda7ac797f3b08e63e
BLAKE2b-256 51b6861f491bf590c1147c07bcc54187b1567fe29f19091e6630579fef8e26ed

See more details on using hashes here.

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