[MOBY-guts] biomoby commit

Paul Gordon gordonp at dev.open-bio.org
Mon Dec 17 21:53:14 UTC 2007


gordonp
Mon Dec 17 16:53:14 EST 2007
Update of /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/services/resources
In directory dev.open-bio.org:/tmp/cvs-serv7037/src/main/ca/ucalgary/services/resources

Modified Files:
	mobyRules.xsl 
Log Message:
Added rule for collections of sequenmes to turn them into a Multi-Fastya
moby-live/Java/src/main/ca/ucalgary/services/resources mobyRules.xsl,1.2,1.3
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/services/resources/mobyRules.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/services/resources/mobyRules.xsl	2007/04/18 15:28:07	1.2
+++ /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/services/resources/mobyRules.xsl	2007/12/17 21:53:14	1.3
@@ -76,6 +76,11 @@
     <xsl:value-of select="*[@articleName='SequenceString'] | *[@moby:articleName='SequenceString']"/>
   </xsl:template>
 
+  <xsl:template match="moby:Collection/moby:Simple[./moby:GenericSequence] | Collection/Simple[./GenericSequence]" 
+                 name="Collection-GenericSequence.1" mode="seqall">
+    <xsl:apply-templates select="moby:GenericSequence | GenericSequence" 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