GithubHelp home page GithubHelp logo

robaina / metatag Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 72.03 MB

metaTag: functional and taxonomical annotation of metagenomes through phylogenetic tree placement

Home Page: https://robaina.github.io/MetaTag/

License: Apache License 2.0

Python 95.57% Shell 4.11% Dockerfile 0.31%
bioinformatics metagenomics-toolkit marine-microbiology microbial-ecology metagenomics evolutionary-placement taxonomy-assignment function-annotation

metatag's Introduction

logo

tests codecov GitHub release

python Code style: black Project Status: Active – The project has reached a stable, usable state and is being actively developed.

license Contributor Covenant

DOI


💡 What is MetaTag?

This repository contains tools to assign taxonomy and function annotations to short reads through pylogenetic tree evolutionary placement.

🔧 Setup

The easiest way to use MetaTag is through the provided docker container. To use it, pull the image:

docker pull ghcr.io/robaina/metatag:latest

Then run the container interactively:

docker run -i ghcr.io/robaina/metatag:latest

Otherwise, you can install MetaTag like this:

  1. Fork git repo into local machine (click on fork) and clone, or simply clone main branch with
git clone https://github.com/Robaina/MetaTag.git
  1. CD to project MetaTag and set conda environment if not already set:
conda env create -n metatag -f envs/metatag-dev.yml
  1. Build and install MetaTag:
conda activate metatag
(metatag) poetry build && pip install dist/metatag*.whl

Installation test

To check that everything is working properly, you can run a test what will perform the entire workflow on a minimal dataset. To run it, call bash script:

conda activate metatag
(metatag) bash tests/run_test.sh

or through Python's unittest module:

conda activate metatag
(metatag) python -m unittest tests/test_pipeline.py

It should produce a final tree with query sequences placed on it, as well as a bunch of intermediary files without any errors.

🚀 Usage

There are two main ways to use MetaTag: through the command line interface (CLI) or through the Python API. You can find an example of the API usage in the following Notebook:

🔄 Dependencies

MetaTag would not work without these awesome projects:

Thanks!

:octocat: Contributing

Contributions are always welcome! If you don't know where to start, you may find an interesting issue to work in here. Please, read our contribution guidelines first.

✒️ Citation

If you use MetaTag in your research, please cite it as follows:

Robaina Estévez, S., Fernández González, N., & González Hernández, J. M. (2023). metaTag: functional and taxonomical annotation of metagenomes through phylogenetic tree placement (Version v0.1.1) [Computer software]. https://doi.org/10.5281/zenodo.7949949

📄 License

This project is licensed under the terms of the Apache 2.0 license.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.