Opened 10 years ago
Last modified 10 years ago
#1370 new enhancement
Pedigree links for NSGC not ported to GG
| Reported by: | dbmuqs | Owned by: | dbmulg |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.10.2 |
| Component: | Public Website App. | Version: | N/A |
| Severity: | Keywords: | ||
| Cc: | Database Engine: | N/A | |
| Operating System: | N/A |
Description
In GC for NSGC accessions the pedigree was parsed by the display program and links were created for the members of the pedigree e.g.
Jefferson sibMaybelle/Rosemont
At least the Maybelle and Rosemont links would have been clickable with the query being sent the taxonomy and the cultivar name.
Note:
See TracTickets
for help on using tickets.

Quinn found the GC Perl Code that put links into NSGC pedigrees. It’s a complicated set of regular expressions replacing certain patterns with a link to a program called grin-acid.pl which would find accessions based on PI or CI numbers or the plant name and taxonomy.
For what it’s worth, here’s the code:
&ora_fetch($pd2_csr))
# Ends with sib
s/(\w+)([\s\-\.\']){0,1}(\w+)([\s\-\.\']){0,1}(\w+){0,1}([\/\(\)\=\*]{0,2})/
s/(\w+)([\s\-\.\']){0,1}(\w+)([\s\-\.\']){0,1}(\w+){0,1}([\/\(\)\=\*]{0,2})/
Kurt