Skip to content

Commit f8b0cc4

Browse files
committed
add description to compatibility method
1 parent c77aae8 commit f8b0cc4

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

ui/src/components/bed-splash-components/refgenome-modal.tsx

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,21 @@ export const RefGenomeModal = (props: Props) => {
2525
<Modal.Body>
2626
<p className='text-sm'>
2727
<strong>Note:</strong> Below is a ranking of the compatibility various reference genomes to this BED file (rank 1 is best).
28+
The ranking is based on the following metrics:
2829
</p>
30+
<ul className='text-sm'>
31+
<li><strong>XS</strong> (eXtra Sequences): the proportion of shared regions in both the query BED file and reference genome over the total number of regions in the query BED file [recall]</li>
32+
<li><strong>OOBR</strong> (Out Of Bounds Regions): The proportion of shared regions from the query BED file that do not exceed the bounds of the corresponding shared region in the reference genome</li>
33+
<li><strong>Sequence Fit</strong>: the proportion of shared regions in both the query BED file and reference genome over the total number of regions in the reference genome [precision]</li>
34+
</ul>
2935

3036
<div className='row mb-1'>
3137
<div className='col-12'>
3238
<div className='d-flex align-items-center gap-2 px-3 fw-medium text-sm'>
3339
<p className='mb-1' style={{width: '33%'}}>Genome</p>
34-
<p className='mb-1 mx-2' style={{width: '14%'}}>xs</p>
35-
<p className='mb-1 mx-2' style={{width: '14%'}}>oobr</p>
36-
<p className='mb-1 mx-2' style={{width: '14%'}}>sequence fit</p>
40+
<p className='mb-1 mx-2' style={{width: '14%'}}>XS</p>
41+
<p className='mb-1 mx-2' style={{width: '14%'}}>OOBR</p>
42+
<p className='mb-1 mx-2' style={{width: '14%'}}>Sequence Fit</p>
3743
<p className='mb-1 ms-auto'>Rank</p>
3844
</div>
3945
</div>
@@ -43,7 +49,7 @@ export const RefGenomeModal = (props: Props) => {
4349
.map(genome => (
4450
<div
4551
className='card mb-2 shadow-sm genome-card'
46-
style={{backgroundColor: (genome.tier_ranking == 1 ? '#C8EFB3' : (genome.tier_ranking == 2 ? '#FFF7BA' : (genome.tier_ranking == 3 ? '#F9D39D' : '#FCB6B6'))) }}
52+
style={{backgroundColor: (genome.tier_ranking == 1 ? '#C8EFB3A0' : (genome.tier_ranking == 2 ? '#FFF7BAA0' : (genome.tier_ranking == 3 ? '#F9D39DA0' : '#FCB6B6A0'))) }}
4753
key={genome.compared_genome}
4854
>
4955
<div className='card-body'>

0 commit comments

Comments
 (0)