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
Release files for bbcu.vennDiagram 1.0.26
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bbcu.vennDiagram-1.0.26.tar.gz | 298.7 kB | Details |
Release files / bbcu.vennDiagram-1.0.26.tar.gz
| Download URL | bbcu.vennDiagram-1.0.26.tar.gz |
|---|---|
| Size | 298.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ee7b7be587e2f289f45e1e94fb48ca6394a3421e2a91ad4cdf72b3b21322466c
|
|
BLAKE2b-256 checksum How to use checksums |
9afb3cb747e169ceca6bcf0556888856fa0754dc5a94ab19da43e61983aed31f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/2.7
|