Skip to main content

Make an ID for a protein chain

Description

Make an ID for a protein chain

Usage

make_chain_id(sequence, id, start)

Arguments

sequence The protein sequence, as one string; not used.
id The ID of the protein, e.g. “sp|P30443|1A01_HUMAN”.
start Start position of the chain.

Value

id followed by s and start, e.g. “sp|P30443|1A01_HUMANs24”.

See Also

Other FASTA databases: create_decoy_db(), create_fgcz_fasta_db(), load_contaminants(), make_chain_id_uniprot(), make_fasta_summary(), read_fasta(), remove_signal_peptide(), reverse_seq(), write_fasta()

Examples

library("prozor")

make_chain_id("ABCDE", "sp|P30443|1A01_HUMAN", 24)
[1] "sp|P30443|1A01_HUMANs24"