Home

BioGenerics

Abstract formatted input/output type.

source

Abstract data reader type.

See subtypes(AbstractReader) for all available data readers.

source

Abstract data writer type.

See subtypes(AbstractWriter) for all available data writers.

source
BioGenerics.IO.streamFunction.
stream(io::AbstractFormattedIO)

Return the underlying IO object; subtypes of AbstractFormattedIO must implement this method.

source
tryread!(reader::AbstractReader, output)

Try to read the next element into output from reader.

If the result could not be read, then nothing will be returned instead.

source
MissingFieldException <: Exception

An exception type thrown when a missing field of a record is accessed.

source
intempdir(fn::Function, parent = tempdir())

Execute some function fn in a temporary directory. After the function is executed, the directory is cleaned by doing the equivalent of rm -r.

source
random_aa(n, probs = [0.24, 0.24, 0.24, 0.24, 0.04])

Create a random amino acid sequence of length n, by sampling the possible amino acid characters.

source
random_array(n::Integer, elements, probs)

Create a random array of length n, composed of possible elements, which are selected according to their prob.

source
random_dna(n, probs = [0.24, 0.24, 0.24, 0.24, 0.04])

Create a random DNA sequence of length n, by sampling the nucleotides A, C, G, T, and N, according to their probability in probs.

source
random_interval(minstart, maxstop)

Create a random interval between a minimum starting point, and a maximum stop point.

source
random_rna(n, probs = [0.24, 0.24, 0.24, 0.24, 0.04])

Create a random RNA sequence of length n, by sampling the nucleotides A, C, G, U, and N, according to their probability in probs.

source
random_seq(n::Integer, nts, probs)

Create a random sequence of length n, composed of nts, according to their prob.

source