Coder Social home page Coder Social logo

igblast-parser's Introduction

Simple parser of igblast results

Igblast allows to view the matches to the germline V, D and J genes, details at rearrangement junctions and a lot more (see documentation).

The output includes a lot of information in a format that can't be directly used in statistical analyses.

This simple script parses igblast output into a csv formatted table, easy to understand and ready to include in a statistical analysis.

Installation

  1. pip install igblast-parser

  2. conda install -c bioconda igblast-parser

  3. python setup.py install

Usage

docs

While docs are not ready:

Command line executable in unix-like systems:

	cat <igblast.output> | igblast-parser

Pipe is not obligatory as the input could be specified with the argument --in

optional argument: --out to specify the prefix of the output csv file

	igblast-parser --in <igblast.output> --out <parser_output>

In interactive python or script

	f_in = open('igblast.output','r')

	# dictionary with UMI as primary key and multiple keys/UMI
	d = igblast_parse(f)

	# pandas provides very nice tables
 	import pandas
	df = pandas.DataFrame(d).T

igblast-parser's People

Contributors

aerijman avatar

Stargazers

Ma xingyong avatar

Watchers

James Cloos 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.