Git Product home page Git Product logo

plasmidhostmahalanobismatcher's Introduction

PlasmidHostMahalanobisMatcher

PlasmidHostMahalanobisMatcher is a software for predicting the possible host for given plasmids based on multiple features.

Prerequisites

Program

Required packages

  • The packages used in this software is included in requirements.txt
  • If you are using pip, run pip install -r requirements.txt in the console
  • If you are using conda, run conda install --file requirements.txt in the console

Installation

  • Download the repository and unzip or clone the repository
    git clone https://github.com/dorasir/PlasmidHostMahalanobisMatcher
    
  • For MacOS, run the following command to setup
    MACOSX_DEPLOYMENT_TARGET=10.9 CC=g++ python setup.py install --install-platlib=src
    
  • For Linux, run the following command to setup
    CC=g++ python setup.py install --install-platlib=src
    

Data availability

Our constructed host bacteria database is available for this software, the database can be downloaded at GoogleDrive. The content of the downloaded archive should then be extracted to data folder of the software directory.

Usage

python PlasmidHostMahalanobisMatcher.py [-h] -q QUERY_PLASMID_DIR -o OUTPUT [-t NUM_THREADS] [-n topN] [-i INTERMEDIATE_DIR]

Options

-h, --help            show this help message and exit
-q QUERY_PLASMID_DIR  Directory containing query plasmid genomes with .fasta or .fa suffix
-o OUTPUT             Output file
-t NUM_THREADS        Number of threads to use. Default = 1
-n topN               Number of top predictions written to the output files. All predictions will be output if there is a tie in score. Default = 1
-i INTERMEDIATE_DIR   Directory storing intermediate result. Default = ./intermediate_res

Examples

To predict the host of plasmids of interest, put the genome of the plasmids into a dedicated folder, for example, plasmids. The prediction can then be made by running

python PlasmidHostMahalanobisMatcher.py -q plasmids

By default the prediction result will be stored in output.txt under the software folder.

plasmidhostmahalanobismatcher's People

Contributors

tianqitang1 avatar

Watchers

 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.