Opened 10 years ago

Closed 7 years ago

#1396 closed enhancement (fixed)

new columns for taxonomy_use table

Reported by: Melanie Schori Owned by: dbmuqs
Priority: major Milestone:
Component: Curator Tool Version: N/A
Severity: Keywords: crop wild relative, taxonomy
Cc: Database Engine: N/A
Operating System: N/A

Description

To accommodate the crop wild relative (CWR) crop breeding data of the Harlan & de Wet CWR database, we need to add 3 fields to the table taxonomy_use:
field name data type nullable
breeding_usage nvarchar yes
trait_class nvarchar yes
ontology_trait_identifier nvarchar yes

These fields must be added before we can import associated data, including references.

Attachments (1)

20160412-CWR_Breeding_data_Updated_Steven_Justin.xlsx​ (1.2 MB ) - added by Melanie Schori 9 years ago.
Harlan & de Wet data

Download all attachments as: .zip

Change History (5)

comment:1 by Melanie Schori, 9 years ago

Owner: changed from Melanie Schori to dbmuqs
Status: new → assigned

by Melanie Schori, 9 years ago

Harlan & de Wet data

comment:2 by Melanie Schori, 9 years ago

Field name: breeding_usage. Data type: nvarchar. Nullable: yes.
Field name: trait_class. Data type: nvarchar. Nullable: yes.
Field name: ontology_trait_identifier. Data type: nvarchar. Nullable: yes.

There are 433 breeding usage types. A lookup picker might be appropriate (a dropdown list would be unwieldy).

There are 7 trait_class types, so they could easily be code values.

Ontology trait identifier will be an alpha-numeric value (e.g., CO_320:0000060). Values will not be unique and can be variable in length.

comment:3 by Melanie Schori, 9 years ago

The 433 breeding usage types don't need a lookup picker. They will be entered in bulk from Excel. Suggested code values for the trait_class types:
ABIO (ABIOTIC STRESS)
AGRO (AGRONOMIC TRAIT)
BIOT (BIOTIC STRESS)
FERT (FERTILITY TRAIT)
MORP (MORPHOLOGICAL TRAIT)
PHEN (PHENOLOGICAL TRAIT)
QUAL (QUALITY TRAIT)

While two-letter code values are possible, I'm more likely to remember a four-letter code for SQL web queries.

comment:4 by Melanie Schori, 7 years ago

Resolution: → fixed
Status: assigned → closed

Addressed in ticket 1602 ​https://www.ars-grin.gov/trac/GG/ticket/1602

New table created to store data

Note: See TracTickets for help on using tickets.