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

Description Usage Arguments Value Author(s) Examples

View source: R/check_fasta_file_sequence_lengths.R

Description

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

Usage

1
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

1
2
3
4
5
6
7
8
# 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. 18, 2020, 5:07 p.m.