GithubHelp home page GithubHelp logo

countmatrixtransformer's Introduction

count-matrix-transformer

This tool takes a raw count matrix and compute relative gene abundance according to the method exposed in Qin, J. et al. A metagenome-wide association study of gut microbiota in type 2 diabetes. Nature

The reverse operation consisting of computing a raw matrix from a normalized count matrix can also be performed.

Requirements

Usage

./count-matrix-transformer -c <input_count_matrix> -l <genes_length_file> -t <transformation_type> -o <transformed_count_matrix> 
  • -c <input_count_matrix> count matrix to transform
  • -l <genes_length_file> file (without an header) which contains line by line, tab separated pairs of values '<gene name> <gene length>'
  • -t <transformation_type> transformation to apply to the count matrix ('normalize' or 'denormalize')
  • -o <transformed_count_matrix> output transformed count matrix

Input count matrix example

gene_id sample_1 sample_2 sample 3
gene_1 10 0 3
gene_2 0 21 8
gene_3 12 9 3
gene_4 10 12 11

genes length file example

gene_1 699
gene_2 135
gene_3 1422
gene_4 1827
gene_5 540
gene_6 61

countmatrixtransformer's People

Watchers

 avatar  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.