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

View source: R/check_fasta_file_sequence_lengths.R

check_fasta_file_sequence_lengthsR Documentation

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)

Arguments

fasta_filename

the name of a FASTA file with protein sequences

peptide_length

length of a peptide

Value

Nothing.

Author(s)

Richèl J.C. Bilderbeek

Examples

# 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
)

netmhc2pan documentation built on Nov. 9, 2023, 1:08 a.m.