Login

|
|
Distinguish Karyotype from regular textModerator: BioTeam
3 posts • Page 1 of 1
Distinguish Karyotype from regular textIn computer-generated reports I produce, I need my software to be able to distinguish between regular text and a karyotype because I need to word-wrap at commas if the text is a karyotype and at spaces if the text is just text.
My current alogorithm isn't 100% reliable, so I need a new one. Any help is appreciated, description in English, pseudo-code, regex (regular expression), or whatever. Thanks, Jon Jacobs
I guess you should first define, what does karyotype look like (I mean in the text, how is it written), what I have actually now idea, so I can't help you. And than it should be quite easy, shouldn't, it?
What kind of text is it? Some plenty sites or just few comments? http://www.biolib.cz/en/main/
Re: Distinguish Karyotype from regular text
Yes, I hoped for a reply from someone who knew the rules for karyotype coding. It can be as simple as 46,XY or very complex with enough text to fill this reply box. I look for commas, paretheses, square brackets. There are always commas, but the others may or may not be present. Although I have seen quite a number of karyotype codes, the rules in general are not readily discernable, although there are strict rules. As it stands now, sometimes ordinary text can contain enough clues to fool my algorithm.
3 posts • Page 1 of 1
Who is onlineUsers browsing this forum: No registered users and 0 guests |
© Biology-Online.org. All Rights Reserved. Register | Login | About Us | Contact Us | Link to Us | Disclaimer & Privacy
Science Network - Braintrack.com - University Directory | Chemicool.com - Chemistry | Logo design by LogoBee | Powered by phpBB