All Downloads are FREE. Search and download functionalities are using the official Maven repository.

db.migration.v0.15.0.3__agr_curation_api.sql Maven / Gradle / Ivy

There is a newer version: v0.35.0
Show newest version
UPDATE diseaseannotation
	SET uniqueid = CONCAT(uniqueid, '|true')
	WHERE negated = True AND uniqueid LIKE 'FB%'; 
	
UPDATE diseaseannotation
	SET uniqueid = CONCAT(uniqueid, '|false')
	WHERE negated = False AND uniqueid LIKE 'FB%'; 
	
UPDATE diseaseannotation 
	SET uniqueid = CONCAT(uniqueid, '|', vocabularyterm.name)
	FROM vocabularyterm
	WHERE diseaseannotation.diseasegeneticmodifierrelation_id = vocabularyterm.id AND uniqueid LIKE 'FB%';
	
UPDATE diseaseannotation
	SET uniqueid = CONCAT(uniqueid, '|', diseasegeneticmodifier_curie)
	WHERE diseasegeneticmodifier_curie IS NOT NULL AND uniqueid LIKE 'FB%';




© 2015 - 2024 Weber Informatics LLC | Privacy Policy