Closed Don-Isdale closed 3 months ago
[moved content to comment 1 : Jun10]
[moved content to comment 1 : Jun10]
[moved content to comment 1 : Jun10]
To prompt a variety of ideas on visualising the genotype & haplotype data, these pages and papers have diagrams with different views. These are mostly beyond the immediate requirements, but as always the approach is to look as far forward as possible, to provide a linear and staged process to those long-term goals.
figure 5 Haplotype structure across 12 wheat varieties obtained from The 10 + Wheat Genome Project Muqaddasi et al 2020 Prospects of GWAS and predictive breeding for European winter wheat’s grain protein content, grain starch content, and grain hardness
WhatsHap User Guide
IGV : Integrative Genomics Viewer
Integrative Genomics Viewer (IGV): high-performance genomics data visualization and exploration paper - Semantic Scholar
IGV Default Display
IGV multilocus view in Pretzel : fairly easy to implement multiple selected regions ("brushes") per axis.
Sequence tube maps
SNiPlay :
Various
MoMI-G: modular multi-scale integrated genome graph browser paper github
A Detailed View of KIR Haplotype Structures and Gene Families as Provided by a New Motif-Based Multiple Sequence Alignment paper
Genotyping common, large structural variations in 5,202 genomes using pangenomes, the Giraffe mapper, and the vg toolkit paper
A Detailed View of KIR Haplotype Structures and Gene Families as Provided by a New Motif-Based Multiple Sequence Alignment paper
Natural Genetic Diversity in Tomato Flavor Genes paper
HaploSWEEP : Haplotype-based genotyping designed for polyploid species github
inPHAP: Interactive visualization of genotype and phased haplotype data github
2022Sep06
Comments with open items :
:construction: 2022Jun17 (Don-Isdale)
2022Aug01
MVP
[x] [/0.5H] vcfGenotypeLookup : increase height of textarea. 130c68e9
[x] [/3H] move vcfGenotypeLookup to added Genotypes tab. 8ec6922d, 66d3f8aa
[x] [/5H] show results in table 4ebd8b2e : vcfGenotypeLookup : show result in features table
From comment 2
:construction:
2022Jun17
related : #47
[x] re-try column heading rotate. 1d505a4e : genotype table : rotate column headers to vertical, noted in #324
[x] [2-3H/3H] add replace checkbox to remove previous results from feature table. added button : be95f036,
[x] [2-3H/10H] retain samples & selected samples when changing between tabs (e.g. feature table & genotype tab) retain samples & selected samples when changing between tabs. 0d5cb0ee genotype table : filter features when re-displaying. 95ca3678
show list of vcf data blocks in brushed axes, with checkboxes to select which are requested (default true)
pass samples via array
option off block long name from column header (col_name_fn)
pass ._meta.vcfFilename - optional, default is datasetId.id
From comment 3, Jun17
MVP screenshots
Illustration of completion of items in MVP comment above
From comment 4, Aug01
2022Aug01
Aug29 - Sep02
vcf lookup :
genotype table :
vcf lookup :
genotype table :
Sep05
from meeting 2022Aug11
to show aligment of axes with genotype table : generate a dynamic 'view' dataset+block which is parallel to the genotype table (matrix-view) horizontal position at right edge, abutting the table
row hover can also highlight in axis tracks - split axis.
possible genotype table actions :
[x] [/7H] A/B comparison is set up so far is to select A and all others become B - i.e. they are expressed relative to A (difference) instead : keep it anchored relative to the genome sequence, so ACGT rather than A/B but maybe it colours it instead keeps the nucleotide but the colours indicate different/same 5175cb46 : colour relative to selected sample column - indicate different/same
check feature a
maybe server selector
? genotype table : add chromosome column ?
limit on samples, or POST, because CORS "missing allow-origin" (related POST in #216 : 09f6fb8a)
preserve samples of block, e.g. Map and status selected:boolean of sample
button 'Show combined results'
vcf blocks list : if no brush, use selected or selected dataBlocks
from meeting 2022Sep06 :
[ ] 1. [8H] merge when match position (option) merge feature name with comma if different names at equal position. pass displayDataRows and columnNames to matrix-view which can then use displayDataRows directly instead of converting in dataByRow() use position as row index (sparse array) column index : continue to use datasetId + block scope/name + sampleName cell attributes may be single or an array : string value, feature Symbol reference where value is an array, use feature block colour to indicate the block of each part merging columns (same sample name) probably not needed atm, add to the arrays.
[x] [/1H] drop dataset name in left column 42f7624e. genotype table : abbreviate dataset name in left column
[x] [/3H] load remainder of chr vcf for the 2 vcf.
[x] [/2H] block colour column (when overlaps) a62e7984. genotype table : add block colour column.
[x] showing differerence from reference genome : standard colours : 0 : orange, 2 : blue, 1 : white [/8H] add colouring by copy#, used in ABRenderer dependiing on column selection, support select all features and clearing column selection, etc. e9df33e8 [/2H] connect mouse click to selectBlock for genotype table, handle more cases in cell colour. 7d348208, 4c9908c8 [/0.5H] genotype table : reduce x/y or x|y copy# %GT differently to CATG %TGT. 0cd58b28
[x] [/2.5H] bcftools options : request extra columns : ref/alt vcf lookup : request extra columns : ref/alt from bcftools, and display them in genotype table. e043ccac
2022Sep09
[x] thin white gap between Alt column and sample columns [/3H] genotype table : add a white border between Alt and first sample column. e22720a9
[ ] sample column headings : omit dataset name
[x] performance of dataset explorer when many datasets caused by dataset with 1000s of traits - removed. worked on using progressive rendering of long lists in explorer and View : Trait & Ontology (@html-next/vertical-collection, ember-in-viewport) - can use those later as lists get larger.
2022Sep12
[ ] 2. [/2H] when in the 012 view, it would make sense to also colour the ref/alt on the left side with the 2 colours used for the rest of the genotypes
[x] [/2H] use class-based rule for table cell colours. e3fc9b8d, 0435f4ba
[x] [/1H] vcf lookup : fix condition for closing dialog. 606227f9
[x] [/0.5H] display features from VCF lookup in axis tracks. 88438cdc