| cut_seq.linear {bioseq.fasta} |
R Documentation |
cut part of the sequence
Description
Usage
cut_seq.linear(seq, loci,
nt.auto.reverse = FALSE);
Arguments
seq
the target sequence data source, which can be a single FastaSeq object, a collection of the FastaSeq object, or a character vector of the raw sequence data.
loci
the location region data for make cut of the sequence site, data model could be:
- for nucleotide sequence, NucleotideLocation should be used,
- for general sequence data, Location should be used.
nt.auto.reverse
make auto reverse of the nucleotide sequence if the given location is on the Strands.Reverse direction. [as boolean]
env
the R# runtime environment object. [as Environment]
Details
Authors
seqtoolkit
Value
a new FastaSeq object of the cut sequence fragment if the input is a single sequence object, or a FastaFile object of the cut sequence fragments of each input sequence if the input is a sequence collection;
this function returns a R# error message object if the given location information is nothing, or 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]