Skip to main content

Python package for identifying gene disrupting and restoring indels in whole-genome sequencing data of Mycobacterium tuberculosis samples

Project description

ScarTrek

Python package for identifying gene disrupting and restoring indels in whole-genome sequencing data of Mycobacterium tuberculosis samples


Description

"Insertion" or "deletions" (affectionly called "indels") of nucleotides are two types of genetic changes besides single nucleotide polymorphims (SNPs) that can be detected by analyzing sequencing data. ScarTrek is an application written in python to detect indels in whole-genome sequencing data mapped to a reference genome, and if gene information for the referece organism is provided, then determine the genes that have the indels and if the indels influence the translated product of the gene. This analyses is useful to detect gene inactivations due to indels.

Installation

Using pip

$ pip install scartrek

From GitHub

ScarTrek project can be downloaded directly from GitHub and python scripts can be run directly from the command line as shown in usage.

Usage

If installed using pip, ScarTrek can be run as:

$ find-scars [-h] -i INPUT [-m MAPRATE] [-c COVTHRES] [-g GENESEQ] [-p PROTSEQ]

If downloaded from GitHub, ScarTrek can be run in the directory ScarTrek/scartrek/ as:

$ python find_scars.py [-h] -i INPUT [-m MAPRATE] [-c COVTHRES] [-g GENESEQ] [-p PROTSEQ]

where the arguments are:

  -h, --help            show this help message and exit
  -i INPUT, --input INPUT
                        Input directory that has mpileup files for each
                        sample. See tests/test1 for example (default: None)
  -m MAPRATE, --maprate MAPRATE
                        Minimum read mapping rate required to consider a
                        sample (default: 20.0)
  -c COVTHRES, --covthres COVTHRES
                        Minimum read coverage required at a position to detect
                        an indel (default: 20)
  -g GENESEQ, --geneseq GENESEQ
                        Gene sequences in the reference genome, default
                        reference: M. tuberculosis (default:
                        ../reference/H37Rv_genes.txt)
  -p PROTSEQ, --protseq PROTSEQ
                        Protein sequences for the reference organism, default:
                        M. tuberculosis (default:
                        ../reference/H37Rv_proteins_from_genbank.txt)

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

scartrek-1.0.0.tar.gz (22.7 kB view details)

Uploaded Source

Built Distribution

scartrek-1.0.0-py2-none-any.whl (32.5 kB view details)

Uploaded Python 2

File details

Details for the file scartrek-1.0.0.tar.gz.

File metadata

  • Download URL: scartrek-1.0.0.tar.gz
  • Upload date:
  • Size: 22.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/2.7.16

File hashes

Hashes for scartrek-1.0.0.tar.gz
Algorithm Hash digest
SHA256 060229fa3480f2cff649bb49d2fc51520529688057fc1d5ab1a1a0b4a2ce457f
MD5 e4b78fcf9522248090d7759c4e8cd46e
BLAKE2b-256 cc2b350fe199590c1af53784492e31da799d274b6f731ed03d2a6e2118cc3534

See more details on using hashes here.

File details

Details for the file scartrek-1.0.0-py2-none-any.whl.

File metadata

  • Download URL: scartrek-1.0.0-py2-none-any.whl
  • Upload date:
  • Size: 32.5 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/2.7.16

File hashes

Hashes for scartrek-1.0.0-py2-none-any.whl
Algorithm Hash digest
SHA256 3d62ad94825e011e332708a5b19b93ff6ee1567ea3ef2c4d51ab46b4409d96e5
MD5 2d5d9c57f3ce2610f8cbcbf7f9be5569
BLAKE2b-256 428d976de0526a820f2a46afe2ce367a94b666c5a14b749f8304d4f10b78d94b

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