Skip to main content

Parser of Igblast results into a csv file

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

igblast_parser-0.0.4.tar.gz (59.7 kB view hashes)

Uploaded Source

Built Distribution

igblast_parser-0.0.4-cp39-cp39-macosx_10_9_x86_64.whl (47.5 kB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page