Skip to main content

GTax

GTax python package provides tools for the creation of the GTax sequence-based database. This database includes one assembly per organism deposited in the NCBI Genomes database. The sequences are organized by 19 taxonomic levels from superkindom to clades. Python pickle files are also provided with a graph data structure for the taxonomic tree.

Read the Docs at: https://gtax.readthedocs.io/

Current version

The current public version is available in GCP for download. You need to use your GCP project as this bucket uses Requester Pays option.

https://console.cloud.google.com/storage/browser/gtax-database/

gsutil -u <you-GCP-project> -m cp -r gs://gtax-database/<latest_version> .

The database is comprised of two folder: blastdb and fasta. The blastdb folder include the BLAST indexes for BLAST searches. The fasta folder includes the FASTA files for the taxonomy groups and two Python Objects in pickle files (taxonomy.pickle and taxonomy_groups.pickle) which are used to load all GTax metadata into the Taxonomy class

from gtax.taxonomy import Taxonomy
taxonomy = Taxonomy(tax_pickle_file='taxonomy.pickle', group_pickle_file = 'taxonomy_groups.pickle')

Output:

2464341 taxonomies loaded
bacteria Node: 537498 Sequences: 19435
archaea Node: 14266 Sequences: 798
liliopsida Node: 48464 Sequences: 317
eudicotyledons Node: 153108 Sequences: 1077
viridiplantae Node: 48003 Sequences: 185
fungi Node: 186994 Sequences: 914
arthropoda Node: 912789 Sequences: 2596
neoteleostei Node: 31205 Sequences: 1610
actinopterygii Node: 22514 Sequences: 1258
glires Node: 5490 Sequences: 2346
primates Node: 1101 Sequences: 673
carnivora Node: 783 Sequences: 437
artiodactyla Node: 1200 Sequences: 487
amphibia Node: 13009 Sequences: 122
sauropsida Node: 32051 Sequences: 1476
sarcopterygii Node: 4941 Sequences: 376
chordata Node: 4122 Sequences: 400
eukaryota Node: 194114 Sequences: 896
viruses Node: 234108 Sequences: 14233

Public Domain notice

National Center for Biotechnology Information.

This software is a "United States Government Work" under the terms of the United States Copyright Act. It was written as part of the authors' official duties as United States Government employees and thus cannot be copyrighted. This software is freely available to the public for use. The National Library of Medicine and the U.S. Government have not placed any restriction on its use or reproduction.

Although all reasonable efforts have been taken to ensure the accuracy and reliability of the software and data, the NLM and the U.S. Government do not and cannot warrant the performance or results that may be obtained by using this software or data. The NLM and the U.S. Government disclaim all warranties, express or implied, including warranties of performance, merchantability or fitness for any particular purpose.

Please cite NCBI in any work or product based on this material.

Metadata

Release files for gtax 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gtax 0.1.0
File Size Uploaded Provenance Actions
gtax-0.1.0.tar.gz 12.6 kB Without provenance Details for gtax-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gtax 0.1.0
File Interpreter ABI Platform Actions
gtax-0.1.0-py3-none-any.whl Python 3 none any Details for gtax-0.1.0-py3-none-any.whl

Total release size: 27.9 kB

Release files / gtax-0.1.0.tar.gz

Download URL gtax-0.1.0.tar.gz
Size 12.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a126492d6728100ef51ba43f445966080ef1caea6e52e07a2b9ae64e9356a298
BLAKE2b-256 checksum
How to use checksums
26614e42d5a088fddac48a95bf0b011219038b85687a5d75436bc8dad547f775
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.3.1 CPython/3.14.2 Linux/6.11.0-1018-azure

Release files / gtax-0.1.0-py3-none-any.whl

Download URL gtax-0.1.0-py3-none-any.whl
Size 15.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7991a9379e39641a46e16ab0c1ec5e06de03a1113f305ba9a2f4b71bb0e45ee1
BLAKE2b-256 checksum
How to use checksums
11024366f8b17afa0f18a8777ddf4fe614422e155783dc37be034a6915d5fac8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.3.1 CPython/3.14.2 Linux/6.11.0-1018-azure

Security for gtax 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page