Giter Club home page Giter Club logo

masq's Introduction

masq

Microbial association network SQL API.

This API contains drivers for interacting with a PostgreSQL database. Many of these drivers have functions that allow for BIOM files, network files and other microbiome-related files to be ported to the database.

Contact the author at lisa.rottjers (at) kuleuven.be. Your feedback is much appreciated! This version is still in early beta and has been tested for Python 3.6.

Getting Started

First set up a virtual environment and make sure it uses Python 3:

virtualenv venv
# Linux
source venv/bin/activate

# Windows
venv/Scripts/activate

# Once you are done with masq:
deactivate

To install masq, run:

pip install git+https://github.com/ramellose/masq.git

If you have both Python 2.7 and Python 3 installed, you may need to change the command to this:

python3 -m pip install git+https://github.com/ramellose/masq.git

At the moment, the CLI is not very well documented, since masq is in early development. You can run the masq script and read the help docs with the following command.

masq -h

masq requires a running instance of PostgreSQL to connect to. It will first set up a database structure in line with the database model used by mako. Then it can upload BIOM files and network files to the PostgreSQL database. Additionally, the metastats and netstats modules contain scripts with queries that can carry out some operations on the PostgreSQL database. These are currently not supported by the CLI, only by the API.

For viewing PostgreSQL databases, I recommend HeidiSQL.

Contributions

This software is still in early alpha. Any feedback or bug reports will be much appreciated!

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the Apache License - see the LICENSE.txt file for details

masq's People

Watchers

James Cloos avatar Sam Röttjers avatar

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.