FastaSequence {rPDBapi}R Documentation

Create a FASTA Sequence Data Structure

Description

This function constructs a FASTA sequence data structure from given parameters. It is typically used to format and store FASTA sequence information.

Usage

FastaSequence(entity_id, chains, sequence, fasta_header)

Arguments

entity_id

A string representing the entity ID of the sequence.

chains

A character vector of chain identifiers associated with the sequence.

sequence

A string representing the nucleotide or amino acid sequence.

fasta_header

A string representing the header of the FASTA sequence.

Value

A list representing the FASTA sequence, including entity ID, chains, the sequence itself, and the FASTA header.

Examples

fasta_data <- FastaSequence("1XYZ", c("A", "B"), "MVLSPADKT", "header_info")

[Package rPDBapi version 1.3 Index]