GithubHelp home page GithubHelp logo

linguoliang / vennpainter Goto Github PK

View Code? Open in Web Editor NEW
45.0 7.0 15.0 196.86 MB

A tool for the comparison and identification of candidate genes based on Venn diagrams

Home Page: https://github.com/linguoliang/VennPainter

C++ 96.71% C 0.09% Makefile 1.07% QMake 0.10% HTML 2.02%
c-plus-plus venn-diagram intersection fig

vennpainter's Introduction

User Manual

1.Run-time Environment

1.1 Hardware

VennPainter was developed by using Qt 4.8.5 under its LGPL v2.1 license. This software had been tested on Win xp,Win 7,Win 8,Linux Mint 13,Mac OS 10.8.5. Minimum requirement: PC (PIII866),512M memory,20G Hard disk

1.2 System

Operating system:Windows xp or higher,Linux with GUI, Mac OS 10.8.5 or higher.

2.Input data

2.1 Input data format

Each input set should be a text file. Every element should be separated by white space characters (space, tab, and newline) in the set. If an element displays multiple times in a file, it will be analyzed as one element only. About the processing capability, data with no more than eight sets could be analyzed and output with both diagrams and text files. As for data sets ranging from 9 to 31, only a text-based output format could be generated. VennPainter supports three text-based format (e.g., vertical, horizontal and matrix) for further analysis.

2.2 Load data

Data can be loaded with "Files"->"Open Files"(Fig. 1). This application allows one or more files to be loaded at once.
open files menu
Fig. 1 open files menu

3. Customize image and data

3.1 Options for color or the number of sets

After loading data, a control panel will appear on the left with check-box and color button in pairs (Fig. 2). The loaded sets could be selected or unselected by clicking check-box. The corresponding color in the image could be changed by the color button. The color information can be saved by “Setting”->”Save config”. The saved color information could be loaded by “Setting”->”Load config”.
Check-box and Color button in pairs
Fig. 2 Check-box and Color button in pairs

3.2 Switch among Classic, Edwards' and Nested Venn diagrams

VennPainter provides three types of Venn diagram (Classic Venn, Edwards’ Venn and Nested Venn) for diagram options. In our design, the Classic Venn, Edward’s Venn and Nested Venn could respectively display the sharing relationships at most five, six and eight datasets with diagram output. After diagram displayed, users can use right-click menu to switch among the three diagram options when they are available (Fig. 3a). There is an icon ahead the selected modes.. If the mode is unavailable, the item in the right-click menu turns grey and cannot be selected (Fig. 3b). The number of sets determines whether the mode is valid (Table 1).
open files menu
Fig. 3 right-click menus of the two diagrams.

Table 1 Capacity of Venn diagram in VennPainter
Number of sets 1 2 3 4 5 6 7 8 9~31
Classic × × × ×
Edwards' × × × ×
Nested × × × × ×
### 3.3 View single intersection VennPainter allows users view a single intersection on the diagram when the numbers of sets are no more than eight. When the mouse stays over a number on the image, the corresponding tooltip will show the logic relationship of the intersection (Fig. 4). The list of sharing elements will appear on the right of the program after users click the corresponding number. The list contains all the elements that belong to the corresponding intersection. ![Data output for single intersection](PNGfigures/4-1.png) **Fig. 4** Data output for single intersection. ## 4. Export data ### 4.1 Export image VennPainter only support SVG images output. VennPainter save images with "Files"->"Save image" or "right-click menu"->"Save image". The SVG images could be read and modified by many graphic vector editors, such as Adobe Illustrator, Inkscape and CorelDRAW, etc.

4.2 Export shared data

VennPainter provides three text-based formats for shared datasets, including vertical format, horizontal format and matrix format( Fig. 5). In the Matrix format (Fig. 5a), the first row contains all datasets, and the first column contains all elements from all datasets. Other columns indicate if the element existing in each dataset: “1” indicate yes, while “0” indicate no. In the Vertical format (Fig. 5b), each row contains the elements belonging to each intersection. For example, a six-set Venn diagram has 63 intersections and thus, the text file contains 63 rows, each rows contains all the elements belonging to each intersection. Horizontal format (Fig. 5c) is identical to the vertical mode except for the exchange of columns and rows. output dataset
Fig. 5 output dataset

4.3 Export single intersection

Moving mouse pointer over the number on the image, the tooltip will show the corresponding relationship of the intersection. If clicking the number, the shared list will appear on the right panel. The shared list can be exported as a text file by clicking the “Export shared list”( Fig. 4).

5. Other Operations

5.1 Clear all data

The data can be cleared by clicking the “Clear All” button. After clearing all data, other datasets can be loaded to construct a new Venn diagram.

6. Prebuilt binaries

VennPainter_1.2.0

Citation

Lin G, Chai J, Yuan S, Mai C, Cai L, et al. (2016) VennPainter: A Tool for the Comparison and Identification of Candidate Genes Based on Venn Diagrams. PLoS ONE 11(4): e0154315. doi: 10.1371/journal.pone.0154315

vennpainter's People

Contributors

linguoliang avatar ysariel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

vennpainter's Issues

Unable to access list text files from VennPainter

I was excited to use your new tool to do some list comparisons, but when I am working in the program the only data I can access is the sample data and not anything from my own studies. Please advise me how I should be doing this. Thanks.

download

can only download the source code
others like VennPainter_1.2.0.for.windows.exe can not download

versions crash on osx 10.14

Hello, I had used this program before, but it's been a couple months, and now it's crashing as soon as I try to load some datafiles.

Here's a bit of the error report, thanks

Process:               VennPainter [12842]
Path:                  /private/var/folders/*/VennPainter.app/Contents/MacOS/VennPainter
Identifier:            com.yourcompany.VennPainter
Version:               ???
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           VennPainter [12842]
User ID:               501

Date/Time:             2019-06-18 01:04:04.103 -0500
OS Version:            Mac OS X 10.14.6 (18G48f)
Report Version:        12
Bridge OS Version:     3.0 (14Y901)
Anonymous UUID:        6CE2C533-4B68-342B-DAE1-1075E0B73539


Time Awake Since Boot: 1400 seconds

System Integrity Protection: enabled

Notes:                 Translocated Process

Crashed Thread:        0  Dispatch queue: com.apple.qtkit64.server

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [12842]

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.