serratus-bio / serratus.io

Front-end code for Serratus project website
https://serratus.io
GNU Affero General Public License v3.0
11 stars 11 forks source link

palmID header and sequence input parameters from URL path #188

Closed ababaian closed 1 year ago

ababaian commented 2 years ago

See: https://github.com/serratus-bio/serratus.io/issues/186

Adds the ?head= and/or ?seq= input from URL for the palmid page. This allows for creating links to pre-formatted palmprint searches by parsing the URL.

Currently not done, the Clear button does not reset the text-box when it is clicked, but it does allow the text to be modified.

Example: https://palmid-url-parameters.serratus.io/palmid?head=NP_062883.2&seq=IEVDFTEFDMNQTLATRDVELEISAALLGLPC--AEDYRALRAGSYCTLRELGSTETGCERTSGEPATLLHNTTVAMCM-AMRMVPKGVRWAGIFQGDDMVI

ababaian commented 2 years ago

:facepalm: this was already implemented in https://github.com/serratus-bio/serratus.io/pull/169