Darwin Help

Back to Index

Input/Output

Input/output is done in Darwin through function calls.

The open commands cause no immediate input/output, they are expected to be followed by read or write commands.

The open commands accept the name 'terminal', meaning the standard interactive input and output (stdin/stdout) of Darwin.

File input/output

dprintprint a general expression so that it can be read back
lprintprint a general expression
OpenAppendingall future output will be appended to file
OpenPipeall future ReadRawLine commands will read from pipe
OpenReadingall future ReadRawLine commands will read from file
OpenWritingall future output will go to file
printpretty print expressions
printfprint according to format
ReadRawFileread an entire file as a string
ReadRawLineread a line as a string

Darwin commands input/output

OpenPipeall future ReadLine commands will read from pipe
OpenReadingall future ReadLine commands will read from file
ReadLibraryread a file/function from the darwin library
ReadLinereads a darwin command in a single line
ReadOffsetLinereads a darwin command from a file (offseted)
ReadProgramread an entire file of darwin commands

Databases input/output

Protein/Nucleotide:ReadDb
 ReadBrk
 ReadDomain
 ReadDssp
 ReadFasta
 ReadMap
 ReadMsa
 ReadPima
 ReadPir
 WriteDomainDB
 WriteFasta
Grid files:AddGrid
 CloseGrid
 CompressGrid
 CreateGrid
 FlushGrid
 GetNextGrid
 MapGrid
 OpenGrid
 QueryGrid
 UncompressGrid
NDBM:StoreKey
 FindKey

Plotting output

plotoutput
DrawGraph
DrawHistogram
DrawDistribution
DrawDotplot
SmoothData
DrawStackedBar
ViewPlot
StartOverlayPlot
StopOverlayPlot
GetColorMap
DrawTree
DrawTCount
DrawBisectTree
DrawUnrootedTree
DrawSimPam

System commands

CallSystem
TimedCallSystem
date
time
rtime