Skip to main content

Python package for probe-based gene cluster finding in large microbial genome database

Project description

pyGCAP: a (py)thon (G)ene (C)luster (A)nnotation & (P)rofiling

A Python Package for Probe-based Gene Cluster Finding in Large Microbial Genome Database


Introduction

Bacterial gene clusters provide insights into metabolism and evolution, and facilitate biotechnological applications. We developed pyGCAP, a Python package for probe-based gene cluster discovery. This pipeline uses sequence search and analysis tools and public databases (e.g. BLAST, MMSeqs2, UniProt, and NCBI) to predict potential gene clusters by user-provided probe genes. We tested the pipeline with the division and cell wall (dcw) gene cluster, crucial for cell division and peptidoglycan biosynthesis.

To evaluate pyGCAP, we used 17 major dcw genes defined by Megrian et al. [1] as a probe set to search for gene clusters in 716 Lactobacillales genomes. The results were integrated to provide detailed information on gene content, gene order, and types of clusters. While PGCfinder examined the completeness of the gene clusters, it could also suggest novel taxa-specific accessory genes related to dcw clusters in Lactobacillales genomes. The package will be freely available on the Python Package Index, Bioconda, and GitHub.

[1] Megrian, D., et al. Ancient origin and constrained evolution of the division and cell wall gene cluster in Bacteria. Nat Microbiol 7, 2114–2127 (2022).


Pipeline-flow

flowchart


Pre-requirement

  1. Python >= 3.6

  2. conda environment


Usage

  • pypi pygcap (link)

    pip install pygcap
    conda activate ncbi_datasets
    pygcap [WORKING_DIRECTORY] [TAXON] [PROBE_FILE]
    
  • input argument description

    ### usage example
    pygcap . Facklamia pygcap/data/probe_sample.tsv
    pygcap . 66831 pygcap/data/probe_sample.tsv
    
    1. working directory

    2. taxon (both name and taxid are available)

    3. path of probe.tsv (sample file)

      • Probe Name (user defined)
      • Prediction (user defined)
      • Accession (UniProt entry)

Options

  • --skip: Specify steps to skip during the process. Multiple steps can be skipped by using this option multiple times.

      pygcap [WORKING_DIRECTORY] [TAXON] [PROBE_FILE] —-skip or -s [ARG]
    
    • all: Skip all the processes listed below.
    • ncbi: Skip downloading genome data from NCBI.
    • mmseqs2: Skip running MMseqs2.
    • parsing: Skip parsing genome data.
    • uniprot: Skip downloading probe data from UniProt.
    • blastdb: Skip running makeblastdb.

(WIP)Output

  • A directory with the following structure will be created in your working directory with the name of the TAXON provided as input.\

    📦 [TAXON_NAME]
    ├─ data
    │  ├─ assembly_report.tsv
    │  ├─ metadata_target.tsv
    │  └─ ...
    ├─ input
    │  ├─ [GENUS_01]
    │  ├─ [GENUS_02]
    │  └─ ...
    ├─ output
    │  ├─ genus
    │  ├─ img
    │  └─ tsv
    └─ seqlib
       ├─ blast_output.tsv
       ├─ seqlib.tsv
       └─ ...
    

(WIP) example

  • Profiling dcw genes from pan-genomes of Lactobacillales (LAB)

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

pygcap-1.1.1.tar.gz (24.8 kB view details)

Uploaded Source

Built Distribution

pygcap-1.1.1-py3-none-any.whl (29.1 kB view details)

Uploaded Python 3

File details

Details for the file pygcap-1.1.1.tar.gz.

File metadata

  • Download URL: pygcap-1.1.1.tar.gz
  • Upload date:
  • Size: 24.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.5

File hashes

Hashes for pygcap-1.1.1.tar.gz
Algorithm Hash digest
SHA256 a02b1de764006820c1f7855911c3e1ca376811cc152c6343b749cb44e1000d45
MD5 5e9b5f46aef3d99c67310fa75084abeb
BLAKE2b-256 572aa0c68542149830b807331912d7b93639533935651507a465f96f128bc594

See more details on using hashes here.

File details

Details for the file pygcap-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: pygcap-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 29.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.5

File hashes

Hashes for pygcap-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2c80766f6d7591584ad457865f651413052fd72d3bb38c6723aa34d325b32b14
MD5 e7239bfa469af9200eeb8390683533b0
BLAKE2b-256 33e77ddb57588a7f6e6c042d62e6d6f8de94e622d9c772933e9bb4461c9ca6c6

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