Comments (6)
@sehgalvibhor That sounds like a good approach!
@rachellyne regarding @sehgalvibhor's question above, is a formula along the lines of (some alphanumeric chars):(numeric characters)(..
or -
)(numeric characters) appropriate?
p.s. let me know if I wasn't clear enough there.
from bluegenes.
@yochannah : My thoughts on this is to implement a regex for the 'region-input' to check the string format before dispatching a function to the server otherwise raise a validation alert. Thoughts?
Also, I am not sure about the regex for the input field. Can you help me with this?
from bluegenes.
That will catch any inappropriately formatted regions but will not catch regions that do not return results because, for example, they are out of range for the sequence - but maybe that's ok (These should become obvious from the results.) Also it won't catch anything with a wrong chromosome number? eg Drosophila only has chromosomes 1-4, so 8:xxxx..xxx would still go though as correct?
from bluegenes.
Thanks @rachellyne! out of range / chromosome number checks probably need to be made on the server I think. @julie-sullivan does that sound right? Or do we have the data for valid ranges available via web service somehow?
from bluegenes.
@sehgalvibhor While we're thinking about that second question, I think it's safe to proceed with the formula (some alphanumeric chars):(numeric characters)(.. or -)(numeric characters) - is that enough for you to go on?
Here's an example of a regex being used in bluegenes:
bluegenes/src/clj/bluegenes/ws/ids.clj
Line 18 in 6d76ff2
from bluegenes.
@yochannah : Yes I'll try out on the formula you mentioned. Just to confirm these can be multi-line and tab-spaced right?
Also, is it better if we disable the button dynamically like currently being done for empty search strings etc or wait for the user to press the button?
from bluegenes.
Related Issues (20)
- COnfigure contents of gene list HOT 1
- GI viewer working on test link but not on main site/ bug HOT 6
- Front page "intermine for all" section
- Cannot always select from drop down HOT 1
- Better error message for saving a list with an existing name HOT 1
- Use summaryfields when displaying search results
- enrichment default should be to gene not allele HOT 4
- mine logo has wrong URL HOT 1
- Mine logo URL is hardcoded in nav.cljs rather than given by branding.images.logo HOT 2
- Use webconfig-model.xml headerconfig for report title HOT 4
- Do not use attribute of ref/coll of report page class for title
- Update Google analytics
- Add config var to remove widgets, enrichment and tools from query results page
- More custom tracking events
- Move enrichment panel below query results table
- Viewing interaction tools (various, availability and bugs) HOT 2
- Support React 18 createRoot in index.js HOT 1
- Permanent URL points to backing legacy mine, not Bluegenes. HOT 2
- Hide sections on homepage not working HOT 1
- Problems with list upload
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bluegenes.