FastaSequence {rPDBapi} | R Documentation |
This function constructs a FASTA sequence data structure from given parameters. It is typically used to format and store FASTA sequence information.
FastaSequence(entity_id, chains, sequence, fasta_header)
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. |
A list representing the FASTA sequence, including entity ID, chains, the sequence itself, and the FASTA header.
fasta_data <- FastaSequence("1XYZ", c("A", "B"), "MVLSPADKT", "header_info")