write_fingerprint {bioseq.fasta} R Documentation

make the sequence fingerprint data of the given nucleotide sequence

Description

collection, and then write the generated fingerprint data into the target <br /> fingerprint matrix file

Usage

write_fingerprint(file, seqs,
    debug = -1);

Arguments

file

a FingerprintMatrixWriter object that is created by the open.fingerprint_writer api. [as FingerprintMatrixWriter]

seqs

a nucleotide fasta sequence collection for make the sequence fingerprint data, which can be a FastaFile object, a collection of the FastaSeq object, or a character vector of the raw sequence data.

debug

only make the fingerprint data of the first n sequence for debug test? a negative value means that all of the input sequence will be processed. [as integer]

env

the R# runtime environment object. [as Environment]

Details

the fasta headers title of the input sequence data should be formatted as: {gb_acc}.{locus_tag} {left} {right} {strand}|{biom_string}, the strand token should be forward or reverse, or the target sequence will be skipped with a warning message.

Authors

seqtoolkit

Value

the input FingerprintMatrixWriter object, so that this api can be used in a pipeline manner;

this function returns a R# error message object if the input sequence data can not be cast to a fasta sequence collection.

clr value class

Examples


[Package bioseq.fasta version 1.0.0.0 Index]