Skip to content

Commit

Permalink
complete the about-query-results modal (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
nleroy917 committed Sep 12, 2023
1 parent 1a082da commit 488542e
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions web/src/components/ResultInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ const ResultInfo: FC<Props> = (props) => {
className="w-10/12 p-2 mt-4 text-sm bg-yellow-400 border-2 border-black rounded-lg shadow-2xl md:w-1/2 -top-0 md:text-base md:top-0"
>
<div className="flex flex-row justify-between mx-1">
<p className="text-xl font-bold">About query results:</p>
<p className="text-2xl font-bold">About query results:</p>
<button
className="hover:cursor-pointer hover:text-gray-700"
className="text-2xl hover:cursor-pointer hover:text-gray-700"
onClick={() => setOpen(false)}
>
Expand All @@ -27,17 +27,20 @@ const ResultInfo: FC<Props> = (props) => {
<div className="p-1 font-normal">
Your optimized query will consider the codon usage bias of one or more
organisms. Below you are given two optimized sequences:
<ul className="my-2">
<ul className="my-2 list-decimal list-inside">
<li>
<span className="ml-2 font-bold">Optimized AD:</span> Your
opimized sequence using the
opimized sequence using the <b>absolute difference</b> difference between the predicted and actual codon frequencies.
</li>
<li>
<span className="ml-2 font-bold">Optimized SD:</span> Your
opimized sequence using the
opimized sequence using the <b>squared error</b> difference between the predicted and actual codon frequencies.
</li>
</ul>
As well, you are given the translated sequence.

If you are unsure which sequence to use, <i>we recommend using the optimized SD sequence</i>. See {' '}
<a className='font-bold text-blue-600 hover:underline' href="https://github.com/nleroy917/optipyzer/issues/56">this issue</a> for more information.
We also give you the translated amino acid sequence of your optimized nucleotide sequence.
</div>
</div>
</div>
Expand Down

1 comment on commit 488542e

@vercel
Copy link

@vercel vercel bot commented on 488542e Sep 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.