From 1d68f8177072d5810ad07d4c7069504b04f19e78 Mon Sep 17 00:00:00 2001 From: tjc <tjc@ee4ac58c-ac51-4696-9907-e4b3aa274f04> Date: Thu, 23 Aug 2007 12:11:28 +0000 Subject: [PATCH] add phase to getResiduesByUniqueName git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@6321 ee4ac58c-ac51-4696-9907-e4b3aa274f04 --- artemis_sqlmap/Feature.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/artemis_sqlmap/Feature.xml b/artemis_sqlmap/Feature.xml index 615449e13..0df913fbd 100644 --- a/artemis_sqlmap/Feature.xml +++ b/artemis_sqlmap/Feature.xml @@ -81,6 +81,7 @@ <result property="featureLoc.fmin" column="fmin" nullValue="-1"/> <result property="featureLoc.fmax" column="fmax" nullValue="0"/> <result property="featureLoc.strand" column="strand" nullValue="0" /> + <result property="featureLoc.phase" column="phase" nullValue="0" /> </resultMap> <resultMap id="map-similaritymatch" class="Feature" @@ -352,7 +353,7 @@ <select id="getResiduesByUniqueName" parameterClass="java.lang.String" resultMap="map-feature-residues"> SELECT substr(residues, fl.fmin+1, fl.fmax-fl.fmin) AS residues, - seqlen AS seqLen, fl.fmin, fl.fmax, fl.strand + seqlen AS seqLen, fl.fmin, fl.fmax, fl.strand, fl.phase FROM featureloc fl LEFT JOIN feature f ON fl.srcfeature_id=f.feature_id WHERE fl.feature_id=(SELECT feature_id FROM feature WHERE uniquename=#value#); -- GitLab