Learn R Programming

netmhc2pan (version 1.3.2)

check_fasta_file_sequence_lengths: Check the lengths of the sequences in a FASTA file

Description

Check if the lengths of the sequences in a FASTA file are at least equal to the desired peptide lengths.

Usage

check_fasta_file_sequence_lengths(fasta_filename, peptide_length)

Value

Nothing.

Arguments

fasta_filename

the name of a FASTA file with protein sequences

peptide_length

length of a peptide

Author

Richèl J.C. Bilderbeek

Examples

Run this code
# FASTA file in which all proteons have a length of at keast 13
fasta_filename <- system.file(
  "extdata", "example.fasta", package = "netmhc2pan"
)
check_fasta_file_sequence_lengths(
  fasta_filename = fasta_filename,
  peptide_length = 13
)

Run the code above in your browser using DataLab