Darwin Help

Back to Index

WriteFasta

Function WriteFasta


Calling Sequence  WriteFasta(seq)
WriteFasta(seq,labs,fname)
Parameters
NameTypeDescription

seq array(string) 
labs array(string) 
fname filename 
Return Type  NULL
Synopsis Writes an array of sequences to a file (default is temp.fasta). If no labes are given, the sequences are numbered according to the order.
Examples
> WriteFasta(['ACCGTA', 'AC_GTA']);
>1
ACCGTA
>2
AC_GTA
See also OpenWriting,   WriteData