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: https://github.com/benfred/venn.js

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.26.tar.gz (298.7 kB view details)

Uploaded Source

File details

Details for the file bbcu.vennDiagram-1.0.26.tar.gz.

File metadata

  • Download URL: bbcu.vennDiagram-1.0.26.tar.gz
  • Upload date:
  • Size: 298.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/2.7

File hashes

Hashes for bbcu.vennDiagram-1.0.26.tar.gz
Algorithm Hash digest
SHA256 ee7b7be587e2f289f45e1e94fb48ca6394a3421e2a91ad4cdf72b3b21322466c
MD5 27f724862b8ccf1de54279e55b2b4a34
BLAKE2b-256 9afb3cb747e169ceca6bcf0556888856fa0754dc5a94ab19da43e61983aed31f

See more details on using hashes here.

Supported by

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