consecutive_distinct_seq: Get the longest consecutive stretch of distinct sequence

consecutive_distinct_seqR Documentation

Get the longest consecutive stretch of distinct sequence

Description

Use case: Have a consensus sequence calculated from a set of DNA or AA sequences. Then get the longest consecutive stretch of distinct sequence from the consensus.

Usage

consecutive_distinct_seq(seq, seq_type = NULL)

Arguments

seq

Sequence as character, DNAStringSet, DNAString, RNAStringSet, RNAString, AAStringSet or AAString

seq_type

set sequence type to AA or NT if necessary; if NULL it is attempted to guess the type

Value

a character sequence


Close-your-eyes/igsc documentation built on Jan. 28, 2024, 10:28 p.m.