Skip to main content

A small tool to download, match and save sequences from MIBiG.

Project description

pyMIBiG

PyPI - Version PyPI - Downloads

A small tool to download, match and save sequences from MIBiG.

pyMIBiG can search by "organism name", "compound / product" and / or "biosynthetic class" as intersections of every argument added. Which means that the more arguments you add more restrictive your search becomes. It uses the available MIBiG download files which have less information then those returned when using their web search. So, for very specific queries, that yield fewer results, you will be better using the web interface.

Usage

Download the available package of pyMIBiG and execute pymibig -<target> where target is the term you wanto to search in MIBiG database.

You can also install it using pip. In a virtual environment execute:

pip install pymibig

By default pyMIBiG will fetch all cluster data and information of a given target.

You may change that using optional aguments passed along with the <target>:

usage: pyMIBiG [-h] [-o ORGANISM] [-p PRODUCT] [-b BIOSYNT] [-c {complete,incomplete,unknown,all}]
               [-i {maximum,minimal,all}]

A small tool to download, match and save targeted sequences from MIBiG.

options:
  -h, --help            show this help message and exit
  -o ORGANISM, --organism ORGANISM
                        Organism name to query in database.
  -p PRODUCT, --product PRODUCT
                        Compound to query in database.
  -b BIOSYNT, --biosynt BIOSYNT
                        Biosynthetic class to query in database.
  -c {complete,incomplete,unknown,all}, --completeness {complete,incomplete,unknown,all}
                        Loci completeness.
  -i {maximum,minimal,all}, --information {maximum,minimal,all}
                        Minimal annotation.

You have to use at least one of the following arguments: organism, product or biosynt. The others are optional.

On first execution pyMIBiG will download the database files from MIBiG and save locally, so an internet connection will be needed, after that it can be used offline.

As for this release pyMIBiG will download from MIBiG Version 3.1 (October 7th, 2022) the:

  • Metadata in compressed format, including several JSON files;
  • Nucleotide sequences of the biosynthetic gene clusters in compressed format, including several GBK files;
  • Amino acid sequence translations of all genes from MIBiG entries are also available in a single compressed FASTa file.

License

pyMiBiG is distributed under the terms of the LGPL 3.0 license.

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

pymibig-1.2.7.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pymibig-1.2.7-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file pymibig-1.2.7.tar.gz.

File metadata

  • Download URL: pymibig-1.2.7.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.0

File hashes

Hashes for pymibig-1.2.7.tar.gz
Algorithm Hash digest
SHA256 1e73e28fae51f798fd94af32c14d0189558aed21e9a693cce879448a8cbed608
MD5 6d9ef2fdeb092c112e305a0e0cbdbca5
BLAKE2b-256 17ef7d6a7858eec8262d0e73788277b0fac2fb6c005e7abad9325c7903d81936

See more details on using hashes here.

File details

Details for the file pymibig-1.2.7-py3-none-any.whl.

File metadata

  • Download URL: pymibig-1.2.7-py3-none-any.whl
  • Upload date:
  • Size: 14.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.0

File hashes

Hashes for pymibig-1.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 694ac7b6e476f85904d0876eec32092f4b8cb0c061d7b0e9264529d0fa585480
MD5 5f6cd731a1884c35ad3a98c4615d08e7
BLAKE2b-256 3acc9ad54b9e4f4f93fbed976f48c02dc8aca421c16d0139a57e8540f3b01c37

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