[MOBY-guts] biomoby commit

Paul Gordon gordonp at dev.open-bio.org
Wed Jan 30 00:03:26 UTC 2008


gordonp
Tue Jan 29 19:03:26 EST 2008
Update of /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/services/resources
In directory dev.open-bio.org:/tmp/cvs-serv10820/src/main/ca/ucalgary/services/resources

Modified Files:
	mobyRules.xsl 
Log Message:
Support for EMBOSS 'sequence' type
moby-live/Java/src/main/ca/ucalgary/services/resources mobyRules.xsl,1.3,1.4
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/services/resources/mobyRules.xsl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/services/resources/mobyRules.xsl	2007/12/17 21:53:14	1.3
+++ /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/services/resources/mobyRules.xsl	2008/01/30 00:03:26	1.4
@@ -57,6 +57,9 @@
       <xsl:when test="$selectedACDTypeTarget = 'seqall'">
 	<xsl:apply-templates select="*" mode="seqall"/>
       </xsl:when>
+      <xsl:when test="$selectedACDTypeTarget = 'sequence'">
+	<xsl:apply-templates select="*" mode="sequence"/>
+      </xsl:when>
       <xsl:when test="$selectedACDTypeTarget = 'nucleotide-sequence'">
 	<xsl:apply-templates select="*" mode="nucleotide-sequence"/>
       </xsl:when>
@@ -81,6 +84,10 @@
     <xsl:apply-templates select="moby:GenericSequence | GenericSequence" mode="seqall"/>
   </xsl:template>
 
+  <xsl:template match="moby:GenericSequence | GenericSequence" name="GenericSequence.2" mode="sequence">
+    <xsl:apply-templates select="." mode="seqall"/>
+  </xsl:template>
+
   <!-- Turn any sequence into a FastA -->
   <!-- The name of the template is "MobyDataType#uniqueid", so we can parse this
        easily, rather than try to figure out what the arbitrarily complex match attribute 




More information about the MOBY-guts mailing list