 
 <a href="/temp/#d.batch_name#/#d.batch_name#.sbt">/temp/#d.batch_name#/#d.batch_name#.sbt</a>
 
-<cfset srchdr="Sequence_ID#chr(9)#Collected_by#chr(9)#Collection_date#chr(9)#Country#chr(9)#Lat_Lon#chr(9)#Specimen_voucher#chr(9)#Host#chr(9)#Dev_stage#chr(9)#Sex#chr(9)#Tissue_type">
-
-
+<cfset tmp="Sequence_ID#chr(9)#Collected_by#chr(9)#Collection_date#chr(9)#Country#chr(9)#Lat_Lon#chr(9)#Specimen_voucher#chr(9)#Host#chr(9)#Dev_stage#chr(9)#Sex#chr(9)#Tissue_type">
+<cfset tmp_sq="">
+<cfset lnum=1>
 <cfloop query="s">
 	<!--- god-query - this stuff gets loaned etc.--->
 	<cfquery name="sd" datasource="uam_god">

			collection_object_id=#collection_object_id#
	</cfquery>

	<cfset tmp_sq=">#sequence_identifier# [organism=#sd.scientific_name#]#chr(10)##sequence_data#">

	<p>
	#tmp_sq#
</p>
	<cffile action="write" mode="777" file="#dir#/#sequence_identifier#.fsa" output="#tmp_sq#" addnewline="false">
	<br><a href="/temp/#d.batch_name#/#sequence_identifier#.fsa">/temp/#d.batch_name#/#sequence_identifier#.fsa</a>

	<cfset host="">
	<cfloop list="#sd.RELATEDCATALOGEDITEMS#" index="i" delimiters=";">

	<!--- IDK if anyone will have this but we should --->
	<cfset tmp=tmp & chr(9) & "">




</cfloop>

	<cffile action="write" mode="777" file="#dir#/#d.batch_name#.fsa" output="#tmp_sq#" addnewline="false">
	<cffile action="write" mode="777" file="#dir#/#batch_name#.src" output="#tmp#" addnewline="false">



	<br><a href="/temp/#d.batch_name#/#sequence_identifier#.fsa">/temp/#d.batch_name#/#sequence_identifier#.fsa</a>

<a href="/temp/#d.batch_name#/#sequence_identifier#.src">/temp/#d.batch_name#/#d.batch_name#.src</a>


	<p>
