diff --git a/client/src/components/Utilities/GetCoordinates/GetCoordinates.tsx b/client/src/components/Utilities/GetCoordinates/GetCoordinates.tsx index e93dc84..1b6ab81 100644 --- a/client/src/components/Utilities/GetCoordinates/GetCoordinates.tsx +++ b/client/src/components/Utilities/GetCoordinates/GetCoordinates.tsx @@ -30,6 +30,7 @@ import { HelpPopover } from "../../main/shared/HelpPopover/HelpPopover"; import ChromosomeField from "../../main/shared/ChromosomeField/ChromosomeField"; import TranscriptField from "../../main/shared/TranscriptField/TranscriptField"; import LoadingMessage from "../../main/shared/LoadingMessage/LoadingMessage"; +import HelpTooltip from "../../main/shared/HelpTooltip/HelpTooltip"; const GetCoordinates: React.FC = () => { const useStyles = makeStyles(() => ({ @@ -356,19 +357,39 @@ const GetCoordinates: React.FC = () => { {genomicCoordinateInfo} - setStart(event.target.value)} - helperText={start ? startText : ""} - /> - setEnd(event.target.value)} - /> + + The starting genomic position of the transcript segment. + Inter-residue. + + } + > + setStart(event.target.value)} + helperText={start ? startText : ""} + /> + + + The ending genomic position of the transcript segment. + Inter-residue + + } + > + setEnd(event.target.value)} + /> + ); @@ -379,8 +400,8 @@ const GetCoordinates: React.FC = () => { setExonStart(event.target.value)} error={exonStart === "" && exonStartText !== ""} @@ -397,8 +418,8 @@ const GetCoordinates: React.FC = () => { setExonEnd(event.target.value)} error={exonEnd !== "" && exonEndText !== ""} diff --git a/server/src/curfu/routers/utilities.py b/server/src/curfu/routers/utilities.py index ef8fdfa..1120e74 100644 --- a/server/src/curfu/routers/utilities.py +++ b/server/src/curfu/routers/utilities.py @@ -71,8 +71,8 @@ async def get_genome_coords( FUSOR and UTA-associated tools. :param gene: gene symbol/ID on which exons lie :param transcript: transcript accession ID - :param exon_start: starting exon number - :param exon_end: ending exon number + :param exon_start: starting exon number. 1-indexed + :param exon_end: ending exon number. 1-indexed :param exon_start_offset: base offset count from starting exon :param exon_end_offset: base offset count from end exon :return: CoordsUtilsResponse containing relevant data or warnings if unsuccesful