The demo data consists of Catalogue of Somatic Mutations in Cancer (COSMIC) Cancer Gene Census genes and 100 randomly simulated mutations. Points represent single nucleotide variants (i.e. variant present in <3 samples); triangles represent single nucleotide polymorphisms (i.e. variants found in many samples); and short lines (single chromosome) represent known INDEL sites.
chr - The chromosome on which a feature has to be drawn
start - Start position (in bp) for feature
stop - Stop position (in bp) for feature
feature - The shape of the feature to be drawn
0 will draw a rectangle
1 will draw a circle
2 will draw a triangle pointing to the genomic location
3 will draw a line at that genomic location
size - The horizontal size of the feature. Should range between 0 and 1.
color - Specify the color of the genomic feature with a hex value (#FF0000 for red, etc.)
chrCopy - Specify the chromosome copy on which the feature should be drawn (1 or 2). To draw the same feature on both chromosomes, you must specify the feature twice
Etymology
Tagore (/tæˈgɔːr/) was a prolific songwriter,
artist, and influential poet of 19th and 20th century India. Notably, Tagore spoke out against
racial prejudice and espoused the princple respect for all people, regardless of ancestry or
ethnic bacground.
tagore
tagoreis a simple way to visualize features on human chromosome ideograms as shown in this article: https://www.nature.com/articles/srep12376tagorewas designed to allow everyone to create 23andMe style chromosome painting diagrams.Installation
tagoreis a simple Python script that uses the RSVG library and has no other depenendies.Requirements
pipis used)Quick start
The demo data consists of Catalogue of Somatic Mutations in Cancer (COSMIC) Cancer Gene Census genes and 100 randomly simulated mutations. Points represent single nucleotide variants (i.e. variant present in <3 samples); triangles represent single nucleotide polymorphisms (i.e. variants found in many samples); and short lines (single chromosome) represent known INDEL sites.
Usage
The input file is a bed-like format, described below. If an output prefix is not specified, the scripts uses “out” as the default prefix.
Helper scripts for converting RFMix and ADMIXTURE outputs are included in the
scripts/folder.A more complete example of a full chromosome painting using an RFMix output can be seen by running:
Input file description
Each column is explained below:
Etymology
Tagore (/tæˈgɔːr/) was a prolific songwriter, artist, and influential poet of 19th and 20th century India. Notably, Tagore spoke out against racial prejudice and espoused the princple respect for all people, regardless of ancestry or ethnic bacground.