ns.write.fasta: Write fasta file

Description Usage Arguments Details Value Note Author(s) References Examples

Description

Write a fasta file and put the read sequences in a vector.

Usage

1
ns.write.fasta(ffile,seqs)

Arguments

ffile

The name of the file to write

seqs

A character vector containing the sequences to write. The element names will be written as fasta comments.

Details

If the elements have names these will be written as fasta comments. If the vector does not contain names the fasta comment will be set to sequence\_%d, where %d is the array index

Value

The function returns the result of the write.

Note

No error checking is done currently so basically anything will be written but the result might be garbage.

Author(s)

Wim de Leeuw (w.c.deLeeuw@uva.nl)

References

Examples

1
2
3
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

UvA-MAD/SeqLibR documentation built on May 9, 2019, 9:40 p.m.