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 @T:SMRUCC.genomics.SequenceModel.FASTA.FastaSeq

loci

the location region data for make cut of the sequence site, data model could be:

  1. for nucleotide sequence, NucleotideLocation should be used,

  2. 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 @F:SMRUCC.genomics.ComponentModel.Loci.Strands.Reverse. [as boolean]

env

[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

  • any kind

Examples


[Package bioseq.fasta version 1.0.0.0 Index]