Skip to main content

Create venn diagram from intersection between input files.

Project description

Description

The script gets as input folder that contains separate file for each sample with 3 columns: gene name, p-value and log2 of fold change. The script filter according p-value (default: <=0.05) and log2 fold change (default: >=1) and create venn-diagram between the groups.

The file names within the input folder should to be:

sample1.csv, sample2.csv … (until 6 groups) or sample1.xlsx, sample2.xlsx …

The files must to include the header line: Atnum,pv,log2FC

You can see example of input and output files here: venn-diagram-exmple

Run command

create-venn.py –input-dir YOUR-INPUT-FOLDER –output-dir YOUR-OUTPUT-DIR

You can see another optional parameters with the command (–min-log-fc, –max-p-value, –total_gene_numbers): create-venn.py –help

Python version

This project is currently using Python 2.7

Installation

It is recommended to use virtualenv to create a clean python environment.

To install venn-diagram, use pip:

pip install bbcu.venn-diagram

Credit

The plot of the venn made by pyvenn: https://github.com/tctianchi/pyvenn

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

bbcu.vennDiagram-1.0.8.tar.gz (57.8 kB view hashes)

Uploaded Source

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