Skip to main content

Set of tools used for metagenomics research project, using keras and pytorch

Project description

metagentorch

This repo includes the code developed as part of a research project aiming at using deep learning techniques to classify a wide range of viruses based on NG reads.

The code is structured into general code and submodules:

General code is used across the project and can also be reused for other projects:

  1. art: wrapper code to use ART-ILLUMINA read simulator package from a jupyter notebook. MUST BE RUN LOCALLY.
  2. core: base classes used accross the package
  3. wandb: utility classes to open, retrieve, use WandB runs and artifacts accross the project

Submodules cover code written for a specific part of the project. At the moment, the only submodule is cnn_virus.

  1. cnn_virus: all specific code related to the evaluation and improvement of CNN Virus model
    • architecture: all code related to evaluated and trained architectures
    • data: data processing, iterators and parsing functions to handle data
    • utils: other utility functions

Note: This package started as metagentoools, using keras 2 and tensorflow. Now with keras 3, it is possible to user pytorch as a backend and the package is ported to metagentorch. This is the active package, with metagentools currently no longer maintained.

Disclaimer: This repository is currently under development and is offered as-is. Please note that certain functions or modules might raise errors or become deprecated without prior notice across different versions. Efforts will be made to clearly indicate in warnings or error messages how to substitute deprecated code. Support may or may not be available, depending on when the request for assistance is made.

Installation:

  • pip install metagentorch for the stable version

  • pip install git+https://github.com/vtecftwy/metagentorch.git@main for the latest committed version

Requirements:

  • python 3.10 or higher is required for this package
  • keras 3.9 and pytorch 2.5
  • package tested with python 3.10

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

metagentorch-0.0.1.tar.gz (34.6 kB view details)

Uploaded Source

Built Distribution

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

metagentorch-0.0.1-py3-none-any.whl (35.1 kB view details)

Uploaded Python 3

File details

Details for the file metagentorch-0.0.1.tar.gz.

File metadata

  • Download URL: metagentorch-0.0.1.tar.gz
  • Upload date:
  • Size: 34.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for metagentorch-0.0.1.tar.gz
Algorithm Hash digest
SHA256 7822b5e652c2deda9421571044116f51ff5ba71559e4fd74460159e1209f9ed7
MD5 0be70d151b8fb1236b9e220c2217a935
BLAKE2b-256 163ee9dddc535b991d99ea68e255fef5dafd8507200a8ac25e1404aaff53dde9

See more details on using hashes here.

File details

Details for the file metagentorch-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: metagentorch-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 35.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for metagentorch-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7f36d714808be0a6883b20934dfcac621b68de03fa743ab691aec4c59281aa90
MD5 bb0d765eb9209b1cbf27355eec1eea60
BLAKE2b-256 0bed7bc6652598f7f2ddf25475523caf31d78a6c7cfec40c87e90d8628d169e4

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